Hostapd: network is down

Ming-Ching Tiew mctiew
Tue Jun 21 23:35:31 PDT 2011


Running the test scripts based on mac80211_hwsim. Because I already have a physical hardware at wlan0, so after I created 3 radios using the kernel module, they become wlan1, wlan2 and wlan3.

Then I did this :-

( Modify hostapd.conf to use wlan1 )
# hostapd hostapd.conf

# ifconfig wlan2 up
# iwconfig wlan2 essid "mac80211 test"

# ifconfig wlan3 up
# iwconfig wlan3 essid "mac80211 test"

This is the output I got on my system :-

# 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)

Why the last part "Network is down" ?

Regards



More information about the Hostap mailing list