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

RaspberryPi4 ネットワーク編

ネットワーク関係

SSH有効化

sudo raspi-config
5 -> P2 SSH -> <yes>

Wifi接続

GUIで初期設定した。
平打PWは怖いので、暗号化したpskを生成して/etc/wpa_supplicant/wpa_supplicant.confに追記

$ sudo wpa_passphrase [SSID] [PASS]
network={
    ssid="[SSID]"
    #psk="[PASS]"
    psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
}

最終的なwpa_supplicant.confは以下。

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=JP

network={
        ssid="[SSID]"
        psk="[暗号化したPASS]"
        key_mgmt=WPA-PSK
}

固定IP

/etc/dhcpcd.conf に以下を追記

interface wlan0
static ip_address=192.168.1.xx
static routers=192.168.1.1
static domain_name_servers=8.8.8.8
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
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  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
ユーザーは見つかりませんでした