From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JYogx-0007zV-Dq for garchives@archives.gentoo.org; Mon, 10 Mar 2008 20:33:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66A1AE034C; Mon, 10 Mar 2008 20:33:49 +0000 (UTC) Received: from thenybble.de (lvps87-230-95-74.dedicated.hosteurope.de [87.230.95.74]) by pigeon.gentoo.org (Postfix) with ESMTP id 28814E034C for ; Mon, 10 Mar 2008 20:33:49 +0000 (UTC) Received: from mnch-4d043913.pool.mediaways.net ([77.4.57.19] helo=localhost) by thenybble.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JYogt-0002xd-4v for gentoo-user@lists.gentoo.org; Mon, 10 Mar 2008 21:33:48 +0100 Date: Mon, 10 Mar 2008 21:33:32 +0100 From: Jan Seeger To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] iwlwifi & psk auth Message-ID: <20080310203332.GA26816@venus> References: <11710023105.20080310213732@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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="neYutvxvOLaeuPCA" Content-Disposition: inline In-Reply-To: <11710023105.20080310213732@gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: c3aebeb8-6872-408d-8d90-0a9cc1205afe X-Archives-Hash: 4e4f771d18581a74a478b7dd608d8bd6 --neYutvxvOLaeuPCA Content-Type: multipart/mixed; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 10. Mar, Sergey Kobzar spammed my inbox with=20 > My kernel is Linux 2.6.24-gentoo-r3. > Unfortunately I can't emerge iwlwifi (but maybe it's not required?): Yes, with 2.6.24, iwlwifi is not required anymore. >=20 > Also looks like it's impossible to get WPA-PSK working with iwlwifi > driver - I didn't find any success story in Google. Then you haven't read mine^^. I actually have it working beautifully with WPA-PSK and unencrypted. Here's my wpa_supplicant.conf and my /etc/conf.d/n= et (with passwords removed, of course^^): /etc/wpa_supplicant/wpa_supplicant.conf: ctrl_interface=3D/var/run/wpa_supplicant ctrl_interface_group=3Dwheel update_config=3D0 fast_reauth=3D1 ap_scan=3D1 network=3D{ ssid=3D"WLAN1" psk=3D"" pairwise=3DTKIP group=3DTKIP priority=3D5 } network=3D{ ssid=3D"WLAN2" psk=3D"" pairwise=3DTKIP group=3DTKIP priority=3D500 } network=3D{ ssid=3D"lrz" key_mgmt=3DNONE priority=3D500 } network=3D{ key_mgmt=3DNONE priority=3D0 } /etc/conf.d/net (with comments): modules=3D("wpa_supplicant") wpa_supplicant_wlan0=3D"-Dwext" # This, you need #preferred_aps=3D( "WLAN1","WLAN2" ) Do not set this: wpa_supplicant chooses #the APs itself #Network configuration config_WLAN1=3D( "192.168.178.25 netmask 255.255.255.0 broadcast 192.168.17= 8.255" ) config_WLAN2=3D( "192.168.178.25 netmask 255.255.255.0 broadcast 192.168.17= 8.255" ); # routes_WLAN1=3D( "default via 192.168.178.1" ) routes_WLAN2=3D( "default via 192.168.178.1" ) # dns_servers_WLAN1=3D( "192.168.178.1" ) dns_servers_WLAN2=3D( "192.168.178.1" ) # gateways_WLAN1=3D( "192.168.178.1" ) gateways_WLAN2=3D( "192.168.178.1" ) Also, I have a handy little script which I will attach. It stops the net.wl= an0 initscript, unloads the iwl module and reloads the module. The initscript automatically restarts. HTH, Jan --=20 thenybble.de/blog/ -- four bits at a time --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=iwlrestart #!/bin/bash /etc/init.d/net.wlan0 stop rmmod iwl3945 modprobe iwl3945 --x+6KMIRAuhnl3hBn-- --neYutvxvOLaeuPCA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFH1ZscMmLQdC6jvocRAqImAJ99tMi6M20avJuWibHL1N7WXfMeZQCff0Xf J1P9TmRuaOsfjeHiVtmwsgE= =T989 -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA-- -- gentoo-user@lists.gentoo.org mailing list