CentOS System notebook Wireless card connection WiFi note

Source: Internet
Author: User


Thanks to the laptop connected to the router, so toss it up for a while, I'll go no matter how it's configured well anyway
There are a few problems here. A small count, from the beginning

First hardware to ensure the switch to open the infinite network card, such as my is the FN+F3 key

Then perform the following:
Iwconfig Wlan0 Txpower on

The first is to ensure that there is a NIC driver

[Email protected] ~]# Iwconfig
Lo no wireless extensions.

Eth0 no wireless extensions.

Wlan0 IEEE 802.11bgn ESSID: "LiebaoFree979"
mode:managed frequency:2.437 GHz Access point:08:57:00:61:cd:e4
Bit rate=1 MB/s tx-power=20 dBm
RTS Thr:off Fragment Thr:off
Encryption Key:off
Power Management:off


Link quality=70/70 Signal level=-31 dBm
Rx Invalid nwid:0  Rx Invalid crypt:0 Rx Invalid frag:0
Tx Excessive retries:0   Invalid misc:0 Missed beacon:0

Sit0 no wireless extensions.


The top is there, if all is no wireless ... This sign, I want to tragedy, I have to install the driver alone, fortunately, my top is not, hey
There is a driver, the next is to configure the problem.






First set up a configuration file as follows
[Email protected] ~]# more/etc/network/wlan0_conf
Ctrl_interface=/etc/network/wpa_supplicant
Ctrl_interface_group=wheel
Update_config=0
network={
Ssid= "LiebaoFree979"
Proto=wpa
Key_mgmt=wpa-psk
psk= "Sb123123"
}

Where PSK is the password, SSID is the name of my WiFi


Execute the following command
[Email protected] ~]# wpa_supplicant-d-dwext-iwlan0-c/etc/network/wlan0_conf

Next, we'll run a whole bunch of information.


[[email protected] ~]# Ping www.baidu.com
Connect:network is unreachable
[Email protected] ~]# service network restart
Shutting down interface wlan0: [OK]
Close Loopback interface: [OK]
Eject loopback interface: [OK]
Popup interface eth0:
Determining IP information for eth0 ... Failed; no link. Check the cable?
Failed
[Email protected] ~]# ifup wlan0

Determining IP information for wlan0 ... Complete.
[[email protected] ~]# Ping www.baidu.com
PING www.a.shifen.com (61.135.169.125) bytes of data.
Bytes from 61.135.169.125:icmp_seq=1 ttl=57 time=11.8 ms
Bytes from 61.135.169.125:icmp_seq=9 ttl=57 time=4.91 ms
Bytes from 61.135.169.125:icmp_seq=10 ttl=57 time=218 ms
Bytes from 61.135.169.125:icmp_seq=11 ttl=57 time=5.03 ms

---www.a.shifen.com ping statistics---
Packets transmitted, 4 received, 63% packet loss, time 10000ms
RTT Min/avg/max/mdev = 4.914/60.022/218.329/91.441 ms

See here is basically OK pull, haha, habitual look at the IP, as follows Wlan0

[Email protected] ~]# ifconfig
Lo Link encap:local Loopback
inet addr:127.0.0.1 mask:255.0.0.0
Inet6 addr::: 1/128 scope:host
Up LOOPBACK RUNNING mtu:16436 metric:1
RX packets:2065 errors:0 dropped:0 overruns:0 frame:0
TX packets:2065 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2564655 (2.4 MiB) TX bytes:2564655 (2.4 MiB)

Wlan0 Link encap:ethernet HWaddr ec:55:f9:7a:bc:7f
inet addr:20.20.0.111 bcast:20.20.255.255 mask:255.255.0.0
Inet6 ADDR:FE80::EE55:F9FF:FE7A:BC7F/64 Scope:link
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:6628 errors:0 dropped:0 overruns:0 frame:0
TX packets:6917 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5493110 (5.2 MiB) TX bytes:1017924 (994.0 KiB)



Well, in the middle of the configuration, the network attributes of the wrong, the start prompt network is unreanable, there is a hint of the net error 132 and so on
Well, basically the whole toss-up process is so, I hope to help the classmate and I use the Notebook ~ ~ ~







CentOS System notebook Wireless card connection WiFi note

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.