So their is a weird error. Every once in a while, I boot up linux, and there is no WiFi Adapter found. I restart boot into windows, use windows for a bit. Upon next Linux boot up it’s back.
Custom Built Desktop PC, windows 10 / zorin os 15 - ult (dual boot)
Help me to fix this issue.
If you want more information please let me know.
No LSB modules are available.
Distributor ID: Zorin
Description: Zorin OS 15.3
Release: 15
Codename: bionic
For some reason zorin updated and now it is detecting the Wi-Fi adapter… I’ll check in a few days or so. If it’s still here, I’ll accept your latest answer as the answer. Thanks for all the help @carmar!
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.
➜ ~ 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'
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.
➜ ~ 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?
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.
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)