wifi not working and not found

Asked by Ethan Lin on 2020-03-20

I have a hp-notebook and installed 19.10 alpha on it, then came around to upgrade it to the development branch and the wifi stops working on the kernels above 5.2. It works perfectly fine in 5.2. I tried to fix the issue but I made it worse . I tried to install the new driver using modprobe and got operation not permitted even as root. Now i have no wifi!! What do I do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2020-03-25
Last query:
2020-03-25
Last reply:
2020-03-25
Manfred Hampl (m-hampl) said : #1

For diagnostic purposes please follow
https://help.ubuntu.com/community/WirelessTroubleshootingProcedure
with the only deviation, that in step 3 you should not create a new question, but paste all output into this question document that you have already created.

Ethan Lin (mainsystemadmin) said : #2

Err:1 http://us.archive.ubuntu.com/ubuntu devel InRelease
  Temporary failure resolving 'us.archive.ubuntu.com'
Err:2 http://dl.google.com/linux/chrome/deb stable InRelease
  Temporary failure resolving 'dl.google.com'
Err:3 http://archive.ubuntu.com/ubuntu devel InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://security.ubuntu.com/ubuntu devel-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
Err:5 http://archive.canonical.com/ubuntu devel InRelease
  Temporary failure resolving 'archive.canonical.com'
Err:6 http://us.archive.ubuntu.com/ubuntu devel-updates InRelease
  Temporary failure resolving 'us.archive.ubuntu.com'
Err:7 http://archive.ubuntu.com/ubuntu devel-updates InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:8 http://us.archive.ubuntu.com/ubuntu devel-backports InRelease
  Temporary failure resolving 'us.archive.ubuntu.com'
Err:9 http://archive.ubuntu.com/ubuntu devel-backports InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:10 http://archive.ubuntu.com/ubuntu devel-security InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:11 http://archive.ubuntu.com/ubuntu devel-proposed InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/devel/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/devel/InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/devel-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/devel-updates/InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/devel-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/devel-backports/InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/devel/InRelease Temporary failure resolving 'archive.canonical.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/devel-security/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/devel-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/devel-proposed/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Temporary failure resolving 'dl.google.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
grep is already the newest version (3.4-1).
pciutils is already the newest version (1:3.6.4-1).
rfkill is already the newest version (2.34-0.1ubuntu8).
rfkill set to manually installed.
usbutils is already the newest version (1:012-2).
The following additional packages will be installed:
  libhd21 libx86emu2
The following NEW packages will be installed:
  hwinfo libhd21 libx86emu2
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 793 kB of archives.
After this operation, 3,498 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://archive.ubuntu.com/ubuntu devel/universe amd64 libx86emu2 amd64 2.4-1
  Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu devel/universe amd64 libhd21 amd64 21.68-1
  Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu devel/universe amd64 hwinfo amd64 21.68-1
  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/libx/libx86emu/libx86emu2_2.4-1_amd64.deb Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/h/hwinfo/libhd21_21.68-1_amd64.deb Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/h/hwinfo/hwinfo_21.68-1_amd64.deb Temporary failure resolving 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  *-network UNCLAIMED
       description: Network controller
       product: RTL8188EE Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress cap_list
       configuration: latency=0
       resources: ioport:3000(size=256) memory:f0c00000-f0c03fff
  *-network
       description: Ethernet interface
       product: RTL810xE PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 07
       serial: 3c:52:82:09:25:40
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII
       resources: irq:34 ioport:2000(size=256) memory:f0b00000-f0b00fff memory:f0800000-f0803fff
enp3s0 Interface doesn't support scanning.

lo Interface doesn't support scanning.

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu Focal Fossa (development branch)"
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
 DeviceName: Shanks2
 Subsystem: Hewlett-Packard Company RTL8188EE Wireless Network Adapter [103c:81bf]
 Kernel modules: rtl8188ee
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 07)
 Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller [103c:81f5]
 Kernel driver in use: r8169
 Kernel modules: r8169
Bus 002 Device 003: ID 05c8:022a Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. Root Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. Root Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
disconnected none enabled enabled enabled enabled
H/W path Device Class Description
==========================================================
                                   system HP Notebook (X7T78UA#ABA)
/0 bus 82F6
/0/0 memory 128KiB BIOS
/0/4 processor AMD A6-7310 APU with AMD Radeon R
/0/4/5 memory 256KiB L1 cache
/0/4/6 memory 2MiB L2 cache
/0/1f memory 6GiB System Memory
/0/1f/0 memory 2GiB SODIMM DDR3 Synchronous Unbu
/0/1f/1 memory 4GiB SODIMM DDR3 Synchronous Unbu
/0/100 bridge Family 16h (Models 30h-3fh) Proce
/0/100/1 display Mullins [Radeon R4/R5 Graphics]
/0/100/1.1 multimedia Kabini HDMI/DP Audio
/0/100/2.1 bridge Family 16h Processor Functions 5:
/0/100/2.4 bridge Family 16h Processor Functions 5:
/0/100/2.4/0 network RTL8188EE Wireless Network Adapte
/0/100/2.5 bridge Family 16h Processor Functions 5:
/0/100/2.5/0 enp3s0 network RTL810xE PCI Express Fast Etherne
/0/100/8 generic Kabini/Mullins PSP-Platform Secur
/0/100/10 bus FCH USB XHCI Controller
/0/100/10/0 usb3 bus xHCI Host Controller
/0/100/10/0/2 scsi2 storage Mass Storage
/0/100/10/0/2/0.0.0 /dev/sdb disk 1006MB Flash Disk
/0/100/10/0/2/0.0.0/0 /dev/sdb volume 960MiB Windows FAT volume
/0/100/10/1 usb4 bus xHCI Host Controller
/0/100/11 scsi0 storage FCH SATA Controller [AHCI mode]
/0/100/11/0 /dev/sda disk 2TB WDC WD20SPZX-00U
/0/100/11/0/1 volume 511MiB Windows FAT volume
/0/100/11/0/2 /dev/sda2 volume 1862GiB LVM Physical Volume
/0/100/11/1 /dev/cdrom disk DVDRW GUE1N
/0/100/12 bus FCH USB EHCI Controller
/0/100/12/1 usb1 bus EHCI Host Controller
/0/100/12/1/1 bus Root Hub
/0/100/13 bus FCH USB EHCI Controller
/0/100/13/1 usb2 bus EHCI Host Controller
/0/100/13/1/1 bus Root Hub
/0/100/13/1/1/1 multimedia HP Webcam
/0/100/14 bus FCH SMBus Controller
/0/100/14.2 multimedia FCH Azalia Controller
/0/100/14.3 bridge FCH LPC Bridge
/0/100/14.7 generic FCH SD Flash Controller
/0/101 bridge Family 16h (Models 30h-3fh) Host
/0/102 bridge Family 16h (Models 30h-3fh) Proce
/0/103 bridge Family 16h (Models 30h-3fh) Proce
/0/104 bridge Family 16h (Models 30h-3fh) Proce
/0/105 bridge Family 16h (Models 30h-3fh) Proce
/0/106 bridge Family 16h (Models 30h-3fh) Proce
/0/107 bridge Family 16h (Models 30h-3fh) Proce
/0/1 system PnP device PNP0c02
/0/2 system PnP device PNP0b00
/0/3 generic PnP device HPQ8001
/0/5 generic PnP device SYN3222
/0/6 system PnP device PNP0c02
/0/7 system PnP device PNP0c01
/1 power HS03031
Linux hp-notebook 5.4.0-18-generic #22-Ubuntu SMP Sat Mar 7 18:13:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[ 0.011269] No NUMA configuration found
[ 0.212837] APIC: Switch to symmetric I/O mode setup
[ 0.237901] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.422065] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 0.456524] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.WLBU._STA.WLVD], AE_NOT_FOUND (20190816/psargs-330)
               Initialized Local Variables for Method [_STA]:
[ 0.456547] No Arguments are initialized for method [_STA]
[ 0.456550] ACPI Error: Aborting method \_SB.WLBU._STA due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
[ 0.459195] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 0.464201] pci 0000:02:00.0: [10ec:8179] type 00 class 0x028000
[ 0.464231] pci 0000:02:00.0: reg 0x10: [io 0x3000-0x30ff]
[ 0.464259] pci 0000:02:00.0: reg 0x18: [mem 0xf0c00000-0xf0c03fff 64bit]
[ 0.464370] pci 0000:02:00.0: supports D1 D2
[ 0.464372] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.532090] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.WLBU._STA.WLVD], AE_NOT_FOUND (20190816/psargs-330)
               Initialized Local Variables for Method [_STA]:
[ 0.532113] No Arguments are initialized for method [_STA]
[ 0.532116] ACPI Error: Aborting method \_SB.WLBU._STA due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
[ 0.533223] usbcore: registered new interface driver usbfs
[ 0.533223] usbcore: registered new interface driver hub
[ 0.533223] usbcore: registered new device driver usb
[ 0.536910] clocksource: Switched to clocksource tsc-early
[ 0.602305] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.WLBU._STA.WLVD], AE_NOT_FOUND (20190816/psargs-330)
               Initialized Local Variables for Method [_STA]:
[ 0.602334] No Arguments are initialized for method [_STA]
[ 0.602337] ACPI Error: Aborting method \_SB.WLBU._STA due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
[ 0.602552] pnp: PnP ACPI: found 6 devices
[ 0.947378] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
[ 0.947406] ACPI: Lid Switch [LID]
[ 0.953351] tpm_crb: probe of MSFT0101:00 failed with error -16
[ 0.958249] ehci-pci 0000:00:12.0: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[ 0.972188] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 0.972190] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.972193] usb usb1: Product: EHCI Host Controller
[ 0.972195] usb usb1: Manufacturer: Linux 5.4.0-18-generic ehci_hcd
[ 0.972197] usb usb1: SerialNumber: 0000:00:12.0
[ 0.972530] hub 1-0:1.0: USB hub found
[ 0.973044] ehci-pci 0000:00:13.0: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[ 0.988177] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 0.988180] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.988182] usb usb2: Product: EHCI Host Controller
[ 0.988184] usb usb2: Manufacturer: Linux 5.4.0-18-generic ehci_hcd
[ 0.988186] usb usb2: SerialNumber: 0000:00:13.0
[ 0.988532] hub 2-0:1.0: USB hub found
[ 0.989775] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 0.989778] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.989780] usb usb3: Product: xHCI Host Controller
[ 0.989782] usb usb3: Manufacturer: Linux 5.4.0-18-generic xhci-hcd
[ 0.989784] usb usb3: SerialNumber: 0000:00:10.0
[ 0.989967] hub 3-0:1.0: USB hub found
[ 0.992811] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 0.992857] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 0.992859] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.992861] usb usb4: Product: xHCI Host Controller
[ 0.992863] usb usb4: Manufacturer: Linux 5.4.0-18-generic xhci-hcd
[ 0.992865] usb usb4: SerialNumber: 0000:00:10.0
[ 0.993045] hub 4-0:1.0: USB hub found
[ 1.082052] RAS: Correctable Errors collector initialized.
[ 1.082605] Can not register tracer hwlat due to lockdown
[ 1.125504] integrity: Loaded X.509 cert 'Hewlett-Packard Company: HP UEFI Secure Boot 2013 DB key: 1d7cf2c2b92673f69c8ee1ec7063967ab9b62bec'
[ 1.127020] ima: No TPM chip found, activating TPM-bypass!
[ 1.127055] ima: No architecture policies found
[ 1.169704] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 1.304897] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 1.320895] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 1.333436] usb 1-1: New USB device found, idVendor=0438, idProduct=7900, bcdDevice= 0.18
[ 1.333441] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.333856] hub 1-1:1.0: USB hub found
[ 1.353473] usb 2-1: New USB device found, idVendor=0438, idProduct=7900, bcdDevice= 0.18
[ 1.353480] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.353920] hub 2-1:1.0: USB hub found
[ 1.368299] wmi_bus wmi_bus-PNP0C14:00: WQBJ data block query control method not found
[ 1.422897] sdhci-pci 0000:00:14.7: SDHCI controller found [1022:7813] (rev 1)
[ 1.429772] r8169 0000:03:00.0 eth0: RTL8106e, 3c:52:82:09:25:40, XID 449, IRQ 35
[ 1.474478] r8169 0000:03:00.0 enp3s0: renamed from eth0
[ 1.645043] usb 2-1.1: new high-speed USB device number 3 using ehci-pci
[ 1.703914] usb 2-1.1: New USB device found, idVendor=05c8, idProduct=022a, bcdDevice= 1.01
[ 1.703918] usb 2-1.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 1.703920] usb 2-1.1: Product: HP Webcam
[ 1.703922] usb 2-1.1: Manufacturer: Generic
[ 1.703924] usb 2-1.1: SerialNumber: 200901010001
[ 1.937092] clocksource: Switched to clocksource tsc
[ 2.538481] Console: switching to colour frame buffer device 240x67
[ 7.687752] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[ 8.658707] systemd[1]: /lib/systemd/system/rpc-statd.service:16: PIDFile= references a path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
[ 9.170706] systemd[1]: /lib/systemd/system/gpsd.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/gpsd.sock → /run/gpsd.sock; please update the unit file accordingly.
[ 9.217031] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[ 9.556210] systemd[1]: Started Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
[ 9.632444] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
[ 9.940440] lp: driver loaded but no devices found
[ 19.493470] input: HP Wireless hotkeys as /devices/virtual/input/input7
[ 20.525863] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 20.529561] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 22.243481] fb0: switching to radeondrmfb from EFI VGA
[ 22.243723] Console: switching to colour dummy device 80x25
[ 23.914117] [drm] Found UVD firmware Version: 1.64 Family ID: 9
[ 23.934531] [drm] Found VCE firmware/feedback version 40.2.2 / 15!
[ 24.694962] Console: switching to colour frame buffer device 240x67
[ 25.864163] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input9
[ 25.864280] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:14.2/sound/card1/input10
[ 25.971483] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/sound/card0/input11
[ 26.261641] uvcvideo: Found UVC 1.00 device HP Webcam (05c8:022a)
[ 26.272485] input: HP Webcam: HP Webcam as /devices/pci0000:00/0000:00:13.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input12
[ 26.272652] usbcore: registered new interface driver uvcvideo
[ 82.273869] audit: type=1107 audit(1585064414.640:48): pid=917 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/systemd1" interface="org.freedesktop.systemd1.Manager" member="GetDynamicUsers" mask="send" name="org.freedesktop.systemd1" pid=1271 label="/usr/bin/freshclam" peer_pid=1 peer_label="unconfined"
[ 1297.164891] usb 3-2: new high-speed USB device number 2 using xhci_hcd
[ 1297.195677] usb 3-2: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.00
[ 1297.195685] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1297.195691] usb 3-2: Product: Mass Storage
[ 1297.195695] usb 3-2: Manufacturer: Generic
[ 1297.195699] usb 3-2: SerialNumber: D009FCA2
[ 1297.653583] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 1297.654401] scsi host2: usb-storage 3-2:1.0
[ 1297.655677] usbcore: registered new interface driver usb-storage
[ 1297.682097] usbcore: registered new interface driver uas
 Release Date: 06/15/2017
 Manufacturer: HP
 Product Name: HP Notebook
 Version: Type1ProductConfigId
 Serial Number: CND710446Y
 Manufacturer: HP
 Product Name: 82F6
 Serial Number: PFXMEK2WV68W5S
 Manufacturer: HP
 Serial Number: Chassis Serial Number
 Manufacturer: Advanced Micro Devices, Inc.
 Serial Number: Unknown
 Manufacturer: Samsung
 Serial Number: 845795AA
 Manufacturer: Kingston
 Serial Number: 122092B8
 Manufacturer: 131-42-6E
 Manufacture Date: <null string>
 Serial Number: <null string>
enp3s0 no wireless extensions.

lo no wireless extensions.

/etc/modprobe.d/alsa-base.conf:install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
/etc/modprobe.d/blacklist-ath_pci.conf:# which ath5k cannot recover. To prevent this condition, stop
/etc/modprobe.d/blacklist-ath_pci.conf:blacklist ath_pci
/etc/modprobe.d/blacklist.conf:blacklist eth1394
/etc/modprobe.d/blacklist.conf:# replaced by p54pci
/etc/modprobe.d/blacklist.conf:blacklist prism54
/etc/modprobe.d/blacklist.conf:# replaced by b43 and ssb.
/etc/modprobe.d/blacklist.conf:blacklist bcm43xx
/etc/modprobe.d/blacklist-oss.conf:blacklist uart6850
/etc/modprobe.d/iwlwifi.conf:# /etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/iwlwifi.conf:# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
/etc/modprobe.d/iwlwifi.conf:# microcode file installed on the system. When removing iwlwifi, first
/etc/modprobe.d/iwlwifi.conf:# remove the iwl?vm module and then iwlwifi.
/etc/modprobe.d/iwlwifi.conf:remove iwlwifi \
/etc/modprobe.d/iwlwifi.conf:(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
/etc/modprobe.d/iwlwifi.conf:&& /sbin/modprobe -r mac80211
cat: /var/lib/NetworkManager/NetworkManager.state: Permission denied
sudo: hwinfo: command not found
root 918 0.0 0.3 261864 19268 ? Ssl 11:39 0:00 /usr/sbin/NetworkManager --no-daemon
root 934 0.0 0.4 39248 20264 ? Ss 11:39 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root 960 0.0 0.1 13644 4900 ? Ss 11:39 0:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
adminis+ 3717 0.0 0.0 9036 2656 pts/0 S+ 12:01 0:00 grep --color=auto -E wpa|icd|etwork
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0
total 205084
51249153 drwxr-xr-x 4 root root 4096 Mar 16 16:38 .
       2 drwxr-xr-x 20 root root 4096 Aug 26 2019 ..
51249446 -rw-r--r-- 1 root root 233570 Aug 23 2019 config-5.2.0-15-generic
51249445 -rw-r--r-- 1 root root 237694 Feb 20 12:42 config-5.4.0-15-generic
51249463 -rw-r--r-- 1 root root 237651 Mar 7 11:23 config-5.4.0-18-generic
       1 drwx------ 3 root root 4096 Dec 31 1969 efi
51249155 drwxr-xr-x 5 root root 4096 Mar 16 16:38 grub
51249163 lrwxrwxrwx 1 root root 27 Mar 16 10:30 initrd.img -> initrd.img-5.4.0-18-generic
51249161 -rw-r--r-- 1 root root 52526188 Feb 22 14:31 initrd.img-5.2.0-15-generic
51249451 -rw-r--r-- 1 root root 53760466 Mar 16 10:42 initrd.img-5.4.0-15-generic
51249454 -rw-r--r-- 1 root root 53763645 Mar 16 10:43 initrd.img-5.4.0-18-generic
51249162 lrwxrwxrwx 1 root root 27 Mar 16 10:30 initrd.img.old -> initrd.img-5.4.0-15-generic
51249453 -rw-r--r-- 1 root root 182704 Feb 13 18:09 memtest86+.bin
51249464 -rw-r--r-- 1 root root 184380 Feb 13 18:09 memtest86+.elf
51249465 -rw-r--r-- 1 root root 184884 Feb 13 18:09 memtest86+_multiboot.bin
51249167 -rw------- 1 root root 4656473 Aug 23 2019 System.map-5.2.0-15-generic
51249168 -rw------- 1 root root 4730557 Feb 20 12:42 System.map-5.4.0-15-generic
51249160 -rw------- 1 root root 4732337 Mar 7 11:23 System.map-5.4.0-18-generic
51249159 lrwxrwxrwx 1 root root 24 Mar 16 10:30 vmlinuz -> vmlinuz-5.4.0-18-generic
51249449 -rw------- 1 root root 11223800 Aug 23 2019 vmlinuz-5.2.0-15-generic
51249452 -rw------- 1 root root 11645688 Feb 20 12:46 vmlinuz-5.4.0-15-generic
51249466 -rw------- 1 root root 11649784 Mar 7 11:25 vmlinuz-5.4.0-18-generic
51249455 lrwxrwxrwx 1 root root 24 Mar 16 10:30 vmlinuz.old -> vmlinuz-5.4.0-15-generic
Support status summary of 'hp-notebook':

You have 1885 packages (88.2%) supported until January 2021 (Canonical - 9m)

You have 57 packages (2.7%) that can not/no-longer be downloaded
You have 195 packages (9.1%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: pci-ids.ucw.cz
update-pciids: download failed
sudo: update-usbids: command not found
Module Size Used by
uas 28672 0
usb_storage 77824 2 uas
nls_iso8859_1 16384 2
edac_mce_amd 32768 0
kvm 663552 0
crct10dif_pclmul 16384 1
ghash_clmulni_intel 16384 0
aesni_intel 372736 0
crypto_simd 16384 1 aesni_intel
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
glue_helper 16384 1 aesni_intel
amdgpu 4575232 0
uvcvideo 98304 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
amd_iommu_v2 20480 1 amdgpu
videobuf2_common 49152 2 videobuf2_v4l2,uvcvideo
snd_hda_codec_hdmi 61440 1
videodev 225280 3 videobuf2_v4l2,uvcvideo,videobuf2_common
snd_hda_codec_realtek 118784 1
mc 53248 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_hda_codec_generic 81920 1 snd_hda_codec_realtek
gpu_sched 32768 1 amdgpu
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_intel 49152 7
snd_intel_nhlt 20480 1 snd_hda_intel
snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 90112 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi 20480 0
radeon 1474560 12
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 36864 1 snd_seq_midi
ttm 106496 2 amdgpu,radeon
drm_kms_helper 184320 2 amdgpu,radeon
mac80211 843776 0
drm 491520 8 gpu_sched,drm_kms_helper,amdgpu,radeon,ttm
cfg80211 704512 1 mac80211
libarc4 16384 1 mac80211
snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event
hp_wmi 16384 0
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 36864 2 snd_seq,snd_pcm
i2c_algo_bit 16384 2 amdgpu,radeon
fb_sys_fops 16384 1 drm_kms_helper
joydev 24576 0
syscopyarea 16384 1 drm_kms_helper
snd 90112 25 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_pcm,snd_rawmidi
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
input_leds 16384 0
k10temp 16384 0
fam15h_power 16384 0
sparse_keymap 16384 1 hp_wmi
wmi_bmof 16384 0
serio_raw 20480 0
soundcore 16384 1 snd
ccp 86016 0
mac_hid 16384 0
hp_wireless 16384 0
sch_fq_codel 20480 2
nfsd 401408 13
auth_rpcgss 94208 1 nfsd
nfs_acl 16384 1 nfsd
lockd 102400 1 nfsd
parport_pc 40960 0
grace 16384 2 nfsd,lockd
sunrpc 393216 18 nfsd,auth_rpcgss,lockd,nfs_acl
ppdev 24576 0
lp 20480 0
parport 53248 3 parport_pc,lp,ppdev
ip_tables 32768 0
x_tables 40960 1 ip_tables
autofs4 45056 2
sdhci_pci 53248 0
crc32_pclmul 16384 0
psmouse 155648 0
cqhci 28672 1 sdhci_pci
r8169 90112 0
sdhci 65536 1 sdhci_pci
realtek 24576 0
ahci 40960 2
i2c_piix4 28672 0
libahci 32768 1 ahci
wmi 32768 2 hp_wmi,wmi_bmof
i2c_scmi 20480 0
video 49152 0

Manfred Hampl (m-hampl) said : #3

The wireless troubleshooting procedure requires that the computer is (temporarily) connect to the internet.
Do you have a chance to plug your computer into a wired network with internet access?
What is the full output of the command

sudo modprobe -v rtl8188ee

Ethan Lin (mainsystemadmin) said : #4

wired/ethernet/lan/wan doesn't work either.
i can give you the output, though

Ethan Lin (mainsystemadmin) said : #5

modprobe: FATAL: Module rtl818ee not found in directory /lib/modules/5.4.0-18-generic

Manfred Hampl (m-hampl) said : #6

Typo error (an 8 missing), please try again

sudo modprobe -v rtl8188ee

Ethan Lin (mainsystemadmin) said : #7

lol thx man.

Ethan Lin (mainsystemadmin) said : #8

:)

Ethan Lin (mainsystemadmin) said : #9

insmod /lib/modules/5.4.0-18-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
modprobe: ERROR: could not insert 'rtl8188ee': Operation not permitted

Manfred Hampl (m-hampl) said : #15

What is the output of

modinfo /lib/modules/5.4.0-18-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rtl8188ee.ko

Ethan Lin (mainsystemadmin) said : #16

filename: /lib/modules/5.4.0-18-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rtl8188ee.ko
firmware: rtlwifi/rtl8188efw.bin
description: Realtek 8188E 802.11n PCI wireless
license: GPL
author: Larry Finger <email address hidden>
author: Realtek WlanFAE <email address hidden>
author: zhiyuan_yang <email address hidden>
srcversion: 22A8EA2CD43AE1701E2F865
alias: pci:v000010ECd00008179sv*sd*bc*sc*i*
depends: rtlwifi,rtl_pci,mac80211
retpoline: Y
name: rtl8188ee
vermagic: 5.4.0-18-generic SMP mod_unload
parm: swenc:Set to 1 for software crypto (default 0)
 (bool)
parm: ips:Set to 0 to not use link power save (default 1)
 (bool)
parm: swlps:Set to 1 to use SW control power save (default 0)
 (bool)
parm: fwlps:Set to 1 to use FW control power save (default 1)
 (bool)
parm: msi:Set to 1 to use MSI interrupts mode (default 1)
 (bool)
parm: debug:Set debug level (0-5) (default 0) (int)
parm: disable_watchdog:Set to 1 to disable the watchdog (default 0)
 (bool)

Manfred Hampl (m-hampl) said : #17

What is the output of the commands

sudo modprobe -v rtlwifi
sudo modprobe -v rtl_pci
sudo modprobe -v mac80211
modinfo /lib/modules/5.4.0-18-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko

Ethan Lin (mainsystemadmin) said : #18

insmod /lib/modules/5.4.0-18-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
modprobe: ERROR: could not insert 'rtlwifi': Operation not permitted
insmod /lib/modules/5.4.0-18-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
modprobe: ERROR: could not insert 'rtl_pci': Operation not permitted
sudo modprobe -v mac80211 returned no output
filename: /lib/modules/5.4.0-18-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
description: Realtek 802.11n PCI wireless core
license: GPL
author: Larry Finger <email address hidden>
author: Realtek WlanFAE <email address hidden>
author: lizhaoming <email address hidden>
srcversion: 8314A91F15FE35C9525C5B5
depends: mac80211,cfg80211
retpoline: Y
name: rtlwifi
vermagic: 5.4.0-18-generic SMP mod_unload

Manfred Hampl (m-hampl) said : #19

The problem seems to be with the rtlwifi.ko kernel module.

What output do you receive for

sudo insmod rtlwifi
dmesg | tail

Ethan Lin (mainsystemadmin) said : #20

insmod: ERROR: could not load module rtlwifi: No such file or directory
[ 9311.123074] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 9311.123754] scsi host2: usb-storage 3-2:1.0
[ 9312.146493] scsi 2:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
[ 9312.147375] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 9312.148481] sd 2:0:0:0: [sdb] 1966080 512-byte logical blocks: (1.01 GB/960 MiB)
[ 9312.149209] sd 2:0:0:0: [sdb] Write Protect is off
[ 9312.149215] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 9312.149973] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 9312.177049] sdb:
[ 9312.180140] sd 2:0:0:0: [sdb] Attached SCSI removable disk

Manfred Hampl (m-hampl) said : #21

Maybe my fault, try

sudo insmod /lib/modules/5.4.0-18-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
dmesg | tail

and copy/paste the results

Ethan Lin (mainsystemadmin) said : #22

insmod: ERROR: could not insert module /lib/modules/5.4.0-18-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko: Operation not permitted
[10315.155510] scsi host2: usb-storage 3-2:1.0
[10316.179323] scsi 2:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
[10316.180253] sd 2:0:0:0: Attached scsi generic sg2 type 0
[10316.181729] sd 2:0:0:0: [sdb] 1966080 512-byte logical blocks: (1.01 GB/960 MiB)
[10316.182462] sd 2:0:0:0: [sdb] Write Protect is off
[10316.182469] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[10316.183413] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[10316.209520] sdb:
[10316.212266] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[10334.973169] Lockdown: insmod: unsigned module loading is restricted; see man kernel_lockdown.7

Manfred Hampl (m-hampl) said : #23

Ok, there is an error message:
Lockdown: insmod: unsigned module loading is restricted; see man kernel_lockdown.7

What is the source of the rtlwifi kernel modules?
Are those the original ones delivered with the Ubuntu kernel, or have you tried downloading and compiling then from elsewhere (e.g. from L. Finger's git)?

Ethan Lin (mainsystemadmin) said : #24

so the original was from the computer it didn't work then I tried installing it from github and compiling it

Manfred Hampl (m-hampl) said : #25

Apparently you are booting your computer in EFI secure boot mode.

I assume that you have two possibilities:
1. revert to the (signed) modules delivered with Ubuntu. I do not know what the problem was that this did not work for you.
or
2. continue using L. Finger's version, but then you have to disable EFI secure boot (or at least disable module signature checking).

Ethan Lin (mainsystemadmin) said : #26

The 1st option you mentioned doesn't work with kernels above 5.2 I will get activation of network error all the time and can you walk me through the second one?

Ethan Lin (mainsystemadmin) said : #27

Also if I revert to the 1st option mentioned above, how do I make it so it works for kernels above 5.2?

Best Manfred Hampl (m-hampl) said : #28

I do not understand why the rtl kernel modules delivered as part of the kernel should be not working (with a kernel above 5.2).
Was there an error message?

My first suggestion is deleting the L. Finger modules and reinstalling the original kernel packages.

Ethan Lin (mainsystemadmin) said : #29

The error message was "Activation of network failed."

Ethan Lin (mainsystemadmin) said : #30

How do i reinstall the original kernel package and from where?

Ethan Lin (mainsystemadmin) said : #32

I turned off secure boot and wifi works!!!!!! YES!!!!!

Ethan Lin (mainsystemadmin) said : #33

Thanks Manfred Hampl, that solved my question.