SSIDのスキャン
iwlist wlan0 scanning
パスワードから PSK パラメーターを得る 方法
$ wpa_passphrase my_ssid my_passwod
network={
ssid="my_ssid"
#psk="my_password"
psk=e53bb7df43156b8a6ad5d3ea5bb4078fada2531e2d5d5208c3bc1a17c3278220
}
/etc/network/interfaces の追加内容
auto wlan0 iface wlan0 inet static address 172.21.161.233 netmask 255.255.240.0 gateway 172.21.160.254 dns-nameservers 172.21.160.254 8.8.8.8 wpa-conf /etc/network/Tiny-Melon.wlan
wpa-conf の指定先ファイルの中身
network={
ssid="Tiny-Melon"
#psk="xxxxxxxxx"
psk=ad6521481069702cf1995e4496d119e7a3a688ef618f462703957c166d1c3719
key_mgmt=WPA-PSK
proto=RSN
pairwise=TKIP
group=TKIP
}
proto= は RSN or WPA
pairwise,group は CCMP or TKIP
当然、アクセスポイントの設定と不一致なら Ping が通らない
service networking restart
ネットワークマネージャーを導入し直す必要があるかもしれない
apt-get remove -y network-manager apt-get install -y network-manager-gnome sync sync sync reboot