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

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

RaspberryPi(Raspbian)のWiFiドングル設定メモ

More than 5 years have passed since last update.

今回は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
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