IFF_RUNNING and hostapd

Jouni Malinen j
Tue Oct 12 10:14:39 PDT 2010


On Fri, Oct 01, 2010 at 03:32:42PM -0700, Dave Taht wrote:
> I recently configured an openwrt system (a nanostation M) as a pure
> router, not bridge, in AP mode.

Which driver are you using for wlan0?

> ip addr
> 
> for wlan0 shows the interface as UP, but with "NO CARRIER".

I don't see that happening in my tests with ath9k..

> It doesn't look like the hostapd I'm using sets the IFF_RUNNING bit, ever.
> 
> So I ask... at what point, and by what, and where should RUNNING be
> setup on a AP mode, purely routed, non-bridged interface?
> 
> It seems like a good idea to leave it in the NO CARRIER state until
> the first client authenticates.

hostapd does not control this and the exact behavior is likely to depend
on which driver is being used.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list