我最近刚在笔记本电脑上安装了 Xubuntu 和 Windows 10。我找不到搜索 Wi-Fi 连接的方法,因为它没有提供选项。我在网上找了找,但没有找到任何有用的方法。
我必须连接到以太网才能运行更新和升级命令,但它仍然无法搜索 Wi-Fi。
rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth hci0 unblocked unblocked
ifconfig
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.168 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::7b5c:dc97:d535:2eee prefixlen 64 scopeid 0x20<link>
ether e4:e7:49:a0:71:51 txqueuelen 1000 (Ethernet)
RX packets 11585 bytes 8686420 (8.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7977 bytes 1095167 (1.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1751 bytes 178413 (178.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1751 bytes 178413 (178.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Intel(R) 100 Series Chipset Family LPC Controller/eSPI Controller - 9D4E (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723
mokutil --sb-state
SecureBoot enabled
编辑:
我关闭了安全启动。虽然这里的建议确实有帮助,但问题并没有完全解决。但我看到 Wi-Fi 断断续续。
关闭安全启动后,我可以看到 Wi-Fi 选项,但它时断时续。它无法保持打开状态。当我看到可用的 Wi-Fi 选项并点击它时,它开始加载并显示一个旋转的圆圈,然后消失并变回向上和向下的箭头↑↓
sudo lsmod
Module Size Used by
ccm 20480 0
bnep 20480 2
nls_iso8859_1 16384 1
arc4 16384 2
rtl8723de 98304 0
btcoexist 434176 1 rtl8723de
snd_hda_codec_hdmi 49152 1
phydm_mod 856064 1 rtl8723de
snd_hda_codec_realtek 106496 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
wmi_bmof 16384 0
hp_wmi 16384 0
sparse_keymap 16384 1 hp_wmi
intel_wmi_thunderbolt 16384 0
rtl8723_common 24576 1 rtl8723de
rtl_pci 32768 1 rtl8723de
uvcvideo 86016 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
videobuf2_core 40960 2 videobuf2_v4l2,uvcvideo
videodev 184320 3 videobuf2_core,videobuf2_v4l2,uvcvideo
media 40960 2 videodev,uvcvideo
intel_rapl 20480 0
snd_soc_skl 90112 0
x86_pkg_temp_thermal 16384 0
snd_soc_skl_ipc 65536 1 snd_soc_skl
intel_powerclamp 16384 0
i915 1617920 4
snd_hda_ext_core 24576 1 snd_soc_skl
coretemp 16384 0
snd_soc_sst_dsp 32768 1 snd_soc_skl_ipc
kvm_intel 212992 0
kvm 598016 1 kvm_intel
snd_soc_sst_ipc 16384 1 snd_soc_skl_ipc
snd_soc_acpi 16384 1 snd_soc_skl
irqbypass 16384 1 kvm
snd_soc_core 241664 1 snd_soc_skl
crct10dif_pclmul 16384 0
snd_compress 20480 1 snd_soc_core
crc32_pclmul 16384 0
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_intel 40960 3
ghash_clmulni_intel 16384 0
snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
pcbc 16384 0
snd_hda_core 81920 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 98304 8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
aesni_intel 188416 0
snd_rawmidi 32768 1 snd_seq_midi
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
glue_helper 16384 1 aesni_intel
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
intel_cstate 20480 0
intel_rapl_perf 16384 0
snd_seq 65536 2 snd_seq_midi,snd_seq_midi_event
rtlwifi 163840 5 rtl_pci,rtl8723de,btcoexist,phydm_mod,rtl8723_common
mac80211 778240 2 rtl_pci,rtlwifi
input_leds 16384 0
joydev 24576 0
serio_raw 16384 0
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 32768 2 snd_seq,snd_pcm
btusb 45056 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
snd 81920 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
btintel 16384 1 btusb
bluetooth 548864 12 btrtl,btintel,btbcm,bnep,btusb
soundcore 16384 1 snd
processor_thermal_device 16384 0
mei_me 40960 0
cfg80211 622592 2 rtlwifi,mac80211
drm_kms_helper 172032 1 i915
ecdh_generic 24576 1 bluetooth
mei 90112 1 mei_me
shpchp 36864 0
intel_soc_dts_iosf 16384 1 processor_thermal_device
drm 401408 5 drm_kms_helper,i915
intel_pch_thermal 16384 0
i2c_algo_bit 16384 1 i915
fb_sys_fops 16384 1 drm_kms_helper
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
wmi 24576 3 hp_wmi,intel_wmi_thunderbolt,wmi_bmof
int3403_thermal 16384 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
video 45056 1 i915
int3400_thermal 16384 0
acpi_thermal_rel 16384 1 int3400_thermal
mac_hid 16384 0
acpi_pad 180224 0
hp_wireless 16384 0
sch_fq_codel 20480 6
parport_pc 36864 0
ppdev 20480 0
lp 20480 0
parport 49152 3 parport_pc,lp,ppdev
ip_tables 28672 0
x_tables 40960 1 ip_tables
autofs4 40960 2
hid_generic 16384 0
usbhid 49152 0
psmouse 147456 0
r8169 86016 0
ahci 40960 4
mii 16384 1 r8169
libahci 32768 1 ahci
i2c_hid 20480 0
hid 118784 3 i2c_hid,usbhid,hid_generic
答案1
进入 BIOS,禁用 SecureBoot。保存并退出。
我/etc/modprobe.d/blacklist.conf
添加了以下行:
blacklist ideapad_laptop
如果您只是想测试此解决方案,请执行以下操作:
sudo rmmod ideapad_laptop
我想你会发现网络立即可用。这在 Ubuntu 18.10 上有效,为什么内核模块被命名ideapad_lenovo
而不是更合乎逻辑的“realtek-something-or-other”?我不知道,问问 Linus。
答案2
我尝试重新安装 Ubuntu,并再次尝试了这里的解决方案。它们没有起作用,但是我确实找到了一个有效的解决方案。我会在这里留下一个链接,供任何遇到此问题并偶然看到这篇文章的人参考。
我搜索了 hp 17-by0021dx 和 RTL8723DE。我想为它们添加标签,但是却找不到。
来自链接(我遵循了第二个选项):
在 Ubuntu 中从 git 源安装:
从以下位置下载 RTL8723DE 驱动程序的 git 源的“.zip”副本https://github.com/lwfinger/rtlwifi_new/archive/extended.zip,提取并按照下面的步骤(2)
或者
确保已安装 git。您可以使用 apt install git 或通过 synaptic/software manager 安装 git。如果您想使用 dkms 制作和安装驱动程序,请确保 dkms 也已安装。您可以在终端中使用以下命令下载并安装:
:~$ sudo apt update && sudo apt install git dkms
RTL8723DE 驱动程序位于 git 扩展分支中。因此,
打开终端:
:~$ cd Downloads :~$ git clone -b extended --single-branch https://github.com/lwfinger/rtlwifi_new.git unofficial :~$ cd rtlwifi_new Now, either you can run: :~/Downloads/rtlwifi_new$ make :~/Downloads/rtlwifi_new$ sudo make install OR use dkms to build and manage the modules: :~/Downloads/rtlwifi_new$ sudo dkms add ../rtlwifi_new :~/Downloads/rtlwifi_new$ sudo dkms build rtlwifi-new/0.6 :~/Downloads/rtlwifi_new$ sudo dkms install rtlwifi-new/0.6 :~/Downloads/rtl-new/rtlwifi_new$ sudo modprobe -v rtl8723de ant_sel=2
^^ 这应该可以工作。如果显示固件错误,请重新启动并工作。请确保您已安装相应内核的 linux-headers 和 build-essential 包。
对我来说,ant_sel=2 显示最大 WiFi 信号增益。因此,我在单独的 conf 文件中添加了以下几行:
:~$ sudo /bin/sh -c 'echo "options rtl8723de ant_sel=2" >> /etc/modprobe.d/rtl8723de.conf'
希望这能有所帮助。如果没有构建,请使用:
:~/Downloads/rtlwifi_new$ sudo dkms install rtlwifi-new/0.6 --force
来源:OP 发布问题更新本身