- [email protected]:/ # ifconfig eth0 192.168.0.173 netmask 255.255.255.0
- ifconfig eth0 192.168.0.173 netmask 255.255.255.0
设置网关 Gateway
[email protected]:/ # route add default gw 192.168.0.1 dev eth0
添加 dns
- [email protected]:/ # setprop.NET.eth0.dns1 8.8.8.8
- [email protected]:/ # setprop.NET.eth0.dns2 8.8.4.4
来源: http://www.bubuko.com/infodetail-3303100.html