[Hostapd] [RPI4] wlan0: Could not connect to kernel driver

I’m trying to make my Raspberry Pi 4 into an AP but when I try to run the commands needed I get this as an output.

~$ sudo dnsmasq -C ~/dnsmasq.conf
~$ sudo hostapd ~/hostapd.conf

Configuration file: /home/tpm16a4/hostapd.conf
wlan0: Could not connect to kernal driver
Using interface wlan0 with hwaddr <MAC_ADDRESS> and ssid "TEST"
wlan0: Interface state UNINITIALZED->ENABLED
wlan0: AP-ENABLED

In the tutorial that I’ve followed it was exactly like this but without the wlan0: Could not connect to kernal driver error and I’m thinking that’s the cause of it not being able to work and show up in my available networks.

How can I fix this issue? I haven’t been able to find any clear threads or discussions of how to fix this.

1 Like