[Buildroot] configure HOSTAPD build to enable nl80211 driver support
rkthebest at gmail.com
Thu Jul 31 03:40:30 UTC 2014
On Thu, Jul 31, 2014 at 11:39 AM, Gustavo Zacarias <gustavo at zacarias.com.ar>
> On 07/30/2014 10:48 PM, Rohit Kumar wrote:
> > Hello,
> > how can i configure hostapd build with nl80211 driver support.
> > currenty when i run hostapd, it says
> >>nl80211 driver initialization failed.
> > With Regards,
> That error message is terribly generic, how about a little more
> information on what hostapd says before that and your hostapd config?
hostapd.conf is very basic :
hostapd hostapd.conf -dd
generates following output
random: Trying to read entropy from
nl80211: Could not add multicast membership for vendor events: -2 (No such
file or directory)
rfkill: Cannot open RFKILL control
nl80211: RFKILL status not
nl80211: Remove monitor interface:
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6
nl80211: Set mode ifindex 3 iftype 2
nl80211: Failed to set interface 3 to mode 2: -19 (No such
nl80211 driver initialization
hostapd_bss_deinit: deinit bss
hostapd_free_hapd_data: Interface wlan0 wasn't
hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) ->
hostapd_interface_free: free hapd
hostapd_cleanup_iface: free iface=0xe78b8
A dump of the wlan card information would be useful too, typically via
> the iw package "iw phy0 info" since it's possible you're trying to do
> master mode on a device that doesn't support it.
iw wlan0 info
command failed: No such device (-19)
but iwconfig works fine even when i run
iwconfig wlan0 mode master
it does not show error.
the USB wifi device works well on PC, so device supports master mode
> with regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot