Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

CentOS-6.4 uses 360wifi wireless WPA2 to verify the Internet configuration method.

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Wireless Internet configuration method for CentOS-6.4 using 360wifi

Install the driver according to this website

Http://blog.csdn.net/kendyhj9999/article/details/39181743

The ssid of the WIFI to be connected is "thm", the password is 12345678, and the authentication method is WPA2-PSK.

one。 Check whether the wireless network card driver is installed

1 [root@localhost ~] # 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"

three。 Installation tool wpa_supplicant

1 [root@localhost ~] # yum install wpa_supplicant

four。 Configure / etc/wpa_supplicant/wpa_supplicant.conf, write the relevant ssid and the corresponding password

1 [root@localhost ~] # wpa_passphrase thm 12345678 > > / etc/wpa_supplicant/wpa_supplicant.conf

/ / Import SSID and password into the configuration file

My profile 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=eabb3e1572789c41a1600051b1235e03c0787c88fc527f6597cd29cb5a707822

five。 Running the wpa_supplicant process in the background

1 [root@localhost] # wpa_supplicant-B-Dwext-iwlan0-c / etc/wpa_supplicant/wpa_supplicant.conf

six。 Search the wireless network

1 [root@localhost ~] # iwlist wlan0 scan | grep ESSID

seven。 Connect to the wireless network

1 [root@localhost ~] # iwconfig wlan0 essid "thm"

eight。 Get ip by dhcp

1 [root@localhost ~] # dhclient wlan0

nine。 Test whether the network is connected

1 [root@localhost ~] # ping www.baidu.com

=

Using fixed IP uses command configuration without having to write IP in the configuration file

[root@localhost ~] # ifconfig ra0 192.168.1.2 netmask 255.255.255.0

[root@localhost ~] # route add default gw 192.168.1.253

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.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report