![Ubuntu 16.04 (Lenovo Thinkpad Sl500) 无线驱动程序不工作](https://linux22.com/image/87710/Ubuntu%2016.04%20(Lenovo%20Thinkpad%20Sl500)%20%E6%97%A0%E7%BA%BF%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E4%B8%8D%E5%B7%A5%E4%BD%9C.png)
我刚刚在 Lenovo Thinkpad SL500 上安装了 Ubuntu 16.04,但 Wifi 无法正常工作,尽管有线连接仍然正常。巴斯德宾:http://paste.ubuntu.com/16020359/ 以下是几个命令的结果:
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 006 Device 007: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
和iwconfig
:
enp12s0 no wireless extensions.
lo no wireless extensions.
还lspci
:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
0d:00.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
0d:00.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
0d:00.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
0d:00.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
我遵循了一些建议:http://www.linlap.com/lenovo_thinkpad_sl500,但它似乎很神秘,我不知道如何加载驱动程序。还尝试使用 nvdiswrapper 但无法理解他们的说明。非常感谢
更新:尝试过这个:
nmcli g
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
disconnected none enabled enabled enabled enabled
这是当我拔掉有线连接时完成的。和sudo lshw -C network
:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:0c:00.0
logical name: enp12s0
version: 02
serial: 00:23:54:2a:b5:fd
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.1.31 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:28 ioport:e800(size=256) memory:fcfff000-fcffffff memory:fcfe0000-fcfeffff memory:feaf0000-feafffff
更新 2: 的输出lspci -knn | grep Net -A2
真的很奇怪,因为没有任何更新 3:
lspci -k
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
Subsystem: Lenovo Mobile 4 Series Chipset Memory Controller Hub
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Lenovo Mobile 4 Series Chipset Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Lenovo Mobile 4 Series Chipset Integrated Graphics Controller
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
Subsystem: Lenovo 82801I (ICH9 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
Subsystem: Lenovo 82801I (ICH9 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
Subsystem: Lenovo 82801I (ICH9 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
Subsystem: Lenovo 82801I (ICH9 Family) USB2 EHCI Controller
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Lenovo 82801I (ICH9 Family) HD Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
Subsystem: Lenovo 82801I (ICH9 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
Subsystem: Lenovo 82801I (ICH9 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
Subsystem: Lenovo 82801I (ICH9 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
Subsystem: Lenovo 82801I (ICH9 Family) USB2 EHCI Controller
Kernel driver in use: ehci-pci
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
Subsystem: Lenovo ICH9M LPC Interface Controller
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
Subsystem: Lenovo 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode]
Kernel driver in use: ahci
Kernel modules: ahci
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Kernel driver in use: r8169
Kernel modules: r8169
0d:00.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
Subsystem: Lenovo R5C832 IEEE 1394 Controller
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci
0d:00.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
Subsystem: Lenovo R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
0d:00.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
Subsystem: Lenovo R5C592 Memory Stick Bus Host Adapter
Kernel driver in use: r592
Kernel modules: r592
0d:00.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
Subsystem: Lenovo xD-Picture Card Controller
Kernel driver in use: r852
Kernel modules: r852
更新 4:我刚刚查看了 SL500 硬件维护手册,它说:Featue: PCI Express Mini Card
并且
Description:
v ThinkPad 11b/g Wireless LAN Mini PCI Express Adapter
III
v Intel WiFi Link 5100
v Intel WiMAX/WiFi Link 5150
v Intel WiMAX/WiFi Link 5350
v Ericsson F3507g USA - Wireless WAN card
v Ericsson F3507g Other - Wireless WAN card
v Wireless USB PCI Express Half-Mini Card
更新 5:尝试了向后移植的建议,但在最后一个命令中我得到了这个结果:
sudo make install
Building modules, stage 2.
MODPOST 6 modules
INSTALL /home/dangmanhtruong/backports-4.4.2-1/compat/compat.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/dangmanhtruong/backports-4.4.2-1/drivers/net/wireless/iwlwifi/dvm/iwldvm.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/dangmanhtruong/backports-4.4.2-1/drivers/net/wireless/iwlwifi/iwlwifi.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/dangmanhtruong/backports-4.4.2-1/drivers/net/wireless/iwlwifi/mvm/iwlmvm.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/dangmanhtruong/backports-4.4.2-1/net/mac80211/mac80211.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/dangmanhtruong/backports-4.4.2-1/net/wireless/cfg80211.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.4.0-21-generic
depmod will prefer updates/ over kernel/ -- OK!
Note:
You may or may not need to update your initramfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against "update-initramfs.sh". If your distribution does not
require this send a patch with the '/usr/bin/lsb_release -i -s'
("Ubuntu") tag for your distribution to avoid this warning.
Your backported driver modules should be installed now.
Reboot.
我应该怎么办? :(
答案1
我的 Lenovo TP 410i 及其 Intel 无线 1000n 主板上的无线速度连接存在很大问题。在 Ubuntu 的无线网络配置菜单中,我总是得到 1Mbps 连接,并且互联网速度测试总是很差 - 显然 - 我按照以下说明进行操作,它自动更改为 54Mbps,并且互联网速度测试结果要好得多。
T410i:~$ sudo rmmod iwldvm
T410i:~$ sudo rmmod iwlwifi
T410i:~$ sudo modprobe iwlwifi 11n_disable=1
我不知道所有这些东西的作用,但它在 Ubuntu 16.04 下对我有用。
答案2
从以下位置下载最新的向后移植这里
https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz
安装linux-headers
并 build-essential
sudo apt-get install linux-headers-generic build-essential
然后编译模块
tar xvf backports-4.4.2-1.tar.gz
cd backports-4.4.2-1
make defconfig-iwlwifi
make
sudo make install
重启