我在 Dell Inspiron 3521 15R 上安装了 Ubuntu 12.04 和 Windows 8。Wifi 在 Windows 8 上运行良好,但在 Ubuntu 12.04 上却无法运行,甚至无法被检测到。
我尝试通过以下方式安装 backport
sudo apt-get linux-backports-modules-cw-3.6-precise-generic
这不起作用。我尝试安装几乎所有东西,但仍然不起作用。
的结果 :lspci
00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Ivy Bridge PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Device 6601
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
08:00.0 Network controller: Atheros Communications Inc. Device 0036 (rev 01)
的结果:lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0cf3:0036 Atheros Communications, Inc.
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp.
Bus 001 Device 005: ID 0c45:64ad Microdia
的结果 :rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
答案1
请尝试:
sudo apt-get install linux-backports-modules-cw-3.8-precise-generic
我相信 cw-3.8 包含适合您设备的 modalias。
如果您的设备仍未显示,请发帖:
modinfo ath9k | grep 0036
dmesg | grep ath
请建立有效的以太网连接,打开终端并执行以下操作:
sudo apt-get install linux-headers-generic build-essential
将此文件下载到您的桌面:https://www.kernel.org/pub/linux/kernel/projects/backports/2013/11/13/backports-20131113.tar.bz2 右键单击它并选择“在此处提取”。返回终端:
cd Desktop/backports-20131113/
make defconfig-ath9k
make
sudo make install
重新启动并让我们知道它是否正常工作。您将只为当前正在运行的内核编译驱动程序。当更新管理器安装较新的内核版本(也称为 linux-image)后,重新启动,重新编译:
cd Desktop/backports-20131113/
make clean
make defconfig-ath9k
make
sudo make install
sudo modprobe ath9k
请保留这些文件和说明。