準備
$ wpa_passphrase [SSID] [PASSWORD]
で暗号化したPSKを調べる
[/etc/wpa_supplicant/wpa_supplicant.conf]
以下を追加
network={
ssid="[SSID]"
scan_ssid=1
key_mgmt=WPA-PSK
proto=WPA2
pairwise=CCMP
group=CCMP
psk=[wpa_passphraseで調べたpsk]
}
[/etc/network/interfaces]
以下を追加
allow-hotplug wlan0
iface wlan0 inet static
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
metric 0
address 192.168.0.xx
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.1
0 件のコメント:
コメントを投稿