I got internet access to work in the pre-boot initramfs by adding rd.neednet=1 ip=dhcp
to the GRUB_CMDLINE_LINUX
line in /etc/default/grub
but this only works with ethernet. Is it possible to get WiFi working too? Right now, running nmcli radio
in the pre-boot emergency shell shows that WIFI
is enabled
but WIFI-HW
is missing
(as opposed to the normal booted OS where both are enabled
).
So far, I’ve tried creating /etc/dracut.conf.d/00-wifi.conf
with a line that causes some extra WiFi-related kernel modules to be added to the initrmfs: add_drivers+=" iwlwifi cfg80211 rfkill iwlmvm mac80211 libarc4 "
But this not only doesn’t work, it causes WiFi to stop working in my normal booted OS as well (it fails to find the WiFi adapter).
This is on Fedora 38 Workstation (11th gen Intel CPU with an AX210 No vPro network card) - any help would be appreciated!