Hi, I have checked and upgraded wpasupplicant, and installed wpagui. I think I need to back track a bit and check that I have the correct drivers installed, given you ask whether I am using madwifi or madwifi-ng. I believed that I installed the modules for both last week, and ran a modprobe to get them inserted in the kernel (I hope I'm putting that right!). lsmod doesn't list anything with wifi though does have several references to ath and wlan - but tbh I don't really know what to look for.
How do I check which drivers I have installed? Also, could anyone confirm that this is a valid format for my /etc/network/interfaces file if I have an open router without wpa? (I have removed "key abcde12345" following "channel 10". 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 I have removed the following section at the end, though that may not have been the right thing to do given Craig's post: auto wlan0 iface wlan0 inet dhcp However, I am trying to get the card up by doing "sudo ifup ath0", rather than wlan0. The following entries in dmesg is the basis for my believing the card is functioning after inserting (plus both lights are active as expected): [17180289.376000] pccard: CardBus card inserted into slot 0 [17180289.424000] ath_hal: module license 'Proprietary' taints kernel. [17180289.428000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413) [17180289.448000] wlan: 0.8.6.0 (EXPERIMENTAL) [17180289.452000] ath_rate_sample: 1.2 [17180289.464000] ath_pci: 0.9.6.0 (EXPERIMENTAL) [17180289.464000] PCI: Enabling device 0000:03:00.0 (0000 -> 0002) [17180289.464000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 177 [17180290.052000] Build date: Jul 10 2006 [17180290.052000] Debugging version (IEEE80211) [17180290.052000] ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps [17180290.052000] ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps [17180290.052000] ath0: H/W encryption support: WEP AES AES_CCM TKIP [17180290.052000] ath0: mac 7.8 phy 4.5 radio 5.6 [17180290.052000] ath0: Use hw queue 1 for WME_AC_BE traffic [17180290.052000] ath0: Use hw queue 0 for WME_AC_BK traffic [17180290.052000] ath0: Use hw queue 2 for WME_AC_VI traffic [17180290.052000] ath0: Use hw queue 3 for WME_AC_VO traffic [17180290.052000] ath0: Use hw queue 8 for CAB traffic [17180290.052000] ath0: Use hw queue 9 for beacons [17180290.052000] Debugging version (ATH) [17180290.052000] ath0: Atheros 5212: mem=0x34000000, irq=177 Thanks for the ongoing suggestions... 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 > > >
