From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MDuEQ-0003dp-B3 for garchives@archives.gentoo.org; Tue, 09 Jun 2009 05:50:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FDFFE046E; Tue, 9 Jun 2009 05:50:44 +0000 (UTC) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by pigeon.gentoo.org (Postfix) with ESMTP id 4CAE0E046E for ; Tue, 9 Jun 2009 05:50:44 +0000 (UTC) Received: by ewy9 with SMTP id 9so4402072ewy.34 for ; Mon, 08 Jun 2009 22:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=B47bYWcstqZ8upqdivvV411cl+cNsUc7zHshZVlG+3U=; b=GI/v79mTjuLuakaUMMRYmQ70Rxi4/hnEQBY03rcQQA/EINX1t8MyQuDFe8/WE4yHAm ErNTnuMHLK2YYbp0EdLOc8XX7a4ynax30U7d2sOig98iTuxvezE69Etrj/E3peYycWI1 xFdNIJRfSFyvGmIPwqxBOtuSuFG4YuIhCxaL4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=iNr0vNsY5oswWrQKn09KdoJqnGT4xamjY87MUXnGOE1WQhPP7RO73NZetg9IRAhljk opMDs7Nec/zLFy4PW/lP7h1K1ovf4p5yEiJdxfZlCGK6oP7MmS4eyICl7IvqywOmYNUe Gdk7CC42ELooCWnv2Df1Nmaf1/QqP+GQpc5mo= Received: by 10.210.27.14 with SMTP id a14mr7479939eba.9.1244526643770; Mon, 08 Jun 2009 22:50:43 -0700 (PDT) Received: from lappy.study (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id 10sm685803eyz.31.2009.06.08.22.50.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Jun 2009 22:50:43 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Atheros kernel driver and my wireless access point setup Date: Tue, 9 Jun 2009 06:50:27 +0100 User-Agent: KMail/1.9.10 References: <000606ca6620ef53cdcd6e935ccf6c4b.squirrel@jasoncarson.ca> In-Reply-To: <000606ca6620ef53cdcd6e935ccf6c4b.squirrel@jasoncarson.ca> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1268017.FIyYdchufA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200906090650.40985.michaelkintzios@gmail.com> X-Archives-Salt: 85ecd11b-031d-4ec8-8772-9038c17996b3 X-Archives-Hash: 16bb3ec906ccefcadb6b844afdbe90de --nextPart1268017.FIyYdchufA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=3D5 eloop_data=3D0x80f5a38 user_data=3D(nil) > handler=3D0x8094b70 > * start-stop-daemon: failed to start `/usr/sbin/hostapd' > [ !! ] > * ERROR: hostapd failed to start > > > Here is my /etc/conf.d/net > > > config_eth0=3D"69.196.152.151 netmask 255.255.255.0 broadcast 69.196.152.= 255" > config_eth1=3D"null" > config_wlan0=3D"null" > bridge_br0=3D"eth1 wlan0" > config_br0=3D"192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255" > channel_wlan0=3D"1" > mode_wlan0=3D"master" > essid_wlan0=3D"MyNetwork" > > > Here is my hostapd.conf > > > interface=3Dwlan0 > bridge=3Dbr0 > driver=3Dnl80211 > ssid=3DMyNetwork > hw_mode=3Dg > channel=3D1 > macaddr_acl=3D0 > auth_algs=3D1 > ignore_broadcast_ssid=3D0 > country_code=3DCA > wpa=3D1 > wpa_passphrase=3Dpassphrase > wpa_key_mgmt=3DWPA-PSK > wpa_pairwise=3DTKIP > rsn_pairwise=3DCCMP > > > 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? =20 modules=3D( "wpa_supplicant" ) wpa_supplicant_wlan0=3D"-Dwext" (but I'm not sure of the options because I have never set up the card as=20 master with hostapd). HTH. =2D-=20 Regards, Mick --nextPart1268017.FIyYdchufA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEABECAAYFAkot+DAACgkQVTDTR3kpaLZwsgCgvELd7vB9JC50beUjNKgWewkv rRoAnRctcga6pf5xtjsAQ/nmIof6dqJP =vO8s -----END PGP SIGNATURE----- --nextPart1268017.FIyYdchufA--