> On Tuesday 09 June 2009, Jason Carson wrote: >> Greetings, >> >> I am trying to setup a wireless access point using the atheros kernel >> driver (Built into the kernel, not as a module). I am using >> Vanilla-Sources 2.6.29.4. I need my wireless network card to start up in >> "master mode" but for some reason it is starting up in "managed mode". >> >> >> When wlan0 starts up I get this error message... >> >> >> * Bringing up interface wlan0 >> * configuring wireless network for wlan0 >> Error for wireless request "Set Mode" (8B06) : >> SET failed on device wlan0 ; invalid argument. >> * wlan0 connected to SSID "MyNetwork" >> * in managed mode (WEP Disabled) >> * null... [ ok ] >> >> >> then when hostapd starts up I get this error message... >> >> >> * Starting hostapd... >> Configuration file: /etc/hostapd/hostapd.conf >> Failed to set interface wlan0 to master mode. >> nl80211 driver initialization failed. >> ELOOP: remaining socket: sock=5 eloop_data=0x80f5a38 user_data=(nil) >> handler=0x8094b70 >> * start-stop-daemon: failed to start `/usr/sbin/hostapd' >> [ !! ] >> * ERROR: hostapd failed to start >> >> >> Here is my /etc/conf.d/net >> >> >> config_eth0="69.196.152.151 netmask 255.255.255.0 broadcast >> 69.196.152.255" >> config_eth1="null" >> config_wlan0="null" >> bridge_br0="eth1 wlan0" >> config_br0="192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255" >> channel_wlan0="1" >> mode_wlan0="master" >> essid_wlan0="MyNetwork" >> >> >> Here is my hostapd.conf >> >> >> interface=wlan0 >> bridge=br0 >> driver=nl80211 >> ssid=MyNetwork >> hw_mode=g >> channel=1 >> macaddr_acl=0 >> auth_algs=1 >> ignore_broadcast_ssid=0 >> country_code=CA >> wpa=1 >> wpa_passphrase=passphrase >> wpa_key_mgmt=WPA-PSK >> wpa_pairwise=TKIP >> rsn_pairwise=CCMP >> >> >> Anyone know how to change my wireless card to "master mode" and make it >> so >> I don't get those error messages? >> >> >> Thanks >> >> >> P.S. I have everything working with madwifi and an older kernel so worst >> case scenario I stay with that configuration until I get this problem >> figured out. > > Should you also define in your /etc/conf.d/net the driver? > > modules=( "wpa_supplicant" ) > wpa_supplicant_wlan0="-Dwext" > > (but I'm not sure of the options because I have never set up the card as > master with hostapd). > > HTH. > -- > Regards, > Mick
Maybe, I don't know. I thought wpa_supplicant was for clients not wireless access points. I am currently running the madwifi driver and an older kernel. I am not using wpa_supplicant and it works fine as a access point.