在树莓上
irukeru@raspberrypi ~ $sudo iwconfig wlan0 mode managed
irukeru@raspberrypi ~ $sudo iwconfig wlan0 channel 11
irukeru@raspberrypi ~ $sudo iwconfig wlan0 essid linksys
irukeru@raspberrypi ~ $sudo iwconfig wlan0 key xxxxxxx
Error for wireless request "Set Encode" (8B2A) :
invalid argument "xxxxxxx".
我也试过
irukeru@raspberrypi ~ $sudo iwconfig wlan0 key s:xxxxxxx
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
我是否需要编写我的密钥的bash代码?