Hello,<br><br>I am not 100% sure if it is the correct place to ask for support, but I think it may be, because of other mails I read in the list. Please, can you help me, because I am desperate...<br><span class="postbody">
<br>I have a router encrypted with WPA, I have the key, hexadecimal and 26 characters long, and I have to connect with DHCP.
</span><span class="postbody">
The kernel is 2.6.22 and the driver madwifi (the last snapshot). I can see the essids, so in principle the driver is OK.
<br><br>On <a href="http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/README.modes?op=file&rev=0&sc=0">http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/README.modes?op=file&rev=0&sc=0
</a> I read "</span>NOTE: the 'wpa-psk' value is only valid if:
1) It is a plaintext (ascii) string between 8 and 63 characters in
length
2) It is a hexadecimal string of 64 characters". <span class="postbody">So, what about my 26 character hexadecimal key?
<br><br></span><span class="postbody">
OK, I tried writing /etc/network/interfaces like that (I replace my actual essid and key by a random one):
<br><br></span># This file describes the network interfaces available on your system
<br>
# and how to activate them. For more information, see interfaces(5).
<br>
<br>
# The loopback network interface
<br>
auto lo
<br>
iface lo inet loopback
<br>
<br>
# Wifi
<br>
auto ath0 # in order to be automatically started
<br>
iface ath0 inet dhcp
<br>
wpa-driver madwifi
<br>
wpa-ssid wifiathome # NOT the real one
<br>
wpa-psk D7110AFEB3267098AA034GBA23 # NOT the real one
<br><br><span class="postbody">
and then (hiding some information):
<br><br></span>debian:/home/me# /etc/init.d/networking restart
<br>
Reconfiguring network interfaces...Internet Systems Consortium DHCP Client V3.0.6
<br>
Copyright 2004-2007 Internet Systems Consortium.
<br>
All rights reserved.
<br>
For info, please visit <a href="http://www.isc.org/sw/dhcp/">http://www.isc.org/sw/dhcp/</a>
<br>
<br>
wifi0: unknown hardware address type 801
<br>
wifi0: unknown hardware address type 801
<br>
Listening on LPF/ath0/**:**:**:**:**:**
<br>
Sending on LPF/ath0/**:**:**:**:**:**
<br>
Sending on Socket/fallback
<br>
DHCPDISCOVER on ath0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 8
<br>
DHCPDISCOVER on ath0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 8
<br>
DHCPDISCOVER on ath0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 10
<br>
DHCPDISCOVER on ath0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 7
<br>
DHCPDISCOVER on ath0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 14
<br>
DHCPDISCOVER on ath0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 12
<br>
DHCPDISCOVER on ath0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 2
<br>
No DHCPOFFERS received.
<br>
No working leases in persistent database - sleeping.
<br>
done.
<br>
        <span class="postbody">
<br>
</span><span class="postbody">
The same if I use wext instead of madwifi
<br>
<br>
Any help?
<br>
<br>
Thank you</span><br><span class="postbody"><br><br>
</span><br><span class="postbody">
</span><span class="postbody"><br>
</span><br><span class="postbody"><br><br>
</span><br><br>