无法使用 Intel Wireless 3165 连接 HP Pavillian x360 上的 wifi

无法使用 Intel Wireless 3165 连接 HP Pavillian x360 上的 wifi

我正在使用 我正在使用HP Pavillion x360我用它来双启动 Windows 10 和 Ubuntu 16.04.1。我无法连接到 wifi,并收到消息“Wi-Fi 网络 - 设备未准备好”。

关于无线网卡:

$ lspci -v 

02:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
    Subsystem: Intel Corporation Dual Band Wireless AC 3165
    Flags: bus master, fast devsel, latency 0, IRQ 284
    Memory at a1500000 (64-bit, non-prefetchable) [size=8K]
    Capabilities: <access denied>
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 0a)
    Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
    Flags: bus master, fast devsel, latency 0, IRQ 279
    I/O ports at 3000 [size=256]
    Memory at a1404000 (64-bit, non-prefetchable) [size=4K]
    Memory at a1400000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: r8169
    Kernel modules: r8169

固件:

$ dmesg | grep iwl
[    2.439724] iwlwifi 0000:02:00.0: Unsupported splx structure
[    2.442031] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-19.ucode failed with error -2
[    2.442051] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-18.ucode failed with error -2
[    2.442064] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-17.ucode failed with error -2
[    2.450123] iwlwifi 0000:02:00.0: loaded firmware version 16.242414.0 op_mode iwlmvm
[    2.483456] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210
[    2.484097] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[    2.484797] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[    2.570741] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    2.804042] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[   13.007881] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[   13.008326] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[   13.070217] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[   13.070961] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[   73.007295] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[   73.007739] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[   73.069305] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[   73.069854] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[  423.161658] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[  423.162362] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[  423.223217] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[  423.223665] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
$ sudo ifconfig wlp2s0 up
$ ifconfig
enp3s0    Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX  
          inet addr:192.168.1.252  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::920a:95b2:5de4:bf07/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9600 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9313 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7331669 (7.3 MB)  TX bytes:1522044 (1.5 MB)

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:65536  Metric:1
          RX packets:1923 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1923 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:182547 (182.5 KB)  TX bytes:182547 (182.5 KB)

wlp2s0    Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

$ iwlist wlp2s0 scan
wlp2s0    No scan results

成功ifconfig wlp2s0 up了,但我仍然没有连接,尽管设备显示在输出中ifconfig

$ ls /lib/firmware/iwlwifi-*.ucode
/lib/firmware/iwlwifi-1000-5.ucode     /lib/firmware/iwlwifi-6000g2b-6.ucode
/lib/firmware/iwlwifi-100-5.ucode      /lib/firmware/iwlwifi-6050-5.ucode
/lib/firmware/iwlwifi-105-6.ucode      /lib/firmware/iwlwifi-7260-10.ucode
/lib/firmware/iwlwifi-135-6.ucode      /lib/firmware/iwlwifi-7260-12.ucode
/lib/firmware/iwlwifi-2000-6.ucode     /lib/firmware/iwlwifi-7260-13.ucode
/lib/firmware/iwlwifi-2030-6.ucode     /lib/firmware/iwlwifi-7260-16.ucode
/lib/firmware/iwlwifi-3160-10.ucode    /lib/firmware/iwlwifi-7260-7.ucode
/lib/firmware/iwlwifi-3160-12.ucode    /lib/firmware/iwlwifi-7260-8.ucode
/lib/firmware/iwlwifi-3160-13.ucode    /lib/firmware/iwlwifi-7260-9.ucode
/lib/firmware/iwlwifi-3160-16.ucode    /lib/firmware/iwlwifi-7265-10.ucode
/lib/firmware/iwlwifi-3160-7.ucode     /lib/firmware/iwlwifi-7265-12.ucode
/lib/firmware/iwlwifi-3160-8.ucode     /lib/firmware/iwlwifi-7265-13.ucode
/lib/firmware/iwlwifi-3160-9.ucode     /lib/firmware/iwlwifi-7265-16.ucode
/lib/firmware/iwlwifi-3165-13.ucode    /lib/firmware/iwlwifi-7265-8.ucode
/lib/firmware/iwlwifi-3165-9.ucode     /lib/firmware/iwlwifi-7265-9.ucode
/lib/firmware/iwlwifi-3945-2.ucode     /lib/firmware/iwlwifi-7265D-10.ucode
/lib/firmware/iwlwifi-4965-2.ucode     /lib/firmware/iwlwifi-7265D-12.ucode
/lib/firmware/iwlwifi-5000-5.ucode     /lib/firmware/iwlwifi-7265D-13.ucode
/lib/firmware/iwlwifi-5150-2.ucode     /lib/firmware/iwlwifi-7265D-16.ucode
/lib/firmware/iwlwifi-6000-4.ucode     /lib/firmware/iwlwifi-8000C-13.ucode
/lib/firmware/iwlwifi-6000g2a-5.ucode  /lib/firmware/iwlwifi-8000C-16.ucode
/lib/firmware/iwlwifi-6000g2a-6.ucode

编辑:

我将监管区域改为美国。然后我更新了固件:

cd /lib/firmware
sudo wget https://github.com/OpenELEC/iwlwifi-firmware/raw/master/firmware/iwlwifi-7265D-21.ucode

之后它看起来仍然是同一个版本

$ dmesg | grep iwl[    2.412145] iwlwifi 0000:02:00.0: Unsupported splx structure
[    2.421728] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-19.ucode failed with error -2
[    2.421751] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-18.ucode failed with error -2
[    2.421762] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-17.ucode failed with error -2
[    2.442843] iwlwifi 0000:02:00.0: loaded firmware version 16.242414.0 op_mode iwlmvm
[    2.477265] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210
[    2.477778] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[    2.478369] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[    2.609426] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    2.789597] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[   13.011549] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[   13.011996] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[   13.072847] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[   13.073398] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled

$ rfkill list all
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: acer-wireless: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
4: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

$ uname -r
4.4.0-31-generic

答案1

请在粘贴时注明:

1: acer-wireless: Wireless LAN  
Soft blocked: yes   
Hard blocked: no

并且:

hp_wmi                 16384  0
acer_wmi               20480  0

您的计算机没有两个都一台 Acer 和一台 HP!让我们卸载并列入黑名单宏碁wmi模块。

sudo -i
modprobe -r acer-wmi
echo "blacklist acer-wmi"  >>  /etc/modprobe.d/blacklist.conf
exit

您的无线网络现在应该可以正常工作,但可能需要重新启动。

答案2

chili555 的答案对我也有效!太新了,无法评论,但我认为让大家知道这个答案对同一台机器上相同硬件的多个人有效很重要。我还尝试了以下方法,效果不错...

sudo -s
pico /etc/modprobe.d/blacklist-ua-acer-wmi.conf
(Add the following content)
blacklist acer-wmi (save and close file)
init 6 (to restart)

相关内容