WPA wifi. Help please! (I am desperate)

David david.maillists at gmail.com
Thu Jul 26 17:50:08 EDT 2007


Hello,

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...

I have a router encrypted with WPA, I have the key, hexadecimal and 26
characters long, and I have to connect with DHCP. 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.

On
http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/README.modes?op=file&rev=0&sc=0I
read "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". So, what about my 26 character hexadecimal key?

OK, I tried writing /etc/network/interfaces like that (I replace my actual
essid and key by a random one):

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# Wifi
auto ath0 # in order to be automatically started
iface ath0 inet dhcp
        wpa-driver madwifi
   wpa-ssid wifiathome # NOT the real one
   wpa-psk D7110AFEB3267098AA034GBA23 # NOT the real one

and then (hiding some information):

debian:/home/me# /etc/init.d/networking restart
Reconfiguring network interfaces...Internet Systems Consortium DHCP Client
V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/**:**:**:**:**:**
Sending on   LPF/ath0/**:**:**:**:**:**
Sending on   Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.

 The same if I use wext instead of madwifi

Any help?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20070726/4a7c916c/attachment.htm 


More information about the HostAP mailing list