Thank you very much.<br><br>Uf, still desperate. I tried to write the wpa_supplicant.conf, run wpa_supplicant and then dhclient. The output of wpa_supplicant did not make me be optimistic and, of course, dhclient failed.<br>
<br>What do I have to do? Is this sequence right?<br><br>1) Write the wpa_supplicant.conf file.<br>2) Run wpa_supplicant -dd -D madwifi -i ath0 -c /etc/wpa_supplicant.conf and leave it running?<br>3) Then, dhclient ath0?<br>
<br>If not, can you please correct me?<br><br>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? (sorry if I look to be abusing, but I have tried for 5 hours with no results :-(&nbsp; ).
<br><br>Thank you very much for your help,<br><br>David<br><br><br><div><span class="gmail_quote">On 27/07/07, <b class="gmail_sendername">Bryan Kadzban</b> &lt;<a href="mailto:bryan@kadzban.is-a-geek.net">bryan@kadzban.is-a-geek.net
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: RIPEMD160<br><br>David wrote:
<br>&gt; They told me that it is right, but that WPA keys can be shorter than<br>&gt; 64 characters as well...<br><br>*Only* if the string is treated as an ASCII key (the type of key that<br>gets hashed with the SSID to generate the real key).&nbsp;&nbsp;There is no way to
<br>treat a 26-character string as a hex WPA key; WPA keys are 256 bits<br>long.<br><br>&gt; Maybe a hint can come from the fact that, in Windows XP, introducing<br>&gt; the 26 character key works OK.<br><br>I have no idea how XP&#39;s supplicant is coded, but I suspect that it
<br>treats any string shorter than 64 characters as an ASCII key and hashes<br>it.&nbsp;&nbsp;For wpa_supplicant, try putting the key in double quotes, since<br>that&#39;s what flags wpa_supplicant to treat the string as an ASCII key and
<br>hash it.<br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.7 (GNU/Linux)<br>Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a><br><br>iD8DBQFGqSkbS5vET1Wea5wRA5eCAKCf4CWm2jD5gYOmVHBIwunqmzCgzwCfVkdf
<br>UYDRlQHPWzY/0cBA3LKpecE=<br>=7NBe<br>-----END PGP SIGNATURE-----<br></blockquote></div><br>