LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 912|回复: 9

新安的GENTOO上不了网。

[复制链接]
发表于 2008-6-27 22:03:41 | 显示全部楼层 |阅读模式
把broadcom的网卡安好了,连接没问题。DHCPCD得到IP,ping自己没问题。极偶尔在重启后得到新IP能连上校园网主页,可不到一分钟就再也连不上了。被折磨多日。新安好的系统连net-setup都找不到。我用的是2008beta2。 PS:为了打中文,用手机跑到校内上发日志,再贴到贵处。因为我不会在liveCD上打中文。最于发了个中文贴。让各位大虾看个明白。
发表于 2008-6-27 22:29:23 | 显示全部楼层
好复杂啊,上不了网有很多情况,还有你的网络环境也得说明白啊,大家怎么会知道你是怎么连上internet的?
回复 支持 反对

使用道具 举报

发表于 2008-6-27 22:40:34 | 显示全部楼层
对啊,至少先来个:
ifconfig -a
lspci
dmesg
等等
回复 支持 反对

使用道具 举报

发表于 2008-6-27 22:43:46 | 显示全部楼层
对了,我用学校的 dns ,上网经常不正常的,也许你也该改改 dns 试试:
  1. $ cat /etc/resolv.conf
  2. nameserver 208.67.220.220
  3. nameserver 208.67.222.222
复制代码
要在 dhcpcd 后改
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-27 22:47:20 | 显示全部楼层
Post by 夕角;1868390
对啊,至少先来个:
ifconfig -a
lspci
dmesg
等等


lspci:::

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-27 22:48:17 | 显示全部楼层
Post by 夕角;1868391
对了,我用学校的 dns ,上网经常不正常的,也许你也该改改 dns 试试:

  1. $ cat /etc/resolv.conf
  2. nameserver 208.67.220.220
  3. nameserver 208.67.222.222
复制代码

要在 dhcpcd 后改


but I use our campus DNS well under LiveCD.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-27 22:49:57 | 显示全部楼层
Post by 夕角;1868390
对啊,至少先来个:
ifconfig -a
lspci
dmesg
等等


This is under LiveCD.

livecd / # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:15:C5:79:0A:71  
          inet addr:222.29.33.26  Bcast:222.29.33.255  Mask:255.255.255.0
          inet6 addr: 2001:da8:201:1333:215:c5ff:fe79:a71/64 Scope:Global
          inet6 addr: fe80::215:c5ff:fe79:a71/64 Scopeink
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:120459 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32214 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:56294932 (53.6 Mb)  TX bytes:4189049 (3.9 Mb)
          Interrupt:17

lo        Link encapocal 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)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-27 22:55:41 | 显示全部楼层
Post by 夕角;1868391
对了,我用学校的 dns ,上网经常不正常的,也许你也该改改 dns 试试:

  1. $ cat /etc/resolv.conf
  2. nameserver 208.67.220.220
  3. nameserver 208.67.222.222
复制代码

要在 dhcpcd 后改


This is my /etc/conf.d/net

iface_eth0=("dhcp")
config_eth0=("dhcpcd")
回复 支持 反对

使用道具 举报

发表于 2008-6-28 00:07:46 | 显示全部楼层
DNS写在 /etc/resolv.conf 里没用,重启后自动被/etc/conf.d/net覆盖
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-29 15:05:42 | 显示全部楼层
Post by lingyunxs;1868424
DNS写在 /etc/resolv.conf 里没用,重启后自动被/etc/conf.d/net覆盖


可是覆盖之后还是这两个DNS啊。而且这两个DNS本来就ping不通。哎呀,我真不知道该怎么办了。现在正在重装系统。因为编译时很多文件在教育网内不能安,又暂时找不到合适的代理,只好在家重安。
回复 支持 反对

使用道具 举报

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

本版积分规则

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