当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : Linux无法上网,但是Windows能上
帖子发表于 : 2008-11-02 10:31 

注册: 2006-08-12 14:56
帖子: 117
地址: GD SG SX
送出感谢: 0 次
接收感谢: 0 次
装了三系统xp+ubuntu8.04.1+fedora 8
开始三个系统都能上网
现在windows能上网,2个linux都不能上

进去ubuntu后面板上的网络监视器有一个红圆点显示错误,点击出现提示:
Could not find information on interface 'eth0:avahi' in /proc/net/dev

开fedora 8的时候选择show details,加载到determining IP information for eth0...卡住,最后是failed,进去系统后就是不能上网。


根据网上的各种说法,试过禁用ipv6、静态ip等方法均不奏效


下面是fedora下采集的一些信息:

引用:
[root@localhost ~]# dmesg|grep eth0
sky2 eth0: addr 00:15:f2:6d:5b:89
net eth0_rename: device_rename: sysfs_create_symlink failed (-17)
net eth0: device_rename: sysfs_create_symlink failed (-17)
udev: renamed network interface eth1 to eth0
udev: renamed network interface eth0_rename to eth1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0d 0000 c07f media 00.
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00082156. (queue head)
eth0: Tx descriptor 1 is 00082156.
eth0: Tx descriptor 2 is 00082156.
eth0: Tx descriptor 3 is 00082156.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0d 0000 c07f media 00.
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00082156. (queue head)
eth0: Tx descriptor 1 is 00082156.
eth0: Tx descriptor 2 is 00082156.
eth0: Tx descriptor 3 is 00082156.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0d 0000 c07f media 00.
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00082156. (queue head)
eth0: Tx descriptor 1 is 00082156.
eth0: Tx descriptor 2 is 00082156.
eth0: Tx descriptor 3 is 00082156.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1




[root@localhost ~]# service network restart
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0...PING 192.168.10.1 (192.168.10.1) from 192.168.10.202 eth0: 56(84) bytes of data.

--- 192.168.10.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3000ms
, pipe 3
failed.
[FAILED]
Bringing up interface eth1:
Determining IP information for eth1... failed; no link present. Check cable?
[FAILED]
[root@localhost ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0A:EB:4D:66:A2
BROADCAST 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)
Interrupt:17 Base address:0x4c00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10799 errors:0 dropped:0 overruns:0 frame:0
TX packets:10799 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6876212 (6.5 MiB) TX bytes:6876212 (6.5 MiB)


[root@localhost ~]# dhclient eth0
Internet Systems Consortium DHCP Client V3.0.6-Fedora
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:0a:eb:4d:66:a2
Sending on LPF/eth0/00:0a:eb:4d:66:a2
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


下面是我在两个系统下采集的一些补充信息
ubuntu

qiu@qiubuntu:~$ lspci | grep net
01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19)



qiu@qiubuntu:~$ hostname
qiubuntu

qiu@qiubuntu:~$ hostname -i
127.0.1.1

qiu@qiubuntu:~$ sudo mii-tool eth0
eth0: link ok


Fedora
[root@localhost ~]# lspci | grep net
01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19)

[root@localhost ~]# hostname
localhost.localdomain

[root@localhost ~]# cat /etc/modprobe.conf | grep eth0
alias eth0 8139too

[root@localhost ~]# mii-tool eth0
eth0: link ok

[root@localhost ~]# service netplugd status
netplugd is stopped

[root@localhost ~]# lsmod
Module Size Used by
reiserfs 219717 0
vfat 13249 3
fat 45277 1 vfat
fuse 38485 2
rfcomm 36825 0
l2cap 25537 9 rfcomm
bluetooth 49316 4 rfcomm,l2cap
autofs4 20421 2
sunrpc 140765 1
nf_conntrack_ipv4 11717 2
ipt_REJECT 7617 2
iptable_filter 6465 1
ip_tables 14213 1 iptable_filter
nf_conntrack_ipv6 18769 2
xt_state 6081 4
nf_conntrack 51977 3 nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
nfnetlink 8281 3 nf_conntrack_ipv4,nf_conntrack_ipv6,nf_conntrack
xt_tcpudp 6977 8
ip6t_ipv6header 6209 2
ip6t_REJECT 8257 2
ip6table_filter 6337 1
ip6_tables 15109 2 ip6t_ipv6header,ip6table_filter
x_tables 14277 7 ipt_REJECT,ip_tables,xt_state,xt_tcpudp,ip6t_ipv6header,ip6t_REJECT,ip6_tables
loop 16581 0
dm_mirror 21697 0
dm_multipath 18249 0
dm_mod 46465 2 dm_mirror,dm_multipath
radeon 114145 2
drm 67028 3 radeon
ipv6 245989 14 nf_conntrack_ipv6,ip6t_REJECT
snd_hda_intel 274657 2
snd_seq_dummy 6725 0
8139cp 21697 0
snd_seq_oss 29889 0
parport_pc 26981 0
8139too 24513 0
snd_seq_midi_event 9793 1 snd_seq_oss
parport 32393 1 parport_pc
iTCO_wdt 13797 0
snd_seq 44849 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
mii 8385 2 8139cp,8139too
iTCO_vendor_support 7109 1 iTCO_wdt
snd_seq_device 10061 3 snd_seq_dummy,snd_seq_oss,snd_seq
i2c_i801 12113 0
i2c_core 21825 1 i2c_i801
floppy 53125 0
snd_pcm_oss 37569 0
snd_mixer_oss 16705 1 snd_pcm_oss
snd_pcm 63685 2 snd_hda_intel,snd_pcm_oss
snd_timer 20549 2 snd_seq,snd_pcm
snd_page_alloc 11337 2 snd_hda_intel,snd_pcm
button 10321 0
sky2 41413 0
snd_hwdep 10309 1 snd_hda_intel
snd 43461 13 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore 9633 1 snd
sg 31965 0
sr_mod 17509 0
cdrom 33889 1 sr_mod
ata_generic 8901 0
ahci 22597 0
ata_piix 16709 6
libata 99633 3 ata_generic,ahci,ata_piix
sd_mod 27329 7
scsi_mod 119757 4 sg,sr_mod,libata,sd_mod
ext3 110665 1
jbd 52457 1 ext3
mbcache 10177 1 ext3
uhci_hcd 23633 0
ohci_hcd 21445 0
ehci_hcd 31693 0


谢谢啊


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译