我在联想 IdeaPad Yoga 13 上运行 Ubuntu 16.04,但电脑无法连接到 wifi。连接菜单中没有显示无线网络。我尝试安装此驱动程序基于这个答案,但什么都没改变。我将 r8723au 模块列入黑名单以/etc/modprobe.d/blacklist.conf
禁用之前安装的驱动程序,但无线仍然不起作用。
编辑:
lspci | grep Wireless
并且lspci -nnk | grep 0280 -A2
两者都没有输出,但是的输出lsusb
包含无线网卡:
Bus 001 Device 005: ID 0bda:1724 Realtek Semiconductor Corp. RTL8723AU 802.11n WLAN Adapter
编辑2:
输出dmesg | grep 8723
:
[ 4.906937] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723a_fw.bin
[ 5.129061] usb 1-1.4: RTL8723AU rev B (TSMC) 1T1R, TX queues 2, WiFi=1, BT=1, GPS=0, HI PA=0
[ 5.129064] usb 1-1.4: RTL8723AU MAC: 20:16:d8:b0:33:d7
[ 5.129068] usb 1-1.4: rtl8xxxu: Loading firmware rtlwifi/rtl8723aufw_B_NoBT.bin
[ 5.731976] usbcore: registered new interface driver rtl8723au
编辑3:
输出rfkill list all
:
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
4: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
5: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
输出lsmod | grep 8723
:
8723au 892928 0
编辑4:
满的lsmod
:
Module Size Used by
cmac 16384 2
rtsx_usb_ms 20480 0
rtsx_usb_sdmmc 28672 0
memstick 20480 1 rtsx_usb_ms
rtsx_usb 24576 2 rtsx_usb_sdmmc,rtsx_usb_ms
8723au 892928 0
rfcomm 69632 2
arc4 16384 2
bnep 20480 2
rtl8xxxu 73728 0
mac80211 737280 1 rtl8xxxu
cfg80211 565248 1 mac80211
btusb 45056 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 520192 29 bnep,btbcm,btrtl,btusb,rfcomm,btintel
hid_multitouch 20480 0
asix 40960 0
usbnet 45056 1 asix
mii 16384 2 asix,usbnet
uvcvideo 90112 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
hid_sensor_magn_3d 16384 0
videobuf2_v4l2 28672 1 uvcvideo
hid_sensor_accel_3d 16384 0
hid_sensor_gyro_3d 16384 0
hid_sensor_incl_3d 16384 0
hid_sensor_rotation 16384 0
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
v4l2_common 16384 1 videobuf2_v4l2
videodev 176128 4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2
hid_sensor_trigger 16384 10 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_rotation,hid_sensor_magn_3d
industrialio_triggered_buffer 16384 5 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_rotation,hid_sensor_magn_3d
hid_sensor_custom 20480 0
hid_sensor_iio_common 16384 6 hid_sensor_trigger,hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_rotation,hid_sensor_magn_3d
media 24576 2 uvcvideo,videodev
nls_iso8859_1 16384 1
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
snd_hda_codec_hdmi 53248 1
joydev 20480 0
kvm 536576 0
snd_hda_codec_conexant 24576 1
snd_hda_codec_generic 77824 1 snd_hda_codec_conexant
snd_hda_intel 36864 3
snd_hda_codec 135168 4 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
snd_hda_core 73728 5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
aesni_intel 167936 2
snd_rawmidi 32768 1 snd_seq_midi
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
glue_helper 16384 1 aesni_intel
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
ablk_helper 16384 1 aesni_intel
cryptd 20480 2 aesni_intel,ablk_helper
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
input_leds 16384 0
snd_timer 32768 2 snd_pcm,snd_seq
serio_raw 16384 0
snd 81920 17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore 16384 1 snd
mei_me 36864 0
mei 98304 1 mei_me
lpc_ich 24576 0
ideapad_laptop 24576 0
sparse_keymap 16384 1 ideapad_laptop
acpi_als 16384 0
kfifo_buf 16384 2 industrialio_triggered_buffer,acpi_als
industrialio 57344 9 hid_sensor_trigger,hid_sensor_gyro_3d,industrialio_triggered_buffer,hid_sensor_incl_3d,hid_sensor_accel_3d,acpi_als,hid_sensor_rotation,kfifo_buf,hid_sensor_magn_3d
int3400_thermal 16384 0
acpi_thermal_rel 16384 1 int3400_thermal
hid_sensor_hub 20480 8 hid_sensor_trigger,hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_accel_3d,hid_sensor_rotation,hid_sensor_custom,hid_sensor_magn_3d,hid_sensor_iio_common
mac_hid 16384 0
usbhid 49152 0
hid 118784 3 hid_multitouch,hid_sensor_hub,usbhid
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,ppdev,parport_pc
autofs4 40960 2
i915 1208320 3
i2c_algo_bit 16384 1 i915
drm_kms_helper 147456 1 i915
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
psmouse 126976 0
drm 360448 5 i915,drm_kms_helper
ahci 36864 3
libahci 32768 1 ahci
wmi 20480 1 ideapad_laptop
video 40960 2 i915,ideapad_laptop
fjes 28672 0
iwconfig
:
lo no wireless extensions.
wlx2016d8b033d7 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
enxac293adb851c no wireless extensions.
编辑5:
lsmod | grep 8723
:
r8723au 516096 0
cfg80211 565248 1 r8723au
sudo modprobe 8723au
:
modprobe: ERROR: could not insert '8723au': Device or resource busy
答案1
你有两个都本机驱动程序 rtl8xxxu 和已加载的编译驱动程序 8712au。我怀疑它们存在冲突。除非我们发现其他问题,否则我怀疑本机驱动程序会工作得更好。让我们将 8723au 列入黑名单:
sudo -i
echo "blacklist 8723au" >> /etc/modprobe.d/blacklist.conf
exit
重启。
接口是否扫描并查看网络?
sudo iwlist scan
如果它看到网络,它可能会连接。
既然我们知道这是无效的,我们将反转顺序并仅尝试编译的驱动程序。
gksudo gedit /etc/modprobe.d/blacklist.conf
如果您没有文本编辑器 gedit,请使用 nano 或 kate 或 leafpad。更改最后一行,现在内容为:
blacklist 8723au
读书:
blacklist rtl8xxxu
仔细校对,保存并关闭文本编辑器。重新启动。
现在可以扫描吗?
从您的粘贴中,我们发现存在固件问题。让我们尝试更高版本的固件,看看是否有帮助。使用临时可用的互联网连接:
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.158_all.deb
sudo dpkg -i linux-firmware*.deb
sudo modprobe -r r8723au && sudo modprobe r8723au
此外,您的无线网卡处于监控模式;它应该是受管理的:
sudo ifconfig wlx2016d8b033d7 down
sudo iwconfig wlx2016d8b033d7 mode managed
sudo ifconfig wlx2016d8b033d7 up
另外,请确保在网络管理器中,在 WiFi 下,模式是客户端而不是 AdHoc。
有改善吗?
答案2
我没有从命令中获得任何输出lspci -nnk | grep 0280 -A2
,但我从 获得了输出sudo lspci -nnv |grep ualcom
,其中 ualcom 是我的卡名称的一部分。您需要将其替换为您的卡的名称。
我有一台联想 i310,运行 Ubuntu 16.04(内核 4.4)。硬件有 Wi-Fi,我在 Windows 上使用它。Wi-Fi 硬件已打开。但是,当我刚启动笔记本电脑时,Wi-Fi 不起作用。
我的解决方法是:
打开笔记本电脑
按住电源按钮几秒钟
再次打开笔记本电脑
现在,Wi-Fi 神奇地起作用了。
缺点是每次打开笔记本电脑时都需要执行此操作。仍在寻找永久解决方案。
也可以看看 这个帖子