arm开发板配置ip连接公网
首先找到陆工申请一个ip并绑定mac地址
编辑/etc/resolv.conf
nameserver 114.114.114.114
编辑/etc/init.d/rcS文件 末尾添加
ifconfig lo 127.0.0.1
ifconfig eth0 192.168.1.6 netmask 255.255.255.0 up
ifconfig eth0:0 172.16.0.119 netmask 255.255.0.0 up
route add default gw 172.16.0.1
ok