Hostapd: network is down

Jouni Malinen j
Fri Jun 24 03:37:07 PDT 2011

On Tue, Jun 21, 2011 at 11:35:31PM -0700, Ming-Ching Tiew wrote:
> ( Modify hostapd.conf to use wlan1 )
> # hostapd hostapd.conf

What else do you have in hostapd.conf?

> # hostapd ./hostapd.conf
> Configuration file: ./hostapd.conf
> Using interface wlan1 with hwaddr 02:00:00:00:00:00 and ssid 'mac80211 test'
> wlan1: STA 02:00:00:00:01:00 RADIUS: VLAN ID 1
> wlan1: STA 02:00:00:00:01:00 IEEE 802.11: authenticated
> wlan1: STA 02:00:00:00:01:00 IEEE 802.11: associated (aid 1)
> AP-STA-CONNECTED 02:00:00:00:01:00
> nl80211: NL80211_ATTR_STA_VLAN (addr=02:00:00:00:01:00 ifname=vlan1 vlan_id=1) failed: -100 (Network is down)

This seems to indicate that you have configured hostapd to use VLAN
interfaces and what exactly happens there depends on the configuration
you used. Please also look at debug information (-dd on command line) to
see more detail information on the steps used here. I was unable to
reproduce this issue, but since I do not know your configuration, I may
have been testing with a completely different way of using VLANs.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list