QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 965|回复: 2

痛苦啊:64位gentoo下adsl不能连到互联网

[复制链接]
发表于 2005-10-4 01:48:44 | 显示全部楼层 |阅读模式
athlon64 cpu、via k8m800主板、via rhine网卡、asus adsl modem,在windows下面一切正常,在64 位gentoo下面却不能连上互联网。netstat -nr 显示:
Kernel IP routing table
Destination     Gateway         Genmask        Flags  MSS Window  irtt Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0         0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0
adsl-start可以显示拨号成功,此时netstat-nr显示:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
218.15.14.1     0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0


ifconfig显示为:
eth0      Link encap:Ethernet  HWaddr 00:04:61:92:FB:16  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::204:61ff:fe92:fb16/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:136 errors:0 dropped:0 overruns:0 frame:0
          TX packets:139 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9194 (8.9 Kb)  TX bytes:8916 (8.7 Kb)
          Interrupt:23 Base address:0x6000

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ppp0      Link encapoint-to-Point Protocol  
          inet addr:218.15.29.182  P-t-P:218.15.14.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:3 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:30 (30.0 b)  TX bytes:30 (30.0 b)

/etc/conf.d/net设为:
config_eth0="192.168.1.2 netmask 255.255.255.0"
routes_eth0="default gw 192.168.1.1"


/etc/resolve.conf已经将当地的dns加进去了,但随便ping一个网址或者ip,总是说from 192.168.1.1.DESTINATION unreachable。
上网也搜索了一些论坛,但就是不能解决,
现在痛苦死了,各位大侠帮帮忙吧。
发表于 2005-10-4 02:28:30 | 显示全部楼层
这个跟是不是64位没有关系吧?

ADSL根本不需要设置conf.d/net,把里面的全部注释掉都可以,当然开机的时候eth0也不需要up.
一般说adsl,是自动获得DNS信息了,你也不用自己去修改resolve.conf,除非你在win下也需要手动设置DNS

所以,你先搞清楚你WIN下ADSL的配置情况,LINUX下也是一样配置的,这个跟操作系统无关的吧.
回复

使用道具 举报

 楼主| 发表于 2005-10-4 12:07:56 | 显示全部楼层
ok,我试一试。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-2 03:31 , Processed in 0.042615 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表