CENTOS7 Cable and wireless switching mode when WiFi is set up during system installation

Source: Internet
Author: User

The CENTOS7 minimum version is installed on the Y470 notebook. WiFi has been opened during the installation, the system is installed, wired and wireless connection can be used, switching network to perform the use of "ifdown corresponding network card name " or "ifup corresponding network card name" these two commands.

Use the NMCLI command to view the status of each NIC. Know that the wireless card has been driven, and has been incorporated into the NetworkManager management. nmcli Dev Status

DEVICE TYPE State CONNECTION
WLP8S0 WiFi Connected IWONCLOUD1/Note: IWONCLOUD1 is the name of my WiFi

If the wireless card is not included in NetworkManager management, you can install "Networkmanager-wifi", as follows.

1. Set NetworkManager auto start chkconfig networkmanager on

2. Installation of Networkmanager-wifi yum-y install Networkmanager-wifi

Restart CentOS after running this command. After entering the system, turn on the NetworkManager and set the WiFi so that you can connect to WiFi.

Once the above steps have been completed, if WiFi is still not turned on, or you cannot automatically connect WiFi after startup, you can open WiFi: nmcli R wifi on//open wifi nmcli dev WiFi/scan available WiFi NMCLI Dev WiFi connect password/wifi connection

As to how to switch to the installation of the designated WiFi account other than the network, I am stupid, tried several online solutions have not succeeded, finally had to install a graphical interface on the notebook. Yum groupinstall–y "GNOME Desktop"

Finally start the graphical interface, you can do a fool-type WiFi account switching and settings. StartX

I downloaded the Centos7 file is Centos-7-x86_64-minimal-1511.iso, if you know how to use the pure command line to switch WiFi, you might as well tell me Oh (879675643@ qq.com), can also comment below, not very grateful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.