3 天前我购买了一台配备 Realtek rtl8xxxu 卡的 Acer One 14 L1410 笔记本电脑,我已经安装了 ubuntu。一切正常,但 WiFi 工作不正常。我到处搜索,但都没有解决我的问题。我的笔记本电脑有一个用于打开和关闭 WiFi 的功能键。当我重新启动时,我必须先按Fn+ F3,然后再次按fn+,F3然后 WiFi 才能连接。但暂停后它再次不显示任何连接。我已经更新了我的 PC,现在连接已永久关闭
rfkill list all
0: hci:Bluetooth
soft blocked:no
hard blocked:no
1: Phy0:Wireless lan
soft blocked:no
hard blocked:no
lsmod | grep 8xxx
rtl8xxxu 12786 0
mac721 15568 1 rtl8xxxu
lshw | grep 8xxx
configuration: driver=rtl8xxxu driverversion=4.8.0-36-generic firmware=N/A
link=no multicast=YES wireless=IEEE 802.11
iwconfig
lo no wireless extensio
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 5986:065e Acer , Inc
Bus 001 Device 002: ID 0bda:b720 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsmod | grep rtl
rtl8xxxu 126976 0
mac80211 761856 1 rtl8xxxu
btrtl 16384 1 btusb
bluetooth 557056 33 btrtl,hci_uart,btintel,btqca,bnep,btbcm,rfcomm,btusb
dmesg | grep rtl
[ 13.791360] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[ 13.791366] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[ 13.958444] usb 1-4: rtl8723bu_parse_efuse: dumping efuse (0x200 bytes):
[ 13.958560] usb 1-4: rtl8xxxu: Loading firmware rtlwifi/rtl8723bu_nic.bin
[ 14.872471] usbcore: registered new interface driver rtl8xxxu
dmesg | grep wlx
[ 15.105720] rtl8xxxu 1-4:1.2 wlx38a28c721f20: renamed from wlan0
[ 15.105720] rtl8xxxu 1-4:1.2 wlx38a28c721f20: renamed from wlan0
[ 24.306380] IPv6: ADDRCONF(NETDEV_UP): wlx38a28c721f20: link is not ready
[ 24.324653] IPv6: ADDRCONF(NETDEV_UP): wlx38a28c721f20: link is not ready
[ 24.532712] IPv6: ADDRCONF(NETDEV_UP): wlx38a28c721f20: link is not ready
[ 1502.527895] wlx38a28c721f20: authenticate with 98:de:d0:27:46:f4
[ 1502.530422] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 1/3)
[ 1502.734039] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 2/3)
[ 1502.938059] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 3/3)
[ 1503.142122] wlx38a28c721f20: authentication with 98:de:d0:27:46:f4 timed out
[ 1504.348097] wlx38a28c721f20: authenticate with 98:de:d0:27:46:f4
[ 1504.356574] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 1/3)
[ 1504.557930] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 2/3)
[ 1504.761743] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 3/3)
[ 1504.966010] wlx38a28c721f20: authentication with 98:de:d0:27:46:f4 timed out
[ 1512.688944] wlx38a28c721f20: authenticate with 98:de:d0:27:46:f4
[ 1512.694231] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 1/3)
[ 1512.897715] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 2/3)
[ 1513.101736] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 3/3)
[ 1513.305858] wlx38a28c721f20: authentication with 98:de:d0:27:46:f4 timed out
[ 1515.456885] wlx38a28c721f20: authenticate with 98:de:d0:27:46:f4
[ 1515.465607] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 1/3)
[ 1515.669717] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 2/3)
[ 1515.873765] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 3/3)
[ 1516.077431] wlx38a28c721f20: authentication with 98:de:d0:27:46:f4 timed out
[ 1527.977833] IPv6: ADDRCONF(NETDEV_UP): wlx38a28c721f20: link is not ready
[ 1528.255462] wlx38a28c721f20: authenticate with 98:de:d0:27:46:f4
[ 1528.260375] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 1/3)
[ 1528.461203] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 2/3)
[ 1528.665292] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 3/3)
[ 1528.868958] wlx38a28c721f20: authentication with 98:de:d0:27:46:f4 timed out
[ 1546.032087] wlx38a28c721f20: authenticate with 98:de:d0:27:46:f4
[ 1546.036677] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 1/3)
[ 1546.240766] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 2/3)
[ 1546.444619] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 3/3)
[ 1546.648668] wlx38a28c721f20: authentication with 98:de:d0:27:46:f4 timed out
[ 1552.978952] IPv6: ADDRCONF(NETDEV_UP): wlx38a28c721f20: link is not ready
[ 1562.206598] wlx38a28c721f20: authenticate with 98:de:d0:27:46:f4
[ 1562.209287] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 1/3)
[ 1562.412164] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 2/3)
[ 1562.615782] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 3/3)
[ 1562.819863] wlx38a28c721f20: authentication with 98:de:d0:27:46:f4 timed out
[ 1577.977091] IPv6: ADDRCONF(NETDEV_UP): wlx38a28c721f20: link is not ready
[ 1587.217967] wlx38a28c721f20: authenticate with 98:de:d0:27:46:f4
[ 1587.229397] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 1/3)
[ 1587.431242] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 2/3)
[ 1587.635244] wlx38a28c721f20: send auth to 98:de:d0:27:46:f4 (try 3/3)
[ 1587.839278] wlx38a28c721f20: authentication with 98:de:d0:27:46:f4 timed out
[ 1602.975590] IPv6: ADDRCONF(NETDEV_UP): wlx38a28c721f20: link is not ready
答案1
请按 Ctrl + Alt + T 打开终端并运行:
gksudo gedit /etc/NetworkManager/NetworkManager.conf
如果您没有文本编辑器 gedit,请使用 nano 或 kate 或 leafpad。在此文件底部,复制并粘贴以下内容:
[device]
wifi.scan-rand-mac-address=no
最终结果如下
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
仔细校对,保存并关闭文本编辑器,然后运行:
sudo service network-manager restart
有沒有改善?
答案2
我遇到了同样的问题。我已将驱动程序替换为 r8168-dkms_8.044.02-2_all.deb,之后至少有线以太网可以正常工作,但每次关机时 Wi-Fi 都会停用,必须先将其关闭然后再打开,然后才能连接。
编辑:经过大量研究,我找到了答案。关键在于 lsusb:ID 0bda:b720。“b720”指的是 rtl8723au 或 bu 芯片组。
参考:sites.google.com/site/easylinuxtipsproject/reserve-7
该机器使用rtl8723bu芯片,这里有一个lwfinger的驱动程序:
https://github.com/lwfinger/rtl8723bu
James Buren 编写的 dkms 版本可在此处找到: