17
20

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-13

今回はWLI-UC-GNM2を利用しました。
とりあえずDHCPで。

/etc/network/interfaces の編集

sudo nano /etc/network/interfaces

下記2行を編集

/etc/network/interfaces
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

/etc/network/interfaces
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

接続確認

アクセスポイントのスキャン

sudo iwlist wlan0 scan | grep ESSID

アクセスポイントに接続テスト

sudo iwconfig wlan0 essid 接続先のSSID key s:接続先のキー

確認

iwconfig wlan0 | grep ESSID

wlan0 IEEE 802.11bgn ESSID:"接続先のSSID"

接続情報生成

sudo su -
wpa_passphrase "接続先のSSID" "接続先のキー" >> /etc/wpa_supplicant/wpa_supplicant.conf

ステルスAPの場合

生成した接続情報に「scan_ssid=1」追加する。

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
/etc/wpa_supplicant/wpa_supplicant.conf
network={
	ssid="essid"
	#psk="password"
	psk=6b7a04357a1882e7dad358f1ec8f5e8440fbb21e1cc49a3f11e75776bded686d
	scan_ssid=1
}

再起動

sudo reboot
17
20
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
17
20

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?