Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
16
Help us understand the problem. What is going on with this article?

More than 5 years have passed since last update.

@kwoo@github

raspberry pi + 無線LANアダプタでWPA接続

raspberry pi + 無線LANアダプタでWEP接続

raspberry pi + 無線LANアダプタでWPA接続

ルーターがWPA接続の場合は、上記にあるようなiwconfigではだめで、wpa_passphraseを使う必要がある。以下、設定手順。

su -
wpa_passphrase SSID KEY > /etc/wpa_supplicant/wpa_supplicant.conf

次に以下のコマンドを使い、wpa_supplicant/wpa_supplicant.confに「proto=WPA WPA2」と「key_mgmt=WPA-PSK」と「pairwise=CCMP TKIP」を追加する。

nano /etc/wpa_supplicant/wpa_supplicant.conf
(内容は省略)

次にnano /etc/network/interfacesから設定を一部変更する。

#iface wlan0 inet manual
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

と変更して、ネットワーク関連のデーモンを再起動

/etc/init.d/networking restart

最後にスーパーユーザから抜ける
exit


使用した無線LANアダプタ:WLI-UC-GNM2
使用したOS:2013-02-09-wheezy-raspbian
使用したRPi:Raspberry Pi Model B
DebianでのWPA接続設定については
http://www.miuxmiu.com/archives/2011/06/10/linux_ubuntu_debian_wpa_wireless_lan_settings_command.html
を参考に致しました。

16
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
16
Help us understand the problem. What is going on with this article?