Fedora 17/Linux下如何通过命令行连上加密的无线路(2)

9. 断开连接
[root@ ~]# iw wlan0 disconnect
[root@ ~]# iw wlan0 link
Not connected.
[root@ ~]# ifconfig wlan0
wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.168.139  netmask 255.255.255.0  broadcast 192.168.168.255
        inet6 fe80::62d8:19ff:fecc:7484  prefixlen 64  scopeid 0x20<link>
        ether 60:d8:19:cc:74:84  txqueuelen 1000  (Ethernet)
        RX packets 14214  bytes 13620419 (12.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 13375  bytes 2424481 (2.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@ ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.168.139 icmp_seq=10 Destination Host Unreachable
From 192.168.168.139 icmp_seq=11 Destination Host Unreachable
From 192.168.168.139 icmp_seq=12 Destination Host Unreachable
From 192.168.168.139 icmp_seq=13 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
14 packets transmitted, 0 received, +4 errors, 100% packet loss, time 13001ms
pipe 4
[root@ ~]#

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/21253.html