Methods of cent7 and win7 dual system installation disk with u. Found that there is no link wireless card icon, then Baidu, the wireless wifi link below to find the
Transfer from http://www.linuxidc.com/Linux/2015-07/119555.htm
1. The change to the superuser
[Oscar @localhost Desktop] $ su root
2. Query wireless network card available, which is a red card No.
[Oscar@localhost 桌面]$ iw dev
phy#0
Interface wlp2s0
ifindex 3
wdev 0x1
addr a4:db:30:84:4b:1c
type managed
Note that , if successful network connection, it should be like this below, ssid is a broadcast channel name, which is your wireless network signal Yeah, broadcast channel is the last
[root@localhost 桌面]# iw dev
phy#0
Interface wlp2s0
ifindex 3
wdev 0x1
addr a4:db:30:84:4b:1c
ssid liylr
type managed
channel 11 (2462 MHz), width: 40 MHz, center1: 2452 MHz
3. Enable Wireless Card
[root@localhost Oscar]# ip link set wlp2s0 up
4. See wireless LAN connection
[Oscar @localhost Desktop] $ IW wlp2s0 Link
Not Connected. (Indicates no connection)
5. Check all the available wireless network signal
[root@localhost 桌面]# iw wlp2s0 scan | grep SSID
SSID: USER-20150101NS_Network_2
SSID: Tenda_17BEF8
SSID: PC-20140723DBVC_Network_1
SSID: 123
SSID: Tenda_0A6410
SSID: xiaohui
SSID: Tenda_51E4F0
SSID: Nobody Can
SSID: TP-LINK_3C479
SSID: FUCK YOU
SSID: Tenda_046260
SSID: Tenda_188E80
SSID: liylr
SSID: XIAORUAN
6.连接无线网
[root@localhost 桌面]# wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase "liylr" "useradmin")
Successfully initialized wpa_supplicant
Note: where liylr want to connect to the wifi signal, useradmin for the wireless network password, the reader can be replaced.
7. assigned IP address (network operated by the control card dhclient acquired IP)
[Root @ localhost Desktop] # dhclient wlp2s0
8. Review the wireless network card address information, there is ip address represents the network connection is successful, you can surf the Internet slightly
[root@localhost 桌面]# ip addr show wlp2s03: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether a4:db:30:84:4b:1c brd ff:ff:ff:ff:ff:ff
inet 192.168.1.101/24 brd 192.168.1.255 scope global dynamic wlp2s0
valid_lft 7195sec preferred_lft 7195sec
inet6 fe80::a6db:30ff:fe84:4b1c/64 scope link
valid_lft forever preferred_lft forever
su identification error Solution: sudo su
Reproduced in: https: //my.oschina.net/boogoogle/blog/546112