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 1R1Vge-00018O-Au for garchives@archives.gentoo.org; Thu, 08 Sep 2011 03:54:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38D4E21C1A6; Thu, 8 Sep 2011 03:53:44 +0000 (UTC) Received: from nm27.bullet.mail.ne1.yahoo.com (nm27.bullet.mail.ne1.yahoo.com [98.138.90.90]) by pigeon.gentoo.org (Postfix) with SMTP id D7E1F21C088 for ; Thu, 8 Sep 2011 03:52:45 +0000 (UTC) Received: from [98.138.90.49] by nm27.bullet.mail.ne1.yahoo.com with NNFMP; 08 Sep 2011 03:52:45 -0000 Received: from [98.138.89.168] by tm2.bullet.mail.ne1.yahoo.com with NNFMP; 08 Sep 2011 03:52:45 -0000 Received: from [127.0.0.1] by omp1024.mail.ne1.yahoo.com with NNFMP; 08 Sep 2011 03:52:45 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 153014.68964.bm@omp1024.mail.ne1.yahoo.com Received: (qmail 64939 invoked by uid 60001); 8 Sep 2011 03:52:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1315453964; bh=ycCdlkbFTyL9XlWksxfypyGUo+qpywtsoPv8yjJvpfc=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Hh37Hf9Y91Y3MwLWERwkf7BUft/L5Pq6TXDDmXg5mUl5MFyWTm4c4itfcvoiwzQuxQOOqcZSfOMF1aotJGt36St6dmpWVgK0AGEZKeLcGGa+VtHOeQYNPx9rUvoD4DYG5GUjekfWAES0DJDm7kIv9ic3kFypMk+lZCb6BzeZkOg= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NbvB+z4Ii/FgerAPFHa6XhlCbajN6EvoSehA+wPnHtIlBQ65tyns5sh9n3IPQr+OSoig0YGSGqK6A0Ke1vJa0Dx/dekJkis0STAbFZ2gzxmEgHgDx1DxQyR0p1VL6r0PG1PsbUjPdNC//974vOQbRcteanOe7Rva+Uop+KOZir0=; X-YMail-OSG: H6VPq5MVM1naE8sYNJkXwS7bvPgJJ.MtzoqsebxmnigLnav k3C5dLaKHUCFbRALG_30kfmvihM96YjuRhvu2NPgK8zO_.3y6iq7WyEdh1oU mskIMasSUFdmwEpL7RDP4ho5xmwn8g3dlMcVdNbrrsxlv1nVFySbd1y4eA92 HscRcK8ss7EEED8Fy4C.OmhCsGvcp9rmrGzxRYB3pTPH6tU0inns6smXLh2R lfnNuSsZM5ZFZtE_6fEtMoAjIVN9OdvPW7Mc8mq_z9XiRnXGh8cSAGIjuX0W BbfN5FYsEiMu3VWEcMtMz9I4EBbVAKf211atqbtEBg5mVaxwRoTvQ0UaODel QYkZk295vnBwT_WmbtSJ3rnf0EgWiIHd2eXgIr7KoSL1QP3T0RiQEjH.lWBy 5uEzCjP5gkOXmqAwx_aKMBnjzk.0gcpfpMAbydpuMnXGSBet.gXfbZqajQcx Veg1T.3zWORzzmZto0tAyI518ANBXZBzFXPT19Pv3xajd7JdwXRi8Pg1ED.a ZDfLHYulZaImQO842nDO8AiGA3roFJ6hn70K5Q0BYbagRfF2xgdxTRyd94yO wXIkvUYg7 Received: from [98.122.58.217] by web39302.mail.mud.yahoo.com via HTTP; Wed, 07 Sep 2011 20:52:44 PDT X-Mailer: YahooMailWebService/0.8.113.315625 References: <1314935534.69025.YahooMailNeo@web39324.mail.mud.yahoo.com> <201109031612.59339.michaelkintzios@gmail.com> <1315319073.62993.YahooMailNeo@web39313.mail.mud.yahoo.com> <201109062232.30109.michaelkintzios@gmail.com> Message-ID: <1315453964.55365.YahooMailNeo@web39302.mail.mud.yahoo.com> Date: Wed, 7 Sep 2011 20:52:44 -0700 (PDT) From: BRM Subject: Re: [gentoo-user] Wireless Configuration... To: "gentoo-user@lists.gentoo.org" In-Reply-To: <201109062232.30109.michaelkintzios@gmail.com> 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: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 1c78b1948dec6e44997300623790365a ----- Original Message -----=0A=0A> From: Mick = =0A> To: gentoo-user@lists.gentoo.org=0A> Cc: =0A> Sent: Tuesday, September= 6, 2011 5:32 PM=0A> Subject: Re: [gentoo-user] Wireless Configuration...= =0A> =0A> On Tuesday 06 Sep 2011 15:24:33 BRM wrote:=0A>> ----- Original M= essage -----=0A>> =0A>> > From: Mick =0A>> > = =0A>> > On Saturday 03 Sep 2011 15:14:27 BRM wrote:=0A>> >>=A0 ----- Orig= inal Message -----=0A> =0A>> > I think the above should be either:=0A>> >= =0A>> >=A0 ctrl_interface=3D/var/run/wpa_supplicant=0A>> >=A0 ctrl_int= erface_group=3Dwheel=0A>> > =0A>> > or,=0A>> > =0A>> >=A0 DIR=3D/var/r= un/wpa_supplicant GROUP=3Dwheel=0A>> =0A>> Ok. Corrected that to the first= one.=0A> =0A> Fine.=A0 I note that you said the wpa_gui won't scan further= down this thread, =0A> =0A> just in case ... is your user part of the whee= l group?=0A> =0A>> >>=A0 #ctrl_interface_group=3Dwheel=0A>> >>=A0 ap_scan= =3D1=0A>> >>=A0 fast_reauth=3D1=0A>> >>=A0 # This blank configuration wil= l automatically use DHCP for any =0A> net.*=0A>> >>=A0 # scripts in /etc/i= nit.d.=A0 To create a more complete =0A> configuration,=0A>> >>=A0 # pleas= e review /etc/conf.d/net.example and save your =0A> configuration=0A>> >>= =A0 # in /etc/conf.d/net (this file :]!).=0A>> >>=A0 =0A>> >>=A0 # Standa= rd Network:=0A>> >>=A0 config_eth0=3D( "dhcp" )=0A>> > =0A>> > The old s= yntax you use here, which was ( "value" ) is now =0A> deprecated. =0A>> > = You=0A>> > should replace all such entries by removing the brackets, e.g. = the =0A> above=0A>> > becomes:=0A>> > =0A>> > config_eth0=3D"dhcp"=0A>> = > =0A>> > This is explained in: =0A> http://www.gentoo.org/doc/en/openrc-= migration.xml=0A>> =0A>> Corrected that one too. eth0 was working fine tho= ugh.=0A> =0A> Yes, because eth0 will default to dhcp, after the old syntax = you were using =0A> errors out or is ignored.=0A> =0A> =0A>> > modules=3D"= wpa_supplicant"=0A>> > wpa_supplicant_wlan0=3D"-Dwext"=0A>> > config_wlan= 0=3D"dhcp"=0A>> =0A>> I re-enabled those and added the last line.=0A> =0A>= OK, wpa_supplicant should now work as intended.=0A> =0A> =0A>> > You need= to add or uncomment the following to your =0A> wpa_supplicant.conf:=0A>> = > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A>> > n= etwork=3D{=0A>> >=A0 =A0 =A0 =A0 key_mgmt=3DNONE=0A>> >=A0 =A0 =A0 =A0 = priority=3D0=0A>> > }=0A>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=0A>> > The above will let latch on the first availab= le AP.=0A>> =0A>> I wasn't sure that that one was for. I've re-enabled it = and the =0A> original=0A>> one for my network. =0A> =0A> OK, this is usefu= l for open AP which accept connections.=A0 If they need =0A> encryption you= can add this using the wpa_gui.=0A> =0A> =0A>> > Also, you can then add a= ny AP of preference with passphrases and what=0A>> > not: =3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A>> > # Home Network=0A>= > > network=3D{=0A>> >=A0 =A0 =A0 ssid=3D"MY-NETWORK"=0A>> > #=A0 =A0 = =A0 key_mgmt=3DIEEE8021X=A0 <--You don't need these entries =0A> here, unle= ss=0A>> > #=A0 =A0 =A0 eap=3DTLS=A0 =A0 =A0 =A0 =A0 =A0 <--you run SSL ce= rts for authentication=0A>> >=A0 =A0 =A0 wep_key0=3DDEADBEAF0123456789ABC= DEF000=0A>> >=A0 =A0 =A0 priority=3D1=0A>> >=A0 =A0 =A0 auth_alg=3DOPEN= =0A>> > }=0A>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0A>> =0A>> Interestingly, wpa_supplicant complains if those two = lines are not there=0A>> even though I am not doing SSL auth. =0A> =0A> Hm= m ... what is the error/warning that comes up?=0A=0Apneumo-martyr wpa_suppl= icant # /etc/init.d/net.wlan0 start=A0 =0A=A0* Bringing up interface wlan0= =0A=A0*=A0=A0 Starting wpa_supplicant on wlan0 ...=0ALine 17: WPA-PSK accep= ted for key management, but no PSK configured.=0ALine 17: failed to parse n= etwork block.=0AFailed to read or parse configuration '/etc/wpa_supplicant/= wpa_supplicant.conf'.=0A=A0*=A0=A0 start-stop-daemon: failed to start `/usr= /sbin/wpa_supplicant'=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 [ !! ]=0A=A0* ERROR: net.wlan0 failed to start=0A=0A=0A> Either way,= can you please add:=0A> =0A> eapol_version=3D1=0A=0ADone.=0A=0A>> > and s= omething like this for WPA2:=0A>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=0A>> > network=3D{=0A>> >=A0 =A0 =A0 =A0 ssi= d=3D"what-ever"=0A>> >=A0 =A0 =A0 =A0 proto=3DRSN=0A>> >=A0 =A0 =A0 =A0 = key_mgmt=3DWPA-PSK=0A>> >=A0 =A0 =A0 =A0 pairwise=3DCCMP=0A>> >=A0 =A0 = =A0 =A0 auth_alg=3DOPEN=0A>> >=A0 =A0 =A0 =A0 group=3DCCMP=0A>> >=A0 = =A0 =A0 =A0 psk"pass_123456789"=0A>> >=A0 =A0 =A0 =A0 priority=3D5=0A>> = > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A>> =0A= >> I want to try to get away from adding things directly to the=0A>> wpa_= supplicant.conf file as I would rather that the connection information=0A>>= be managed by a GUI tool. =0A> =0A> You should be able to add such detail= s in the GUI of choice.=A0 Adding them in =0A> wpa_supplicant.conf means th= at they should appear already filled in the GUI.=0A> =0A> =0A>> I'd rather= use the NetworkManager in KDE than wpa_gui.=0A>> =0A>> That said, Network= Manager in KDE seems to be using wicd for some reason.=0A> =0A> You need so= meone else to chime in here, because I use neither of these.=A0 As =0A> far= as I read in this M/L wicd is more or less fool-proof.=0A> =0A>> I also h= ave KDE running under Kubuntu on my work computer (4.6.2) and the=0A>> Net= work Manager is completely different (don't know why) - it's not =0A> wicd= =0A>> as far as I can tell.=0A>> =0A>> However, They are still not workin= g. wpa_gui refuses to scan and find=0A>> networks; while wicd is not findi= ng networks either - but there's so=0A>> little information in the GUI tha= t it is practically useless to say why.=0A>> Perhaps I've got something at= the KDE layer screwed up?=0A> =0A> I don't know if one is causing a clash = with the other, so don't try to =0A> use =0A> both at the same time.=A0 If = wicd is started automatically when you boot/login, =0A> then just use that.= =0A> =0A> When wpa_gui refuses to scan what message do you get?=A0 What do = the logs say.=0A> =0A> Also, if wpa_gui or wicd fail to scan for APs what d= o you get from:=0A> =0A> # iwlist wlan0 scanning=0A=0ASimply returns:=0A=0A= wlan0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 No scan results=0A=0AIt also returns= "0". I have wlan0 logs directed to /var/log/net/wireless, here's the outpu= t from the last attempt:=0A=0ASep=A0 7 23:01:43 pneumo-martyr NetworkManage= r: =A0 (wlan0): driver supports SSID scans (scan_capa 0x01).=0ASep=A0= 7 23:01:43 pneumo-martyr NetworkManager: =A0 (wlan0): new 802.11 WiF= i device (driver: 'b43legacy')=0ASep=A0 7 23:01:43 pneumo-martyr NetworkMan= ager: =A0 (wlan0): exported as /org/freedesktop/NetworkManager/Device= s/1=0ASep=A0 7 23:01:43 pneumo-martyr NetworkManager: =A0 (wlan0): no= w managed=0ASep=A0 7 23:01:43 pneumo-martyr NetworkManager: =A0 (wlan= 0): device state change: 1 -> 2 (reason 2)=0ASep=A0 7 23:01:43 pneumo-marty= r NetworkManager: =A0 (wlan0): bringing up device.=0ASep=A0 7 23:01:4= 3 pneumo-martyr kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready=0ASep= =A0 7 23:01:43 pneumo-martyr NetworkManager: =A0 (wlan0): preparing d= evice.=0ASep=A0 7 23:01:43 pneumo-martyr NetworkManager: =A0 (wlan0):= deactivating device (reason: 2).=0ASep=A0 7 23:01:43 pneumo-martyr Network= Manager: =A0 (wlan0): supplicant interface state:=A0 starting -> read= y=0ASep=A0 7 23:01:43 pneumo-martyr NetworkManager: =A0 (wlan0): devi= ce state change: 2 -> 3 (reason 42)=0A=0AThat's about as far as I have been= able to get tonight.=0A=0ABen=0A