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 1QzrvG-0007CY-ML for garchives@archives.gentoo.org; Sat, 03 Sep 2011 15:14:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79B1021C07E; Sat, 3 Sep 2011 15:14:09 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 438E421C02A for ; Sat, 3 Sep 2011 15:13:03 +0000 (UTC) Received: by wwf25 with SMTP id 25so3596005wwf.10 for ; Sat, 03 Sep 2011 08:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=o/M5d49RlDlsim8dBMCC5g8ZwaTdnrjNu9bRH4ve3so=; b=wDZheH/42sXhQToUWEgJAtQ/eLgovt7hyqSIDvnJCAM4xoMo87YRBv0DgGBfL5ABVB ioeRQMsdAdTRkhgHrtQl67eMbqlNXXnhh8O96jLlimK49+XlbCk48MtUbAKRA03Pm1tI hFzk08T6eGcoF2VwGhVvb9fhKEXJURYW525e0= Received: by 10.216.38.76 with SMTP id z54mr2174233wea.102.1315062782393; Sat, 03 Sep 2011 08:13:02 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id b3sm2306023wbp.10.2011.09.03.08.13.00 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Sep 2011 08:13:01 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Wireless Configuration... Date: Sat, 3 Sep 2011 16:12:47 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.39-gentoo-r3; KDE/4.6.5; x86_64; ; ) References: <1314935534.69025.YahooMailNeo@web39324.mail.mud.yahoo.com> <201109021630.02213.michaelkintzios@gmail.com> <1315059267.35956.YahooMailNeo@web39308.mail.mud.yahoo.com> In-Reply-To: <1315059267.35956.YahooMailNeo@web39308.mail.mud.yahoo.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: multipart/signed; boundary="nextPart3753212.SeRrT6jba6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201109031612.59339.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: 402abdb625046b0daaf93e836d6d9aee --nextPart3753212.SeRrT6jba6 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 03 Sep 2011 15:14:27 BRM wrote: > ----- Original Message ----- >=20 > > From: Mick > > To: gentoo-user@lists.gentoo.org > > Assuming that you have built in your kernel or loaded the driver module > > for your NIC and any firmware blobs have also been loaded, please show: > > Yes. As I noted, it's worked before. The driver loads it find the firmwar= e, > etc. Configuration information is below. > =20 >=20 > > /etc/conf.d/net >=20 > # This is a network block that connects to any unsecured access point. > # We give it a low priority so any defined blocks are preferred. > ctrl_interface=3DDIR=3D/var/run/wpa_supplicant GROUP=3Dwheel I think the above should be either: ctrl_interface=3D/var/run/wpa_supplicant ctrl_interface_group=3Dwheel or,=20 DIR=3D/var/run/wpa_supplicant GROUP=3Dwheel > #ctrl_interface_group=3Dwheel > ap_scan=3D1 > fast_reauth=3D1 > # This blank configuration will automatically use DHCP for any net.* > # scripts in /etc/init.d. To create a more complete configuration, > # please review /etc/conf.d/net.example and save your configuration > # in /etc/conf.d/net (this file :]!). >=20 > # Standard Network: > config_eth0=3D( "dhcp" ) The old syntax you use here, which was ( "value" ) is now deprecated. You= =20 should replace all such entries by removing the brackets, e.g. the above=20 becomes: config_eth0=3D"dhcp" This is explained in: http://www.gentoo.org/doc/en/openrc-migration.xml > dns_domain_lo=3D"coal" > # Wireless Network: > # TBD > #config_wlan0 ( "wpa_supplicant" ) > # >=20 > # Enable this to use WPA supplicant; however, need to change the > configuration of the Wireless first. modules=3D( "!plug" "!iwconfig" > "wpa_supplicant" ) > #modules=3D( "!plug" "wpa_supplicant" ) > #modules=3D("iwconfig") > #wpa_supplicant_wlan0=3D"-Dwext" > #wpa_timeout_wlan0=3D15 >=20 > #modules=3D("iwconfig") > #iwconfig_wlan0=3D"mode managed" > #wpa_timeout_wlan0=3D15 You should also add something like: modules=3D"wpa_supplicant" wpa_supplicant_wlan0=3D"-Dwext" config_wlan0=3D"dhcp" > > and=20 > >=20 > > grep ^[^#] /etc/wpa_supplicant/wpa_supplicant.conf >=20 > ctrl_interface=3DDIR=3D/var/run/wpa_supplicant GROUP=3Dwheel > ap_scan=3D1 > fast_reauth=3D1 > country=3DUS >=20 > # Home Network > #network=3D{ > # ssid=3D"MY-NETWORK" > # key_mgmt=3DIEEE8021X > # eap=3DTLS > # wep_key0=3DDEADBEAF0123456789ABCDEF000 > # priority=3D1 > # auth_alg=3DSHARED > #} > # > #network=3D{ > # key_mgmt=3DNONE > # priority=3D-9999999 > #} >=20 > The network information is commented out as I was trying to get it to work > with the normal user-space tools (e.g. Network Manager); however, it is no > longer working in that configuration either. It doesn't seem to ever get > to doing the SCAN portion of trying to find networks. >=20 > I can see wlan0 in wpa_gui, but I can't get it to scan at all. And I'd mu= ch > rather use Network Manager if I could over wpa_gui; but it doesn't even > see wlan0 (it happily finds eth0, my wired NIC.) >=20 > Ben You need to add or uncomment the following to your wpa_supplicant.conf: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D network=3D{ key_mgmt=3DNONE priority=3D0 } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The above will let latch on the first available AP. Also, you can then add any AP of preference with passphrases and what not: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Home Network network=3D{ ssid=3D"MY-NETWORK" # key_mgmt=3DIEEE8021X <--You don't need these entries here, unless # eap=3DTLS <--you run SSL certs for authentication wep_key0=3DDEADBEAF0123456789ABCDEF000 priority=3D1 auth_alg=3DOPEN } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D and something like this for WPA2: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D network=3D{ ssid=3D"what-ever" proto=3DRSN key_mgmt=3DWPA-PSK pairwise=3DCCMP auth_alg=3DOPEN group=3DCCMP psk"pass_123456789" priority=3D5 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Something like the above should get you online again, but you may need to=20 experiment with different settings depending on the encryption used by the= =20 chosen AP. When wardriving open the wpa_gui, scan and double-click on your desired AP.= =20 Then enter the key for it (if it has one) and you should be able to associa= te. =20 At that point dhcpcd will kick in and you'll get an IP address and be able = to=20 connect to the Internet (as long as the AP is not asking for DNS=20 authentication or some such security measure). Of course if you use networkmanager you do not need to use wpa_gui. =2D-=20 Regards, Mick --nextPart3753212.SeRrT6jba6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk5iQ/sACgkQVTDTR3kpaLbcrwCg8guLLCkdyhwmsUMeWOsodAbK R8MAni0ZgBlHOGiNgntlj+gYcY+AH09d =p89J -----END PGP SIGNATURE----- --nextPart3753212.SeRrT6jba6--