标签:
[相关信息]
当前加载的文件系统是 Poky (Yocto Project Reference Distro) 1.5.1
[解决方案]
vi /etc/network/interfaces
修改iface eth0 inet dhcp 一行为
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.81
netmask 255.255.255.0
gateway 192.168.1.1
重启系统 reboot后生效
[问题描述]
使用如下配置后,可以立即生效,但系统reboot之后,配置丢失
ifconfig eth0 192.168.1.81 netmask 255.255.255.0
ifconfig eth0 up
sama5d3 xplained 文件系统配置IP,系统复位后IP丢失[已解决]
标签:
原文地址:http://www.cnblogs.com/aqing1987/p/4290319.html