Wifi 在 Windows 下可以正常工作,因此这不是硬件问题。
在我的联想 Thinkpad 510 上安装 Ubuntu 16.10 后,无线无法使用。网络管理器显示“设备未就绪”
$ iwconfig
lo no wireless extensions.
enp0s25 no wireless extensions.
wlp3s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
$ sudo iwlist wlan0 scan
wlan0 Interface doesn't support scanning.
$ lspci -nn | grep -e 0200 -e 0280
00:19.0 Ethernet controller [0200]: Intel Corporation 82577LM Gigabit Network Connection [8086:10ea] (rev 06)
03:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1000 [Condor Peak] [8086:0084]
我努力了:
$ lspci -knn | grep Net -A2
00:19.0 Ethernet controller [0200]: Intel Corporation 82577LM Gigabit Network Connection [8086:10ea] (rev 06)
Subsystem: Lenovo 82577LM Gigabit Network Connection [17aa:2153]
Kernel driver in use: e1000e
Kernel modules: e1000e
--
SUSPEND_MODULES="rtl8723be" 到 /etc/pm/config.d/config
sudo service network-manager restart
$ sudo lshw -class network
*-network
description: Ethernet interface
product: 82577LM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: enp0s25
version: 06
serial: 00:26:2d:fd:f3:a8
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.12-1 ip=192.168.1.9 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:25 memory:f2400000-f241ffff memory:f2425000-f2425fff ioport:1820(size=32)
*-network DISABLED
description: Wireless interface
product: Centrino Wireless-N 1000 [Condor Peak]
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 00
serial: 00:26:c7:3d:a3:f6
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.8.0-39-generic firmware=39.31.5.1 build 35138 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:29 memory:f2000000-f2001fff
$ sudo rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
输出dmesg | grep iwl
为http://pastebin.com/S2c9C3E4
运行sudo modprobe -r iwlwifi && sleep 20 && sudo modprobe iwlwifi
无任何输出。
$ echo "options rtl8723be fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
输出options rtl8723be fwlps=N
也尝试过sudo service network-manager restart
但也没有帮助。
$ cat /etc/modprobe.d/iwlwifi.conf
# /etc/modprobe.d/iwlwifi.conf
# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system. When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
也尝试过https://askubuntu.com/a/770714/17643但这也没有用。
也尝试过sudo apt-get install --reinstall linux-firmware
但也没有帮助。
此外,基于https://ubuntuforums.org/showthread.php?t=2188827&p=12855191#post12855191,/etc/rc.local
——我不确定这是否应该是空的。