开发环境, eth0 开发板相连, wlan0 公司内网,需要网关上网
# vim /etc/network/interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
gateway 192.168.0.10
auto wlan0
iface wlan0 inet dhcp
gateway 10.21.35.254
# sudo /etc/init.d/networking restart
588

被折叠的 条评论
为什么被折叠?



