In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the configuration method of CentOS-6.4 wireless Internet command line". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn the "CentOS-6.4 wireless Internet command line configuration method"!
The ssid of the WIFI to be connected is "thm", the password is 12345678, and the authentication method is WPA2-PSK.
1. Check whether the wireless network card driver is installed
1 xxx#iwconfig if you print the wireless network card information of wlan0 (or other names), it indicates that the wireless network card driver has been installed, otherwise you must install the wireless network card driver before you can continue.
two。 Configuration / etc/sysconfig/network-scripts/ifcfg-wlan0
My profile is as follows:
1 DEVICE=wlan0
2 HWADDR=9C:4E:36:9A:64:10
3 TYPE=Wireless
4 UUID=f017bd9c-eebf-46fc-823c-7f76cc8d5abf
5 ONBOOT=no
6 NM_CONTROLLED=yes
7 BOOTPROTO=dhcp
8 ESSID= "thm" 3. Installation tool wpa_supplicant
1 xxx#yum install wpa_supplicant4. Configure / etc/wpa_supplicant/wpa_supplicant.conf, write the relevant ssid and the corresponding password
1 xxx#wpa_passphrase thm 12345678 > > / etc/wpa_supplicant/wpa_supplicant.conf my configuration file is as follows:
1 ctrl_interface=/var/run/wpa_supplicant
2 ctrl_interface_group=wheel
three
4 network= {
5 ssid= "thm"
6 # psk= "12345678"
7 psk=eabb3e1572789c41a1600051b1235e03c0787c88fc527f6597cd29cb5a7078225. Running the wpa_supplicant process in the background
1 xxx#wpa_supplicant-B-Dwext-iwlan0-c / etc/wpa_supplicant/wpa_supplicant.conf6. Search the wireless network
1 xxx#iwlist wlan0 scan | grep ESSID7. Connect to the wireless network
1 xxx#iwconfig wlan0 essid "thm" 8. Get ip by dhcp
1 xxx#dhclient wlan09. Test whether the network is connected
1 xxx#ping www.baidu.com
At this point, I believe that everyone on the "CentOS-6.4 wireless Internet command line configuration method" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.