WPA wifi. Help please! (I am desperate)
Bryan Kadzban
bryan
Thu Jul 26 19:12:26 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
David wrote:
> Uf, still desperate. I tried to write the wpa_supplicant.conf
OK, what did you put in it? (Obviously you'll want to replace the
passphrase and any other sensitive info when posting it here.)
> run wpa_supplicant and then dhclient. The output of wpa_supplicant
> did not make me be optimistic and, of course, dhclient failed.
How did it fail? What exactly did wpa_supplicant say?
> What do I have to do? Is this sequence right?
>
> 1) Write the wpa_supplicant.conf file.
> 2) Run wpa_supplicant -dd -D madwifi -i ath0 -c
> /etc/wpa_supplicant.conf and leave it running?
Maybe. I believe the madwifi backend is no longer recommended; I
believe the wext backend should be used instead (-D wext). But that may
depend on your version of madwifi and your kernel. (IIRC, it's also
true that not all versions of madwifi CVS actually work well -- but I
don't remember any details. Maybe those issues have been fixed by now,
too.)
> 3) Then, dhclient ath0?
Or whatever other DHCP client you want to use, yes. Once wpa_supplicant
has a connection up and working, that is.
> If yes, can you please tell me the wpa_supplicant.conf file, based on
> the output of iwlist ath0 scan that I wrote in the previous email?
I suspect you can use the WPA-PSK network section (the first network
section: skip the global options) from the example config file:
http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=wpa_supplicant/wpa_supplicant.conf
but you would not need the priority. If you want to specify proto,
key_mgmt, pairwise, and group, set them to WPA, WPA-PSK, TKIP, and TKIP,
respectively (as in the first ssid="example" network in the sample
config file). But that should not be required if "iwlist scan" is
showing the BSSID and the right info.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGqVSKS5vET1Wea5wRAzCTAKCgtz9Tk/GoCvdU6/9ia4SVoYnP2ACfa7Xa
kFKWLzoUqEyi4oSJPTvMi6M=
=sf+T
-----END PGP SIGNATURE-----
More information about the Hostap
mailing list