nano /etc/dhcpcd.conf
interface eth0 static ip_address=192.168.1.122/24 static routers=192.168.1.1 static domain_name_servers=8.8.8.8 114.114.114.114
博客园 © 2004-2026 浙公网安备 33010602011771号 浙ICP备2021040463号-3