|
|
大家看看.我这样配置了.为什么还是不能上网呢?
首先,配置网卡,#netconfig
ip是192.168.0.5
netmask是255.255.255.0
gateway没设置
dns:202.106.46.151
(dns是我向北京网通打电话索要到的,绝对可靠)
接着是配置ADSL猫: #adsl-setup
之后一切顺利,配置后他也说Conratulations, it should be all set up!
可是我#ifup ppp0之后,总是ping不通,如:#ping www.google.com,
提示错误(ping: unknown host www.google.com)
然后#adsl-status查看状态又出来一个提示 Note: you have enabled demand-connection; adsl-status may be inaccurate. adsl-setup: Link is down
--could not find interface corresponding to pppd pid 3098.)
运行#netstat -nr 结果:
Destination Gateway Genmask Flags Mss Window irtt iface
192.168.0.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
请各位高手一定要帮帮我啊!我已经郁闷好几天了.怎么都上不了网啊.我家是ADSL上网,双系统,
windows下没问题,可linux为什么不行? |
|