sudo ifconfig wlan up
iwconfig可以查看
iwlist wlan0 scanning
sudo iwconfig wlan0 essid SSID名稱
sudo ifwconfig wlan0 key WEP密碼
dhclient wlan0
寫入/etc/network/interfaces
WEP:
auto wlan0
iface wlan0 inet dhcp
wireless-essid SSIDname
wireless-key KEYinHEX
or
wireless-key s:KEYinASCII
WPA-PSK
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid SSIDname
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk KEYinHEX*
*. 可使用 wpa_passphrase SSIDname Key 取得編碼過的 Key
WPA2-PSK
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid SSIDname
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk KEYinHEX*
*. 可使用 wpa_passphrase SSIDname Key 取得編碼過的 Key
請問wlan0是要自己寫一個檔案嗎?
回覆刪除不好意思打擾了