首页 > 技术文章 > [IOT] - Raspbian Buster 设置固定 IP

jinzesudawei 2019-07-22 00:18 原文

背景

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

推荐阅读