How to fix WiFi issues on ZED Box Orin NX after updates?

Issue

After daily operating system updates, the WiFi module on the ZED Box Orin NX may stop working.

Cause

This issue occurs when the Ubuntu Software Updater or apt installs an incorrect WiFi driver.

Solution

Follow these steps to remove the incorrect driver and reload the correct one:

1. Remove the incorrect driver file

Run the following command to delete the problematic firmware file:

sudo rm /lib/firmware/iwlwifi-ty-a0-gf-a0-66.ucode

now you can reboot the device to automatically load the correct driver, or continue to do that manually without a reboot.

2. Unload the incorrect driver

Unload the currently loaded (incorrect) WiFi driver:

sudo modprobe -r iwlwifi

3. Load the correct driver

Reload the correct default WiFi driver:

sudo modprobe iwlwifi

After completing these steps, your WiFi module should function properly again.