IMPORTANT: Documentation for Red Hat Enterprise Linux
Log in as root (not sudo):
Turn wifi on
nmcli radio wifi onList available access points(AP) to connect to
nmcli device wifi listCreate a new connection to a password protected AP
nmcli device wifi connect <SSID|BSSID> password <password>yum groupinstall 'X Window System'yum install epel-release -yyum groupinstall 'Xfce'systemctl set-default graphical.targetReboot
IMPORTANT:
systemctl set-default graphical.target systemctl set-default multiuser-targetHow to accommodate another OS in the GRUB2 config file:
# yum install os-prober2. Then reconfigure the grub config file:
# grub2-mkconfig -o /boot/grub2/grub.cfgor# update-grubThere are several ways to configure networking: NetworkManager, network script, sysconfig/ifcfg files and the CLI. They can be used in parallel.
Please check very important documentation at Red Hat documentation
systemctl start|stop|restart|status NetworkManagersystemctl start|stop|restart|status network /etc/init.d/networkFirst we are going to configure your CentOS system to automatically start the NetworkManager on startup. You can do this by running:
chkconfig NetworkManager on or systemctl enable NetworkManager
Then we are going to start it so we can use it right away without needing to reboot:
service NetworkManager start or systemctl start NetworkManager
If you have done that in your graphical environment (Gnome), your Notification Area (usually in the Gnome panel on the top-right) will show a new icon. If you left-click on this icon, you will see a list of possible Wireless networks to connect to.
You may also want to disable the network and wpa_supplicant services at boot time, as NetworkManager will now handle these. For this, simply do:
chkconfig network off or systemctl disable network
chkconfig wpa_supplicant off or systemctl disable wpa_supplicant
# yum install pciutilspress 'c' when in grub menu
> vbeinfo edit /etc/default/grub and add these two lines:
GRUB_GFXMODE=1366x768x32*GRUB_GFXPAYLOAD_LINUX=1366x768x32**use resolution shown with vbeinfo
# grub2-mkconfig -o /boot/grub/grub.cfgreboot