0
0

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.

Wifi接続の際、Raspberry Pi 3 Model Bに固定IPアドレスを設定する

Posted at

参考にしたサイト

手順

  • /etc/dhcpcd.confを開く
$ sudo nano /etc/dhcpcd.conf

-開いた画面の一番下に下記のように任意の固定IPアドレスを記入

interface wlan0
static ip_address=192.XXX.XX.XX/24
static routers=192.XXX.XX.X
static domain_name_servers=192.XXX.XX.X

ip_address 設定したいIPアドレス
routers ルータのIPアドレス
domain_name_server ルーターのDNSアドレス

-ターミナルを閉じてRaspberry Piを再起動

$ sudo reboot
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?