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
2
Help us understand the problem. What is going on with this article?
@raoakakaaakaua

raspberry pi zeroでusb wifiを使う設定

More than 3 years have passed since last update.

raspberry pi zeroでwifiを使う
忘れないために書く簡単な設定

使用部品

raspberry pi zero v1.3
buffalo WLI-UC-GNM2

1.
lsusb
USBを認識してるか確認
ifconfig
USBの名前を確認

今回wlan0と認識してた。

2.
ファイルを書き換えるか追加
nano /etc/network/interfaces

ipアドレスを固定にしたいのでstaticとする。

auto wlan0
allow-hotplug wlan0
iface wlan0 inet static

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

address 192.168.000.000
netmask 255.255.255.0
gateway 192.168.000.000

3.
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
接続したいwifiのSSIDやパスワードを書く

nano /etc/wpa_supplicant/wpa_supplicant.conf

network={
         ssid="hoge"
         proto=WPA2
         key_mgmt=WPA-PSK
         psk="hoge"
        }

これで最後に再起動

2
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
raoakakaaakaua
主にraspberry pi を扱ってます。消費電力的にもarduinoに移りたいところだったりする。

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
2
Help us understand the problem. What is going on with this article?