分类: 嵌入式
2012-08-15 19:22:44
ifconfig eth0 172.19.72.89 netmask 255.255.255.0 up //配置IP地址
ifconfig eth0 up | down //激活,关闭设备eth0
route add default gw 172.19.72.1 //配置默认网关
暂时配置dns解析
echo "nameserver 61.128.128.68">> /etc/resolv.conf