标签:main out 设置 static conf etc reboot log blog
1、首先登录树莓派:
sudo nano /etc/dhcpd.conf
2、在dhcpcd.conf后添加一下:
interface eth0 static ip_address = 210.26.96.127 static routers = 210.26.96.1 static domain_name_servers = 202.201.48.1 202.201.48.2
3、保存后重启树莓派
sudo reboot
标签:main out 设置 static conf etc reboot log blog
原文地址:http://www.cnblogs.com/fateiceb/p/6010192.html