Raspberry Pi dhcp 無線LAN設定

メモ程度に

[code lang=text] root@raspberrypi:~# cat /etc/network/interfaces auto lo

iface lo inet loopback iface eth0 inet dhcp

akkiw-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp [/code]

[code lang=text] root@raspberrypi:~# cat /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 ap_scan=0

network={ ssid="xxx無線のssid" proto=WPA2 key_mgmt=WPA-PSK psk="xxxパスワードxxx" } [/code]