码迷,mamicode.com
首页 > 其他好文 > 详细

sama5d3 xplained 文件系统配置IP,系统复位后IP丢失[已解决]

时间:2015-02-13 16:16:56      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:

[相关信息]
当前加载的文件系统是 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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!