HP Pavilion x360 Convertible 没有无线连接

HP Pavilion x360 Convertible 没有无线连接

我在新笔记本电脑上安装了 Ubuntu,但无线连接出现了问题。我注意到,自从开始安装操作系统以来,我就无法连接到 Wi-Fi,尽管在 Windows 8.1 上一切正常。有线连接正常。目前我安装了 15.04,但我最初尝试了 14.04,从安装一开始我也没有 Wi-Fi。以下是不同命令的输出:

$ uname -r
4.1.6-040106-generic

$ sudo lshw -c network
*-network               
   description: Ethernet interface
   product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:07:00.0
   logical name: eth0
   version: 0a
   serial: 30:8d:99:1d:81:c2
   size: 100Mbit/s
   capacity: 100Mbit/s
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8107e-2_0.0.2 02/26/15 ip=192.168.8.8 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
   resources: irq:47 ioport:3000(size=256) memory:c3104000-c3104fff memory:c3100000-c3103fff
*-network DISABLED
   description: Wireless interface
   product: Wireless 3160
   vendor: Intel Corporation
   physical id: 0
   bus info: pci@0000:08:00.0
   logical name: wlan0
   version: 83
   serial: e4:f8:9c:6f:d0:56
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=iwlwifi driverversion=4.1.6-040106-generic firmware=25.30.13.0 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
   resources: irq:49 memory:c3000000-c3001fff

$ sudo iwconfig
eth0      no wireless extensions.
wlan0     IEEE 802.11abgn  ESSID:off/any  
      Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
      Retry short limit:7   RTS thr:off   Fragment thr:off
      Encryption key:off
      Power Management:off
      lo        no wireless extensions.

$ dmesg | grep iwlwifi
[   12.627217] iwlwifi 0000:08:00.0: Unsupported splx structure
[   12.896955] iwlwifi 0000:08:00.0: loaded firmware version 25.30.13.0 op_mode iwlmvm
[   13.579505] iwlwifi 0000:08:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
[   13.579836] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   13.580340] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   37.829851] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   37.830468] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   37.939813] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   37.940426] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   39.938588] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   39.939197] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   40.052207] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   40.052814] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[  446.329043] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[  446.329551] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[  446.440079] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[  446.440589] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled

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

编辑:由于某些情况,我不得不重新安装系统,现在是 15.10。我尝试了同样的方法来解决问题,但这次没有奏效。我运行了相同的命令,发现输出有一些差异。它们如下:

$ uname -r
4.2.0-16-generic

sudo lshw -c network
*-network               
       description: Ethernet interface
       product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: enp7s0
       version: 0a
       serial: 30:8d:99:1d:81:c2
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8107e-2_0.0.2 02/26/15 ip=192.168.8.1 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:47 ioport:3000(size=256) memory:c3104000-c3104fff memory:c3100000-c3103fff
*-network DISABLED
       description: Wireless interface
       product: Wireless 3160
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: wlp8s0
       version: 83
       serial: e4:f8:9c:6f:d0:56
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.2.0-16-generic firmware=15.227938.0 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:50 memory:c3000000-c3001fff

sudo iwconfig
wlp8s0    IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

enp7s0    no wireless extensions.

lo        no wireless extensions.

$ dmesg | grep iwlwifi
[   10.586455] iwlwifi 0000:08:00.0: Unsupported splx structure
[   11.180749] iwlwifi 0000:08:00.0: loaded firmware version 15.227938.0 op_mode iwlmvm
[   11.730991] iwlwifi 0000:08:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
[   11.731488] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   11.732000] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   11.911089] iwlwifi 0000:08:00.0 wlp8s0: renamed from wlan0
[   31.820881] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   31.821389] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled
[   31.935450] iwlwifi 0000:08:00.0: L1 Enabled - LTR Enabled

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

非常感谢您提供的任何帮助!

答案1

在终端中运行

sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi 11n_disable=1"

然后重启。这样应该可以解决问题。

您可以通过以下方式撤消此设置

sudo rm /etc/modprobe.d/iwlwifi-opt.conf

答案2

这是不禁用 802.11n 的替代答案。将 acer_wmi 模块列入黑名单。创建一个名为 /etc/modprobe.d/acer_wmi.conf 的文件,并将以下内容放入其中:

# acer_wmi conflicts with iwlwifi/nm which this HP x360 laptop uses
# (Your name, today's date)
blacklist  acer_wmi

顺便说一句,我在 HP Pavilion x360 Convertible m1-u001dx 上尝试过这个。

答案3

(按要求编辑)

对于所有遇到此笔记本电脑 wifi 问题的人,这对我来说确实有效(通过谷歌搜索将一些命令从 Arch 改编为 Ubuntu)。这已在 Ubuntu 14.04 LTS 和 Ubuntu 16.10 上成功测试,无需任何其他说明。

hackerb9 关于停用 acer_wmi 模块的答案以及来自此处的说明:rtl8723be wifi 连接问题通过天线选择解决

只需将该指南中出现的以下命令更改为以下命令:


Arch 命令

pacman -S base-devel git linux-headers iw rfkill wireless_tools

Ubuntu 命令

sudo apt-get install build-essential iw linux-headers-generic git rfkill wireless-tools


Arch 命令

sudo mkinitcpio -p linux

Ubuntu 命令

sudo 更新-initramfs -u

我的配置文件如下:$ cat /etc/modprobe.d/rtl8723be.conf options rtl8723be fwlps=N ips=N swlps=N swenc=Y disable_watchdog=1 ant_sel=2

笔记:如果您不在有线网络上,请不要更新操作系统的内核,更新内核将需要您重复指南中的步骤。

最后一步:

sudo echo "黑名单 acer-wmi" >> /etc/modprobe.d/blacklist.conf

然后重新启动就完成了!

希望这对你有用!

答案4

通过其他方式连接到互联网并安装 4.8+ 内核

sudo apt update
sudo apt install linux-generic-hwe-16.04

您还需要此设备的固件。通过以下方式更新您的系统

sudo apt update && sudo apt upgrade

固件将被安装。

重新启动后无线设备就可以工作了。

为了使其开箱即用,您需要安装支持此设备的 Ubuntu 16.04.2+。(我使用 USB 以太网连接器访问互联网。)

相关内容