我用的Distribution是SUSE,昨天上網發現無線網絡突然掃描不了,在命令行下輸入iwconfig wlan0
得到的結果為:
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
這個信息說明任何無線都無法被掃描到。
查了很多資料都不知道是什麼原因。
輸入命令/etc/init.d/network restart
得到的結果為:
Shutting down network interfaces:
eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B
No configuration found for eth0
Nevertheless the interface will be shut down. done
wlan0 device: Atheros Communications Inc. AR9485 Wireless N done
Shutting down service network . . . . . . . . . done
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B
No configuration found for eth0 unused
wlan0 device: Atheros Communications Inc. AR9485 Wireless N
wlan0 warning: using NO encryption
wlan0 Starting DHCP4+DHCP6 client. . . . . . . .
wlan0 DHCP4 continues in background
wlan0 DHCP6 continues in background waiting
Setting up service network . . . . . . . . . . done
SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
SuSEfirewall2: using default zone 'ext' for interface eth0
SuSEfirewall2: batch committing...
SuSEfirewall2: Firewall rules successfully set
注意,上面的信息中有一個異常:wlan0 DHCP6 continues in background waiting
進到圖形界面的“網絡設置”中的“全局選項”,如下圖所示:
發現圖中的“啟用IPv6”選項被勾起來了。把該選項前面的勾去掉,無線網絡恢復可以為正常掃描。
問題解決!
更多SUSE相關信息見SUSE 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=3