[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