[IOT] - Raspbian Buster set a fixed IP

background

Raspberry Pi 4 + Raspbian Buster

Configuration Steps

1. Open the file "/etc/dhcpcd.conf" configuration.

2. wired LAN fixed IP

interface eth0
static ip_address=192.168.0.110
static routers=192.168.0.1
static domain_name_servers=192.168.0.1

3. Configure the wireless network card a fixed IP

interface wlan0
static ip_address=192.168.0.110
static routers=192.168.0.1
static domain_name_servers=192.168.0.1

Preview

Reference material

https://www.raspberrypi.org/forums/posting.php?mode=quote&f=36&p=1499911

Guess you like

Origin www.cnblogs.com/jinzesudawei/p/11223527.html