Wifi icon disappeared unable to connect to the internet

Hi all, if anyone can help me with this it would be much appreciated.

I was attempting to install VirtualBox and was receiving "kernel driver not installed (rc=1908) error message. Upon searching the forums an apparent fix was to disable the security boot and use the command…

sudo dnf install make gcc dkms kernel-devel kernel-headers

This resolved the problem and I was able to launch VirtualBox after rebooting however this immediately introduced issues.

  1. The overall performance of the OS was very sluggish.
  2. Options in the menu such as Wifi, Blutooth and others have disappeared.
  3. I am unable to connect to the Wifi.

I attempted to undo the changes using the command…

sudo dnf remove make gcc dkms kernel-devel kernel-headers

I also re-enabled the security boot to no avail.

I have attached an image of the menu showing the missing icons. Another thing I noticed is that the brightness button no longer works and the volume buttons state dummy output now.

Any help with this would be really appreciated. I’m so stressed about it.

Additional info:
Lenovo X1 7th gen
Firmware version - N2HET75W (1.58)
OS - fedora 38
GNOME version - 44.5
Kernel version - Linux 6.7.3-100.fc38.x86_64

Did you install VirtualBox from oracle or from rpmfusion.

I installed it from rpmfusion and the package automatically pulled in the dependencies needed to compile the driver. I have never had an issue with VB.

The driver module vboxdrv is automatically built when installing VB from rpmfusion. It does require a reboot the first time to load the driver but after that the driver is loaded automatically and updated for each kernel update.

It seems from the necessity to install those packages that it may have come from a different source. I understand that even when installing from the oracle site it is supposed to pull in all the needed packages to compile and run.

Installing or removing those packages should have no affect on system performance since those are only used to compile software and do not influence running that software. They are not active except while actually performing a compile.

Run the command lsmod | grep box and see if the module ‘vboxdrv’ appears in the list.
If it does you can prevent it from loading during boot by pressing e at the grub menu then adding rd.driver.blacklist=vboxdrv into the line that begins with linux then continue booting.

After the boot completes repeat the lsmod command above and verify the driver did not load. Then check and see if the performance improves and if wifi is now active. If this makes a difference then it would seem that the driver as installed may be the cause.