[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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM