LinuxSir.cn,穿越时空的Linuxsir!

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

网络不通,ifconfig 输出如下:奇怪的HWAddr.帮忙阿!!!

[复制链接]
发表于 2006-4-18 08:44:30 | 显示全部楼层 |阅读模式
ifconfig
eth0      Link encap:UNSPEC  HWaddr 00-40-CA-01-12-01-3D-1C-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          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)
 楼主| 发表于 2006-4-18 08:46:24 | 显示全部楼层

lspci输出

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 650/M650 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS961 [MuTIOL Media IO]
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0c.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
00:0d.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 04)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-18 08:47:20 | 显示全部楼层

lsmod 输出

Module                  Size  Used by
pcspkr                  3076  0
rtc                     9748  0
yenta_socket           26252  0
rsrc_nonstatic         13312  1 yenta_socket
pcmcia_core            39828  2 yenta_socket,rsrc_nonstatic
8139cp                 21376  0
mii                     6272  1 8139cp
snd_intel8x0           31132  0
snd_intel8x0m          17292  0
snd_ac97_codec         82976  2 snd_intel8x0,snd_intel8x0m
snd_ac97_bus            3200  1 snd_ac97_codec
snd_pcm                81540  3 snd_intel8x0,snd_intel8x0m,snd_ac97_codec
snd_timer              23684  1 snd_pcm
snd                    52068  5 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc         11144  3 snd_intel8x0,snd_intel8x0m,snd_pcm
i2c_sis96x              6276  0
i2c_core               20736  1 i2c_sis96x
sis_agp                 9348  1
agpgart                33484  1 sis_agp
joydev                 10304  0
eth1394                19848  0
dm_mirror              21200  0
dm_mod                 53656  1 dm_mirror
sata_mv                17924  0
ata_piix               10116  0
ahci                   13444  0
sata_qstor             10372  0
sata_vsc                8964  0
sata_uli                8324  0
sata_sis                8836  0
sata_sx4               14468  0
sata_nv                10116  0
sata_via                9476  0
sata_svw                8580  0
sata_sil               10116  0
sata_promise           12036  0
libata                 53260  13 sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil,sata_promise
sbp2                   22660  0
ohci1394               32052  0
ieee1394               91576  3 eth1394,sbp2,ohci1394
sl811_hcd              13056  0
ohci_hcd               19972  0
uhci_hcd               30864  0
usb_storage            67136  0
usbhid                 44000  0
ehci_hcd               29192  0
usbcore               115332  7 sl811_hcd,ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-18 08:49:32 | 显示全部楼层

改8139cp to 8139too

我以前的fc2,slackware一直用得8139too,所以
rmmod 8139cp
modprobe 8139too
没有改善,网卡可以识别。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-18 08:56:45 | 显示全部楼层

ping 192.168.0.1我的路由地址不通

ifconfig eth0 192.168.0.223
ifconfig   eth0   
  Link encap:UNSPEC  HWaddr 00-40-CA-01-12-01-3D-1C-00-00-00-00-00-00-00-00  
          inet addr:192.168.0.223  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          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)
ping 1922.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.223 icmp_seq=2 Destination Host Unreachable
From 192.168.0.223 icmp_seq=3 Destination Host Unreachable
From 192.168.0.223 icmp_seq=4 Destination Host Unreachable

--- 192.168.0.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 3
lee-gentoo ~ # exit

Script done on Tue Apr 18 08:55:09 2006
回复 支持 反对

使用道具 举报

发表于 2006-4-18 08:58:15 | 显示全部楼层
这种时候,换一个网卡就知道问题在哪里了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-18 09:01:05 | 显示全部楼层
我的是笔°本阿,而且我用slax引ü是正常的。帮Ù阿 ~~~
不知道你有没有主意到那个HWAddr地址很长阿,而且格式很奇怪阿!!
回复 支持 反对

使用道具 举报

发表于 2006-4-18 10:22:40 | 显示全部楼层
重新编译一下内核吧。其他也没啥联系。实在不行,把 ifconfig 的包编译一次,包名是 Net-Tools。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-18 10:40:18 | 显示全部楼层
正在编Ñ内核,谢谢。
ê是ɗ奇怪,Ù也是ú错的Ÿà把,我ó
HWaddr 00-40-CA-01-12-01-3D-1C-00-00-00-00-00-00-00-00
æ一台机子上的输出
HWaddr 00:11:2F:22:ED:A5
回复 支持 反对

使用道具 举报

发表于 2006-4-18 10:50:14 | 显示全部楼层
前天我编译了 coreutils 之后和你的情况差不多
emerge --sync
然后etc-updte
就好了
不知道这次是怎么回事 我的hostname和 localetime设置都变回去了 要手动重新设一遍
回复 支持 反对

使用道具 举报

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

本版积分规则

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