In life, the Internet is everywhere. We can play games, watch TV series, and browse Weibo through the Internet. Without the Internet, our mobile phones and computers may become useless objects. Due to the high security of the Linux system, the network devices in the system need to be configured before they can be interconnected with the external network. So how do we connect our computers to WiFi? Let’s take a look! 1. Check the routing device route -n Note: Generally, the first route we search using route -n is the default gateway. We need to delete it and then reset it. 2. Delete the route-br0 file 3. Delete or comment out the gateway information vim ifcfg-br0 Note: If you use the vim ifcfg-br0 command to view, there is Gateway, which we need to delete or comment out. 4. Set the network information in the configuration file Note: Comment or delete the gateway information in the /etc/sysconfig/network file. 5. Restart the network systemctl restart network ##Choose one of the two to reboot 6. Connect to the Internet nm-connection-editor ##Open the network connection device After the above steps, the virtual machine can connect to WiFi. If WiFi cannot be connected, we can check it through the ls /etc/sysconfig/network-scripts command. If there is ifcfg-Wired_connection_1, you need to delete this file and then restart the network. mv ifcfg-Wired_connection_1 / The above is a detailed introduction of how to connect a Linux virtual machine to WiFi. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Installation and configuration of MySQL 5.7.17 free installation version
>>: Detailed example of sharedWorker in JavaScript to achieve multi-page communication
1. To optimize the query, try to avoid full table...
Remax is an open source framework developed by An...
Preface This is an old demand, but there are stil...
Without further ado, I will post the code for you...
YSlow is a page scoring plug-in developed by Yaho...
Table of contents 1. mixin.scss 2. Single file us...
Practice is the only way to test the truth. This ...
Table of contents 2. Detailed explanation 2.1. Ad...
Ubuntu16.04 install and uninstall pip Experimenta...
mysql batch delete large amounts of data Assume t...
This article example shares the specific code for...
The CSS3 category menu effects are as follows: HT...
A simple Linux guessing game source code Game rul...
1. Preparation before installation: 1.1 Install J...
I encountered mysql ERROR 1045 and spent a long t...