|
|
如果不设置eth0的ip后,播号后就可以上网,可设置eth0后
每次拨号后都要route -n看下,
root: ~ $ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
61.143.191.30 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.88.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.88.254 0.0.0.0 UG 0 0 0 eth0
root: ~ $ route add default gw 61.143.191.30
每次都要跟着上面的地址添加才可以上网?有什么简单点的办法吗?
每次都要这样麻烦死了 |
|