错误: 临时设置开发板的ip地址命令如下:
ifconfig eth0 192.168.1.100
重启开发板后,ip地址恢复为默认值原因: 开发板需要设置静态ip
处理方法:
1、查找相应目录
ls /etc/network/

2、编辑interfaces
vi /etc/network/interfaces

iface eth0 inet dhcp更改成iface eth0 inet static
3、更改后保存退出

4、sync
5、验证
ifconfig