我的 Wifi 卡在旧台式机上运行良好,但是当我将其移到新台式机上时,它就无法工作了。
以下是输出sudo lshw -C network
-network UNCLAIMED
description: Ethernet controller
product: Atheros Communications Inc.
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:04:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=32
resources: memory:fb200000-fb20ffff
和sudo lspci
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1c.3 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 5 (rev b5)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation Cougar Point 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation Cougar Point 2 port SATA IDE Controller (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation Device 0de1 (rev a1)
01:00.1 Audio device: nVidia Corporation Device 0bea (rev a1)
03:00.0 PCI bridge: Device 1b21:1080 (rev 01)
04:00.0 Ethernet controller: Atheros Communications Inc. Device ff1a (rev 01)
05:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
和sudo iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
和sudo ifconfig
eth0 Link encap:Ethernet HWaddr 6c:62:6d:e6:8f:6f
inet addr:192.168.0.143 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::6e62:6dff:fee6:8f6f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5772951 errors:0 dropped:0 overruns:0 frame:0
TX packets:5587811 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:996414964 (996.4 MB) TX bytes:1604420754 (1.6 GB)
Interrupt:44 Base address:0x2000
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:60498 errors:0 dropped:0 overruns:0 frame:0
TX packets:60498 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9892064 (9.8 MB) TX bytes:9892064 (9.8 MB)
我完全不知道该怎么办,甚至不知道这一切意味着什么,如果能提供任何帮助让我的 wifi 重新工作,我将不胜感激。
谢谢!
灰
答案1
查看你的日志文件:
dmesg | grep ath
grep ath /var/log/*.log* | egrep -iv path
可能是中断问题。我可以在 bios 中修复这个问题,但使用 intel-IPW2100。也许可以找到其他想法。
评论后更新:
在我的旧笔记本电脑 ubuntu 9.04 上,我得到:
locate ath_pci
/etc/modprobe.d/blacklist-ath_pci.conf
/lib/linux-restricted-modules/2.6.27-14-generic/ath_pci
/lib/linux-restricted-modules/2.6.27-14-generic/ath_pci/ath_pci.mod.o
/lib/linux-restricted-modules/2.6.27-14-generic/ath_pci/if_ath.o
/lib/linux-restricted-modules/2.6.27-14-generic/ath_pci/if_ath_pci.o
/lib/linux-restricted-modules/2.6.28-16-generic/ath_pci
/lib/linux-restricted-modules/2.6.28-16-generic/ath_pci/ath_pci.mod.o
/lib/linux-restricted-modules/2.6.28-16-generic/ath_pci/if_ath.o
/lib/linux-restricted-modules/2.6.28-16-generic/ath_pci/if_ath_pci.o
/lib/modules/2.6.24-24-generic/madwifi/ath_pci.ko
/usr/share/linux-restricted-modules/2.6.27-14-generic/modules.alias.override/ath_pci
/usr/share/linux-restricted-modules/2.6.28-16-generic/modules.alias.override/ath_pci
在较新的版本(10.04)中,只有第 1 行,modprobe-blacklist。
但是两者都有很多 ath5k 文件,主要是.ko 相关(内核对象,别名:驱动程序)。
答案2
我相信这些卡应该可以在最新的内核上运行,但除非你想升级你的 Ubuntu 版本,否则这种特定的芯片组会出现故障,强制将其安装到驱动程序上ath5k
应该可以工作。
在较旧的 Ubuntu 版本中,尤其是涉及 madwidi 驱动程序时,该ath5k
驱动程序最终会被其他驱动程序列入黑名单。要解决此问题,您需要找出它被阻止的位置。在终端中输入此命令:
grep -R 'ath5k' /etc/modprobe.d/
如果返回任何以 开头的行blacklist
,则需要编辑该文件并注释掉该行。grep
将输出文件的名称,因此只需运行sudo nano the_filename
,将 a 放在#
适用行的前面(在 nano 中按 control+w 进行搜索),然后按 control+x 进行保存。重新启动,希望您有无线网卡。