我最近买了一台新笔记本电脑(HP PAVILION 15-AB016NF),并安装了 Ubuntu 14.04 和 Windows 8 双启动。在 Windows 下,我的无线网络工作正常,但在 Ubuntu 下却不行:无线信号很差,我无法连接,或者几分钟后就断开了连接。Google 告诉我,我不是第一个遇到这个问题的人:
Ubuntu 14.04 中 rtl8723be 的 Wifi 问题
然而,所提出的修复对我来说不起作用。
以下是有关我的系统的一些信息。
******uname -a******
Linux laurentlaptop 3.19.0-26-generic #28~14.04.1-Ubuntu SMP Wed Aug 12 14:09:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
******rfkill list ******
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
******ifconfig ******
eth0 Link encap:Ethernet HWaddr 3c:a8:2a:ac:be:05
inet addr:128.141.49.98 Bcast:128.141.49.127 Mask:255.255.255.192
inet6 addr: fe80::3ea8:2aff:feac:be05/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19526 errors:0 dropped:0 overruns:0 frame:0
TX packets:15806 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15651156 (15.6 MB) TX bytes:2320379 (2.3 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:3957 errors:0 dropped:0 overruns:0 frame:0
TX packets:3957 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:612542 (612.5 KB) TX bytes:612542 (612.5 KB)
wlan0 Link encap:Ethernet HWaddr 70:77:81:2f:c1:e9
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)
******lspci*****
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:04.0 Signal processing controller: Intel Corporation Broadwell-U Camarillo Device (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.1 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #2 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
08:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 0a)
0a:00.0 3D controller: NVIDIA Corporation Device 1347 (rev a2)
您知道如何解决这个恼人的问题吗?
多谢 !
答案1
首先确认你的系统使用的是哪种 wifi 驱动程序
sudo lshw -C network
这将给出类似的结果(只需检查description: Wireless interface
):
*-network
description: Wireless interface
product: RTL8723AE PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: wlan0
version: 00
serial: 24:ec:99:21:c9:29
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8723ae driverversion=3.8.0-27-generic firmware=N/A ip=192.168.1.74 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 ioport:3000(size=256) memory:c3000000-c3003fff
并确认你的驱动程序configuration:
是否rtl8723be
现在只需暂时通过以太网连接并执行以下操作:
sudo apt-get install linux-headers-generic build-essential git
git clone https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install
sudo modprobe rtl8723be
重启系统。检查它是否正常工作。这适用于所有 3.0 以上的内核