Wifi Interface Does Not Starts on Boot

I was toying around with hostapd and I don't know what I did but now on rebooting my wifi is not starting. ifconfig shows all the interfaces but the wlan0.
Right now I am using a workaround by running : sudo iw phy phy0 interface add wlan0 type managed everytime I boot.
How can I fix this?

2
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article