分页: 1 / 1

ubuntu8.04 驱动不了网卡

发表于 : 2008-11-11 12:44
xiaoling
换了个主板 网卡显卡后 网卡驱动不了
wmxez@ubuntu:~/桌面$ ls /lib/modules/`uname -r`/build
arch Documentation include Kbuild Makefile net security
block drivers init kernel mm samples sound
crypto fs ipc lib Module.symvers scripts usr
wmxez@ubuntu:~/桌面$ uname
Linux
wmxez@ubuntu:~/桌面$ uname -v
#1 SMP Thu Apr 10 13:23:42 UTC 2008
wmxez@ubuntu:~/桌面$ uname -r
2.6.24-16-generic
wmxez@ubuntu:~/桌面$ uname -n
ubuntu
wmxez@ubuntu:~/桌面$ sudo apt-get install linux-headers-2.6.24-16-generic
[sudo] password for wmxez:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
linux-headers-2.6.24-16-generic 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
wmxez@ubuntu:~/桌面$ sudo modprobe ndiswrapper
wmxez@ubuntu:~/桌面$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.052 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.042 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.042 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.046 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.047 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.046 ms

--- 127.0.0.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4997ms
rtt min/avg/max/mdev = 0.042/0.045/0.052/0.009 ms
wmxez@ubuntu:~/桌面$ ifconfig
eth1 Link encap:以太网 硬件地址 00:0c:6e:e3:42:72
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:20 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:61 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:2251 (2.1 KB) 发送字节:6461 (6.3 KB)

eth1:avahi Link encap:以太网 硬件地址 00:0c:6e:e3:42:72
inet 地址:169.254.6.212 广播:169.254.255.255 掩码:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 跃点数:1
接收数据包:1426 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1426 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:72212 (70.5 KB) 发送字节:72212 (70.5 KB)


wmxez@ubuntu:~/桌面$ ifconfig
eth1 Link encap:以太网 硬件地址 00:0c:6e:e3:42:72
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:22 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:61 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:2371 (2.3 KB) 发送字节:6461 (6.3 KB)

eth1:avahi Link encap:以太网 硬件地址 00:0c:6e:e3:42:72
inet 地址:169.254.6.212 广播:169.254.255.255 掩码:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 跃点数:1
接收数据包:1426 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1426 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:72212 (70.5 KB) 发送字节:72212 (70.5 KB)

wmxez@ubuntu:~/桌面$ ping 172.16.1.1
PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
From 169.254.6.212 icmp_seq=1 Destination Host Unreachable
From 169.254.6.212 icmp_seq=2 Destination Host Unreachable
From 169.254.6.212 icmp_seq=3 Destination Host Unreachable
From 169.254.6.212 icmp_seq=4 Destination Host Unreachable
From 169.254.6.212 icmp_seq=5 Destination Host Unreachable
From 169.254.6.212 icmp_seq=6 Destination Host Unreachable

--- 172.16.1.1 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6016ms
, pipe 3
wmxez@ubuntu:~/桌面$ clear

wmxez@ubuntu:~/桌面$ dmesg | grep -in eth
269:[ 25.248420] e100: eth0: e100_probe: addr 0xed000000, irq 20, MAC addr 00:0c:6e:e3:42:72
288:[ 26.351932] Driver 'sd' needs updating - please use bus_type methods
341:[ 40.373481] udev: renamed network interface eth0 to eth1
357:[ 59.761817] ADDRCONF(NETDEV_UP): eth1: link is not ready
358:[ 59.763824] e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex
359:[ 59.777307] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
wmxez@ubuntu:~/桌面$ dmesg | cat -n | less
wmxez@ubuntu:~/桌面$ lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 11)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (CNR) Ethernet Controller (rev 81)
wmxez@ubuntu:~/桌面$ ifconfig eth0
eth0: 获取接口信息时发生错误: Device not found
怎么办?