public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Atheros kernel driver and my wireless access point setup
@ 2009-06-09  5:21 Jason Carson
  2009-06-09  5:46 ` Jason Carson
                   ` (2 more replies)
  0 siblings, 3 replies; 41+ messages in thread
From: Jason Carson @ 2009-06-09  5:21 UTC (permalink / raw
  To: gentoo-user

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.




^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2009-06-12 22:16 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09  5:21 [gentoo-user] Atheros kernel driver and my wireless access point setup Jason Carson
2009-06-09  5:46 ` Jason Carson
2009-06-09  6:33   ` Dale
2009-06-09  7:15     ` Jason Carson
2009-06-09 12:57       ` Stroller
2009-06-09 21:15         ` Jason Carson
2009-06-09 21:27           ` Jason Carson
2009-06-09  7:45     ` Neil Bothwick
2009-06-09  5:50 ` Mick
2009-06-09  6:12   ` Jason Carson
2009-06-09 10:41 ` Norman Rieß
2009-06-09 21:12   ` Jason Carson
2009-06-10  0:35     ` Norman Rieß
2009-06-10  4:38       ` Jason Carson
2009-06-10 10:37         ` Norman Rieß
2009-06-10 18:20           ` Jason Carson
2009-06-10 20:04             ` Norman Rieß
2009-06-10 21:38               ` Jason Carson
2009-06-10 23:33                 ` Norman Rieß
2009-06-10 23:51                   ` Jason Carson
2009-06-11  1:34                     ` Norman Rieß
2009-06-11  2:03                       ` Jason Carson
2009-06-11 22:13               ` Grant
2009-06-11 23:32                 ` Norman Rieß
2009-06-11 23:38                   ` Grant
2009-06-11 23:59                     ` [gentoo-user] wireless access point setup - bridging vs. routing (Was: Atheros kernel driver) Stroller
2009-06-12  2:10                       ` Grant
2009-06-12  0:42                     ` [gentoo-user] Atheros kernel driver and my wireless access point setup Norman Rieß
2009-06-12  2:04                       ` Grant
2009-06-12 10:35                         ` Norman Rieß
2009-06-12 13:17                           ` Grant
2009-06-12 15:24                             ` Norman Rieß
2009-06-12 15:38                               ` Grant
2009-06-12 15:56                                 ` Stroller
2009-06-12 16:21                                   ` Norman Rieß
2009-06-12 20:27                                     ` Grant
2009-06-12 15:47                             ` Stroller
2009-06-12 22:16                               ` Mick
2009-06-12  5:46                   ` Graham Murray
2009-06-12  7:39                     ` Matt Causey
2009-06-12 10:53                       ` Norman Rieß

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox