7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RaspberryPi (Raspbian)のWiFiをセットアップする

Last updated at Posted at 2014-04-21

Raspberry PiにRaspbianがインストールされた状態で、WiFiに接続する手順を解説します。RaspbianはRS Deliversで販売されているRaspberry Pi typeB with SD Cardに含まれるNOOBSからインストールしました。

環境

必要なもの

手順

ログインする

インターフェースの設定

/etc/network/interfaces
# loop back
auto lo
iface lo inet loopback

# eth0はDHCPから取得
iface eth0 inet dhcp

# wlan設定 (WiFi)
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet dhcp

WPAの設定

/etc/wpa_supplicant/wpa_supplicant.conf
network={
  ssid="YOUR_SSID"
  psk="PRE_SHARED_KEY"
  proto=RSN WPA
  key_mgmt=WPA-PSK
  pairwise=TKIP CCMP
  group=TKIP CCMP
}
7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?