No WiFi Adapter found

For step one:
I had to find out what kernal version I was using. So I did this:

➜  ~ uname -r
5.4.0-56-generic

Then I usedd that info in the post specified as follows:

sudo apt update && sudo apt install linux-generic-hwe-5.4.0-56-generic linux firmware
.
(a few seconds later...)
.
9.5 kB]
Get:32 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Fetched 966 kB in 2s (517 kB/s)                                                          
Reading package lists... Done
Building dependency tree       
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-generic-hwe-5.4.0-56-generic
E: Couldn't find any package by glob 'linux-generic-hwe-5.4.0-56-generic'
E: Couldn't find any package by regex 'linux-generic-hwe-5.4.0-56-generic'
E: Unable to locate package linux
E: Unable to locate package firmware

I stopped after the first step, because something between where I started and now qued and update and it’s currently being found. Meaning the wifi adapter.

You’re missing a hyphen at the end, try with linux-firmware.

Here is the updated entry per your suggestion:

➜  ~ sudo apt install linux-generic-hwe-5.4.0-56-generic linux-firmware
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-generic-hwe-5.4.0-56-generic
E: Couldn't find any package by glob 'linux-generic-hwe-5.4.0-56-generic'
E: Couldn't find any package by regex 'linux-generic-hwe-5.4.0-56-generic'

I dont think I missed anything…?

Try sudo apt install linux-generic-hwe-18.04 linux-firmware - I know this is weird but there is a package listed as that on Synaptic, so may as well see if the firmware updates using this syntax.
And also try sudo apt full-upgrade

If neither of these help, go to step 2 on my post.

I’ll give it a whirl tomorrow. Thanks for the help again. As you probably suspected, it’s still a problem. But im not giving up.

Your command:

➜  ~ sudo apt install linux-generic-hwe-18.04 linux-firmware
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

Oh My Zsh Reccomended Command:

➜  ~ sudo dpkg --configure -a
Setting up linux-headers-5.4.0-58-generic (5.4.0-58.64~18.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.4.0-58-generic
Error! This module/version has already been built on: 5.4.0-58-generic
Directory: /var/lib/dkms/nvidia/450.80.02/5.4.0-58-generic/x86_64
already exists.  Use the dkms remove function before trying to build again.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j12 KERNELRELEASE=5.4.0-58-generic -C /lib/modules/5.4.0-58-generic/build M=/var/lib/dkms/virtualbox/5.2.42/build.....
Signing module:
 - /var/lib/dkms/virtualbox/5.2.42/5.4.0-58-generic/x86_64/module/vboxpci.ko
 - /var/lib/dkms/virtualbox/5.2.42/5.4.0-58-generic/x86_64/module/vboxnetflt.ko
 - /var/lib/dkms/virtualbox/5.2.42/5.4.0-58-generic/x86_64/module/vboxnetadp.ko
 - /var/lib/dkms/virtualbox/5.2.42/5.4.0-58-generic/x86_64/module/vboxdrv.ko
Secure Boot not enabled on this system.
cleaning build area...

DKMS: build completed.

vboxdrv.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-58-generic/updates/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-58-generic/updates/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-58-generic/updates/

vboxpci.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-58-generic/updates/

depmod...........

DKMS: install completed.
   ...done.
Setting up linux-modules-extra-5.4.0-58-generic (5.4.0-58.64~18.04.1) ...
Setting up linux-image-generic-hwe-18.04 (5.4.0.58.64~18.04.53) ...
Setting up linux-headers-generic-hwe-18.04 (5.4.0.58.64~18.04.53) ...
Setting up linux-generic-hwe-18.04 (5.4.0.58.64~18.04.53) ...
Processing triggers for linux-image-5.4.0-58-generic (5.4.0-58.64~18.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.4.0-58-generic
Error! This module/version has already been built on: 5.4.0-58-generic
Directory: /var/lib/dkms/nvidia/450.80.02/5.4.0-58-generic/x86_64
already exists.  Use the dkms remove function before trying to build again.
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-58-generic
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-5.4.0-58-generic
Found initrd image: /boot/initrd.img-5.4.0-58-generic
Found linux image: /boot/vmlinuz-5.4.0-56-generic
Found initrd image: /boot/initrd.img-5.4.0-56-generic
Found linux image: /boot/vmlinuz-5.4.0-54-generic
Found initrd image: /boot/initrd.img-5.4.0-54-generic
Found Windows Boot Manager on /dev/sdc1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done

full upgrade command:

➜  ~ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-54-generic linux-hwe-5.4-headers-5.4.0-54
  linux-image-5.4.0-54-generic linux-modules-5.4.0-54-generic
  linux-modules-extra-5.4.0-54-generic
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  wine-stable winehq-stable
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Your reccomended command, again, after the oh my zosh reccomendation:

➜  ~ sudo apt install linux-generic-hwe-18.04 linux-firmware
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-firmware is already the newest version (1.173.19).
linux-generic-hwe-18.04 is already the newest version (5.4.0.58.64~18.04.53).
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-54-generic linux-hwe-5.4-headers-5.4.0-54
  linux-image-5.4.0-54-generic linux-modules-5.4.0-54-generic
  linux-modules-extra-5.4.0-54-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Should I uninstall wine? I dont use it that much.

Should I follow the terminal’s advise, I am using ohmyzosh?

Should I use sudo autoremove?

Something I did caused my second monitor not to be recognized and the resolution got reduced… /sigh…

I went to the below filepath and updated the driver to the latest driver I have, problem fixed.

systemtools > software updater > settings

Is this the monitor resolution problem or the WiFi problem that was fixed?
Yes, running the software updater before anything else is a good idea.
For future reference, you can also use xrandr, see first section here: https://wiki.ubuntu.com/X/Config/Resolution#Dynamically_testing_different_resolutions - for the monitor.
Regarding your earlier questions, it’s fine to use autoremove and fine to remove wine.
If this hasn’t fixed your problem, I recommend moving to my earlier suggested step #2.

In the Addional Drivers Tab:

This part is grayed out.

Intel Corp: unknown
this device is not working
*using iwlwifi driver backport in DKMS format from packport-iwlwifi-dkms
*continue using a manually installed driver
*do not use the device (selected)

Does this shed anylight on the problem?

The monitor resolution was fixed, by changing to a newer driver, I dont know why it what i did caused it to revert to an older driver.

Additonally, this seems to be an intermittent error. It’s working fine now, will check back in a week if i have no problems OR if it breaks again.

I installed synaptic, then installed through synaptic first. I used the code below for support measures.

So I attempted step two and Im confused why it failed…

Did I miss a step?
Should I move on to step three?

I appreciate the help! :slight_smile:

➜  ~ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  wine-stable wine-stable-amd64 wine-stable-i386:i386 winehq-stable
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
➜  ~ sudo apt-get install r8168-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
r8168-dkms is already the newest version (8.045.08-2ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
➜  ~ 
➜  ~ dkms status
Error! Could not locate dkms.conf file.
File:  does not exist.
➜  ~ 

To fix the dkms issue, see this: https://askubuntu.com/questions/227258/error-could-not-locate-dkms-conf-file
Do you get any errors with sudo apt update? Can you also check that your repositories generally look like the ones here? Software Updater settings

Wow. Two weeks goes by fast. It was working for a while, but now it’s not again.

“Can you also check that your repositories generally look like the ones here?”
https://drive.google.com/file/d/1YDYCfVn-lXp3F44hAZLhvrK3LvSXFKsV/view?usp=sharing
(not sure how to crop, link to picture)

" Do you get any errors with sudo apt update?"

  • Code below, but no. Out of time tonight, will work on the dkms issue tomorrow and report back.
  • The four packages are wine packages that are held back.
➜  ~ sudo apt update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://dl.yarnpkg.com/debian stable InRelease                                     
Hit:3 https://cli.github.com/packages bionic InRelease                                   
Hit:4 https://brave-browser-apt-release.s3.brave.com stable InRelease                    
Ign:5 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 InRelease               
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic InRelease                               
Hit:7 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 Release                 
Get:8 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]             
Hit:9 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                          
Get:10 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]             
Hit:11 https://packages.zorinos.com/stable bionic InRelease                              
Hit:12 http://ppa.launchpad.net/agornostal/ulauncher/ubuntu bionic InRelease             
Hit:13 https://packages.zorinos.com/patches bionic InRelease                             
Get:14 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]          
Hit:15 https://packages.zorinos.com/apps bionic InRelease                                
Hit:17 https://packages.zorinos.com/drivers bionic InRelease                             
Hit:18 http://ppa.launchpad.net/teejee2008/timeshift/ubuntu bionic InRelease             
Hit:19 https://packages.zorinos.com/premium bionic InRelease                             
Hit:20 http://ppa.launchpad.net/zorinos/apps/ubuntu bionic InRelease                     
Hit:21 https://deb.nodesource.com/node_15.x bionic InRelease                             
Hit:22 http://ppa.launchpad.net/zorinos/drivers/ubuntu bionic InRelease                  
Hit:23 http://ppa.launchpad.net/zorinos/patches/ubuntu bionic InRelease        
Hit:24 http://ppa.launchpad.net/zorinos/stable/ubuntu bionic InRelease         
Fetched 252 kB in 2s (140 kB/s)                     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.

Try attaching the screenshot using the “upload” button when you’re writing a post. But you don’t have to attach your earlier screenshot. Can you show me what you have for the “Other Software” tab? Just your tab, no need to post a picture of the thread where I posted my settings. The google drive pic was very difficult to see.

After that, try whichever of the steps here have not been tried.

■■■■ wrong photo…

I don’t see two repositories: packages.zorinos.com and ppa.launchpad.net/zorinos/patches
I strongly recommend you check yourself as well by comparing yours to Software Updater settings - I’m only human and could have missed others.
Once you add these (and any others that may be missing), run the software updater and install any necessary updates. I also recommend that you change the “Download From” to Main Server, if you haven’t so already.
See how it goes after the updates.
Given that the adapter worked fine for two weeks, there is a chance that the hardware may also be failing.

Ive been very busy, i havent had a chance to work on it yet, but i’ll post here as soon as I do. Thanks again @carmar.

upgrade driver and service start

1 Like