[IOT] - Raspbian Buster 设置固定 IP

背景

Raspberry Pi 4 + Raspbian Buster

配置步骤

1. 打开文件 "/etc/dhcpcd.conf" 进行配置。

2. 有线网卡配置固定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. 无线网卡配置固定IP

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

预览

参考资料

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

猜你喜欢

转载自www.cnblogs.com/jinzesudawei/p/11223527.html