KEuVUe149Y7e320zVKJqOjpo0SGIHzz7ueew9qo8
Bookmark

How To Fix invalid/unknown driver nl80211 hostapd

How To Fix hostapd.conf error - This error happen when I trying to make a hotspot media for sharing with my android phone. Those tutorial was posted in previous article. You can read in How To Create Hotspot on Linux to share with android device.

I've fresh Ubuntu 14.04, looking for media internet sharing through wifi connection for my Android. But when run bash script to launch wifi, i found error. Here's the error

Configuration file: /etc/hostapd.conf
Line 4: invalid/unknown driver 'nl80211 '
Line 8: unknown hw_mode 'g '
2 errors found in configuration file '/etc/hostapd.conf'
Failed to set up interface with /etc/hostapd.conf
Failed to initialize interface

How To Solve? If we look at those errors at :

Line 4: invalid/unknown driver 'nl80211 '
Line 8: unknown hw_mode 'g '

We'll see a space at the end of  'nl80211(space)' and 'g(space)'. So just open your hostapd.conf located in /etc/ directory. Check at error line. Remove (space) at the end of script code. Then you can re-run to launch. You'll see no errors again.

How To Fix invalid/unknown driver 'nl80211

So that's guide about how to fix hostapd error  invalid/unknown driver 'nl80211 '. Hope solve your problems, you've enjoyed reading this tutorial as much I’ve enjoyed writing it. Thanks fo visiting us.