|
新安装RED HAT 9 ,使用系统设置->网络 进行网络配置,自动获得IP和静态设定IP都试过,激活以后无法正常连接网络.
又尝试安装rq-pppoe-3.5后使用adsl-setup设置,完成后adsl-start. 可以连接, adsl-status显示:
[root@localhost root]# adsl-status
Note: You have enabled demand-connection; adsl-status may be inaccurate.
adsl-status: Link is up and running on interface ppp0
ppp0 Link encap oint-to-Point Protocol
inet addr:61.172.33.161 P-t-P:222.69.232.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:246 (246.0 b) TX bytes:54 (54.0 b)
但却无法连接网络,只能ping通222.69,232.1 .但无法访问internet .(我是上海电信ADSL用户,每次连接都连接上面这个IP地址.)并已删除/etc/sysconfig/network 中 GATEWAY= 这一行(本来就没这一行^_^).
参考论坛中的另外一个贴子,将自动获得IP修改静态设定IP地址,手工设定IP地址为196.254.83.183,子网掩码为:255.255.0.0 ,还是无法连接.
我的网卡eth1的属性为
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
ADSL MODEN为中兴ZXDSL831,地址为默认192.168.1.1
现使用不用拨号软件的方法能够正常上网, 方法如下: http://developer.ccidnet.com/pub/disp/Article?columnID=738&articleID=44354&pageNO=1
看到论坛FAQ和精华贴中也有类似问题未解决.望各位能帮忙解决拨号上网问题,谢谢!
另请教,这两种上网方式有什么区别? |
|