CentOS-6.4 using 360wifi Wireless Internet configuration method

Source: Internet
Author: User

CentOS-6.4 using 360wifi Wireless Internet configuration method

Install drivers based on this website.

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

The SSID of the WiFi to be connected is "tHM", the password is 12345678, the authentication method is WPA2-PSK

I. Check whether the wireless card driver is installed

1 [[Email protected] ~] #iwconfig若打印wlan0 (or other name) of the wireless network card information, the wireless network card driver has been installed, or you must first install the wireless card driver can continue.

Two. Configure/etc/sysconfig/network-scripts/ifcfg-wlan0

The contents of my configuration file are:

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 [[Email protected] ~] #yum Install Wpa_supplicant

Four. Configure/etc/wpa_supplicant/wpa_supplicant.conf, write the relevant SSID and the corresponding password

1 [[Email protected] ~] #wpa_passphrase thm 12345678 >>/etc/wpa_supplicant/wpa_supplicant.conf The contents of my configuration file are:

1 ctrl_interface=/var/run/wpa_supplicant

2 Ctrl_interface_group=wheel

3

4 network={

5 ssid= "tHM"

6 #psk = "12345678"

7 psk=eabb3e1572789c41a1600051b1235e03c0787c88fc527f6597cd29cb5a707822

Five. Running the wpa_supplicant process in the background

1 [[Email protected] ~] #wpa_supplicant-B-dwext-iwlan0-c/etc/wpa_supplicant/wpa_supplicant.conf

Six. Search for a wireless network

1 [[Email protected] ~] #iwlist wlan0 Scan | grep ESSID

Seven. Connect to a wireless network

1 [[Email protected] ~] #iwconfig wlan0 Essid "tHM"

Eight. DHCP Get IP

1 [[Email protected] ~] #dhclient wlan0

Nine. Test network connectivity,

1 [[Email protected] ~] #ping www.baidu.com


==================================================================

Use a fixed IP to configure the command without writing the IP in the configuration file

[[Email protected] ~] #ifconfig ra0 192.168.1.2 netmask 255.255.255.0

[[Email protected] ~] #route Add default GW 192.168.1.253


CentOS-6.4 using 360wifi Wireless Internet configuration method

Related Article

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.