Glad to be able to report that this card now works on an open router.  
This is good progress.   On turning on wpa-psk and entering the key in
/etc/network/interfaces i can't bring up ath0:
Error for wireless request "Set Encode" (8B2A) :
SET failed on device ath0 ; Invalid argument.
Failed to bring up ath0

Googling leads to the need to configure wpasupplicant as Craig
suggests.  Tonight or tomorrow...
Roger




Craig FALCONER wrote:
> Hi Roger - I have struggled through WPA several times in the last couple of
> months.
>
> Firstly, WPA support under linux demands that you run a daemon called
> wpa_supplicant.  Some distros package this as wpasupplicant.  Without this
> you simply don't get WPA.
>
> wpa_supplicant handles all the password stuff as well as selecting the best
> network available from a priority list.  You can see what its doing by
> running wpa_cli in another window.
>
> Also, I believe that wlan0 (or wifi0 as mine is) is not a real device....
> Instead it's a master device that can provide multiple athX devices on the
> same card so that you can do lots of cool stuff.
>
> Which drivers are you using?  Madwifi, madwifi-ng (me), or hostap, or
> something else?
>
>
>
> -----Original Message-----
> From: Roger Searle [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 25 July 2006 7:34 p.m.
> To: [email protected]
> Subject: no dhcpoffer
>
>
> I have a functional wireless card now, but when the card goes looking for
> the router no dhcpoffer is received by the card. 
>
> [EMAIL PROTECTED]:~$ sudo ifup ath0
> Internet Systems Consortium DHCP Client V3.0.3
> Copyright 2004-2005 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/products/DHCP
>
> Listening on LPF/ath0/00:13:46:74:9a:d0
> Sending on   LPF/ath0/00:13:46:74:9a:d0
> Sending on   Socket/fallback
> ....
> No DHCPOFFERS received.
> No working leases in persistent database - sleeping.
>
> I have set the router so that it is NOT filtering by MAC address, it is WPA
> pre-shared key, and I have checked there is a match with the channel, ssid
> and password from /etc/network/interfaces:  
>
> auto lo 
> iface lo inet loopback
>
> auto eth0
> iface eth0 inet dhcp
>
> auto eth1
> iface eth1 inet dhcp
>
> auto eth2
> iface eth2 inet dhcp
>
> auto ath0
> iface ath0 inet dhcp
> pre-up /sbin/iwpriv ath0 mode 0
> pre-up /sbin/iwconfig ath0 essid rnsRouter channel 10 key abcde12345
>
> auto wlan0
> iface wlan0 inet dhcp
>
> Anyone have any suggestions what I could do?
>
> Cheers,
> Roger
>
>
>   

Reply via email to