On 01/18/2011 09:58 PM, Bruno Randolf wrote:
> Use hostapd to manage it all.
>
> here is an example of a hostapd config file:
>
> ---
> ctrl_interface=/var/run/hostapd-phy2
> driver=nl80211
> hw_mode=g
> channel=11
>
> interface=wlan2
> wpa_passphrase=mysecretkey
> wpa=3
> wpa_pairwise=CCMP TKIP
> ssid=multi-ap-1
> wmm_enabled=1
> bssid=00:0e:8e:25:92:86
> ignore_broadcast_ssid=0
>
> bss=wlan3
> wpa_passphrase=myotherkey
> wpa=3
> wpa_pairwise=CCMP TKIP
> ssid=multi-ap-2
> wmm_enabled=1
> bssid=06:0e:8e:25:92:86
> ignore_broadcast_ssid=0
>
> bss=wlan4
> wpa=0
> ssid=multi-ap-3
> wmm_enabled=1
> bssid=0a:0e:8e:25:92:86
> ignore_broadcast_ssid=0
>
> bss=wlan5
> wpa=0
> ssid=multi-ap-3
> wmm_enabled=1
> bssid=0e:0e:8e:25:92:86
> ignore_broadcast_ssid=0
> ---
>
> bruno

Ok, trying it your way.  I can't get hostapd to start at all through 
this method.

debug:
rmdir[ctrl_interface]: No such file or directory
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
nl80211: Register Action command failed: ret=-95 (Operation not supported)
nl80211: Register Action match - hexdump(len=1): 06
nl80211: Failed to register Action frame processing - ignore for now
nl80211: Add own interface ifindex 33
nl80211: New interface mon.wlan0 created: ifindex=72
nl80211: Add own interface ifindex 72
Could not set interface mon.wlan0 flags: Unknown error 132
nl80211: Remove interface ifindex=72
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=4 eloop_data=0x13307018 
user_data=0x13307210 handler=0x13285a70
ELOOP: remaining socket: sock=6 eloop_data=0x133092b8 user_data=(nil) 
handler=0x13290170


config:
country_code=US
interface=wlan0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=1
dump_file=/tmp/hostapd0.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ignore_broadcast_ssid=1
ssid=gentoo
hw_mode=g
channel=3
macaddr_acl=1
accept_mac_file=/etc/hostapd/hostapd.accept
auth_algs=1
wpa=0
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to