New install does not have wifi capability

I am an AlmaLinux newbie, and have installed AlmaLinux 9. It does not seem to recognize the Wi-Fi card on the machine, a PCI card. I found the firmware for it, and put it in the firmware directory. Now how do I install that, while offline?

I’ve tried these things I found while looking for a solution:

Tried the “dnf offline-upgrade” command, and I get “trigger file does not exist.”

“nmcli dev wifi” returns nothing.

Running “modprobe iwlwifi” returns nothing.

Since it is very difficult to do anything with no internet connection, it seems like AlmaLinux should come with a more robust Wi-Fi package pre-installed. I installed the full version (not minimal).

Any help would be much appreciated! Thank you.

Okay, I figured it out by trial and error. I thought the .ucode file for the Wi-Fi adapter would be read from the firmware archive, but it needs to be unpacked and placed in the lib/firmware directory directly.

In my case, it was a file named iwlwifi-6000-4.ucode.

Once copied into the directory, I rebooted, and finally I had wifi.

It took a long long time to figure this out, after a lot of googling and searching forums and the documentation. Such a simple, important thing should be made more obvious in the documentation, IMHO.