最近,我更新了 Dell vostro 2520 笔记本电脑中的一些软件包,之后我的 Broadcom 网络驱动程序无法正常工作。列出此网卡的详细信息时,sudo lshw -C Network
它显示UNCLAIMED
。有线和 wifi 连接均无法正常工作。
以下是输出lspci
:
07:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07)
输入后我就能连接到以太网了modprobe 8169
。以下是其他命令的结果。
siva@siva-Vostro-2520:~$ ifconfig
eth0 Link encap:Ethernet HWaddr e0:db:55:c7:ff:3f
inet addr:10.10.10.109 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::e2db:55ff:fec7:ff3f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:84 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8514 (8.5 KB) TX bytes:15491 (15.4 KB)
Interrupt:44 Base address:0xc000
lo Link encap:Local 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:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2690 (2.6 KB) TX bytes:2690 (2.6 KB)
siva@siva-Vostro-2520:~$ sudo ethtool -s eth0 speed 100 autoneg off
siva@siva-Vostro-2520:~$ dmesg | grep -e eth0 -e r816
[ 82.540591] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 82.540628] r8169 0000:09:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 82.540703] r8169 0000:09:00.0: setting latency timer to 64
[ 82.540798] r8169 0000:09:00.0: irq 44 for MSI/MSI-X
[ 82.541504] r8169 0000:09:00.0: eth0: RTL8168evl/8111evl at 0xffffc9000031c000, e0:db:55:c7:ff:3f, XID 0c900800 IRQ 44
[ 82.541509] r8169 0000:09:00.0: eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 82.542017] r8169 0000:09:00.0: PME# enabled
[ 82.609758] r8169 0000:09:00.0: PME# disabled
[ 82.734342] r8169 0000:09:00.0: eth0: link down
[ 82.734349] r8169 0000:09:00.0: eth0: link down
[ 82.734519] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 82.734739] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 85.141266] r8169 0000:09:00.0: eth0: link up
[ 85.141556] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 95.905762] eth0: no IPv6 routers present
[ 159.852995] r8169 0000:09:00.0: eth0: link down
[ 162.886021] r8169 0000:09:00.0: eth0: link up
答案1
让我们先尝试启动以太网,这样我们就可以用它来修复无线问题。请使用已知良好的电缆连接以太网,打开终端并执行以下操作:
sudo modprobe r8169
ifconfig
您有以太网接口吗,可能是 eth0?如果有,请执行以下操作:
sudo ethtool -s eth0 speed 100 autoneg off
现在连接成功了吗?如果连接成功,我们将修改一个文件并使其持久化。如果没有,请查看日志是否有任何线索:
dmesg | grep -e eth0 -e r816
很高兴以太网正常工作!至于无线,在 Ubuntu 12.04 中,除非您安装了 64 位系统,否则可能无法正常工作;检查:
arch
如果是,请检查此处:如何为 Dell Vostro 3460/3560 安装 BCM43142 无线驱动程序?否则,我建议您安装 Ubuntu 14.04 LTS 或 14.10,在这种情况下,您需要做的就是:
sudo apt-get update
sudo apt-get install bcmwl-kernel-source
然后重新启动。
如果以太网驱动程序在启动时拒绝加载,请执行以下操作:
sudo -i
echo r8169 >> /etc/modules
depmod -a
exit
一切已准备就绪。