cd /etc/network
sudo vim interfaces
1 auto lo
2 iface lo inet loopback
3
4
5 #auto dsl-provider
6 #iface dsl-provider inet ppp
7 #pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
8 #provider dsl-provider
9
10 #auto eth0
11 iface eth0 inet static
12 address 192.168.200.78
13 netmask 255.255.255.0
14 gateway 192.168.200.254
15 auto eth0
sudo vim /etc/resolv.conf
1 # Generated by NetworkManager
2 nameserver 202.117.128.2
阅读(383) | 评论(0) | 转发(0) |