我正在运行 Ubuntu 12.04。运行更新并重新启动后,右上角显示没有可用的网络设备。Linux 找不到网卡。之前它工作正常。
命令
dmesg | grep eth
[ 0.793336] i2c-core: driver [aat2870] using legacy suspend method
[ 0.793338] i2c-core: driver [aat2870] using legacy suspend method
它没有列出任何 eth0/eth1/eth2 等。
然而,
lspci
输出
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM57786 Gigabit Ethernet PCIe (rev 01)
命令
lshw -C network
输出:
*-network UNCLAIMED
description: Ethernet controller
product: NetXtreme BCM57786 Gigabit Ethernet PCIe
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi msix pciexpress bus_master cap_list
configuration: latency=0
resources: memory:c0410000-c041ffff memory:c0420000-c042ffff memory:c0430000-c043ffff
*-network UNCLAIMED
description: Network controller
product: QCA9565 / AR9565 Wirelesss Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:c0500000-c057ffff memory:afc00000-afc0ffff
驱动程序或其他方面存在问题吗?
任何帮助将非常感激。
(更新)
我的朋友再次尝试了 cmake。现在我的有线连接可以正常工作了。
lshw -C network
现在给出
*-network
description: Ethernet interface
product: NetXtreme BCM57786 Gigabit Ethernet PCIe
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 01
serial: 20:1a:06:ae:75:7c
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi msix pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.133d duplex=full firmware=sb ip=192.168.1.9 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:16 memory:c0410000-c041ffff memory:c0420000-c042ffff memory:c0430000-c04307ff
*-network UNCLAIMED
description: Network controller
product: QCA9565 / AR9565 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:c0500000-c057ffff memory:afc00000-afc0ffff
并且 dmesg 输出也发生了变化。
dmesg | grep eth
[ 0.792213] i2c-core: driver [aat2870] using legacy suspend method
[ 0.792215] i2c-core: driver [aat2870] using legacy resume method
[ 12.067519] pcieport 0000:00:1c.0: eth0: Tigon3 [partno(BCM57786) rev 57766001] (PCI Express) MAC address 20:1a:06:ae:75:7c
[ 12.067524] pcieport 0000:00:1c.0: eth0: attached PHY is 57765 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[ 12.067528] pcieport 0000:00:1c.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[ 12.067531] pcieport 0000:00:1c.0: eth0: dma_rwctrl[00000001] dma_mask[64-bit]
[ 13.730983] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 13.731750] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 16.108517] pcieport 0000:00:1c.0: eth0: Link is up at 100 Mbps, full duplex
[ 16.108522] pcieport 0000:00:1c.0: eth0: Flow control is on for TX and on for RX
[ 16.108525] pcieport 0000:00:1c.0: eth0: EEE is disabled
[ 16.108658] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 26.640551] eth0: no IPv6 routers present
但是,无线仍然无法使用。希望现在能得到更多帮助!
答案1
您的以太网设备与驱动程序兼容TG3;直到 Ubuntu 12.04 之后的内核版本才包含其设备 ID。对于您的无线设备也是如此,在更高版本的 Ubuntu 中,它被ath9k。
下载和安装没有无线的以太网驱动程序将非常困难,反之亦然。我建议您下载适用于 Ubuntu 13.10 的 Live DVD 或 USB。我非常有信心这两种设备都能正常工作。如果是这样,请安装 13.10。