#/etc/init.d/networking start
#/etc/init.d/networking stop
#/etc/init.d/network-manager stop
#/etc/init.d/network-manager start
#/etc/init.d/network-manager restart
# ifconfig eth0 up
# echo “iface eth0 inet dhcp” >>/etc/network/interfaces
# ifconfig eth0 up
ifconfig eth0 192.168.1.100
ifconfig eth0 netmask 255.255.255.0
ifconfig eth0 broadcast 192.168.1.255
route add default gw 192.168.1.1 eth0
echo “nameserver 8.8.8.8\n nameserver 8.8.4.4″ >>/etc/resolv.conf
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |