Help us understand the problem. What is going on with this article?

初期状態のRaspberryPi の ネットワークを Mac でセットアップする

More than 3 years have passed since last update.

1. Mac と RaspberryPI を有線接続する

2. arp -a コマンドでRaspberryPI を探す

$ arp -a
raspberrypi.local (169.254.48.22) at (incomplete) on en0 [ethernet]
...

3. SSHで接続

ssh pi@169.254.48.22
password: raspberry

4. Wifiセットアップ

# SSIDスキャン
sudo iwlist wlan0 scan

          Cell 02 - Address: AC:**:**:**:**:CC
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=64/70  Signal level=-46 dBm  
                    Encryption key:on
                    ESSID:"見つかったSSID"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 50ms ago
                    IE: Unknown: 0006526967687473
                    ...

5. WLAN接続設定

/etc/wpa_supplicant/wpa_supplicant.conf
network={
    ssid="上で調べたSSID"
    psk="WiFiのパスワード"
}

7. NIC再起動

sudo ifdown wlan0
sudo ifup wlan0
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