On Monday 01 June 2009, Neil Bothwick wrote:
> On Mon, 01 Jun 2009 19:15:36 +0200, Michael Niggli wrote:
> > You might want to try and change
> >      wpa_supplicant_ath0="-Dmadwifi"
> > to
> >      wpa_supplicant_ath0="-Dwext"
> >
> > Works like a charm over here :-)
>
> ath5k calls the device wlan0.

Yes it does, but this is what I am getting when I try to run wpa_cli in a 
terminal:
=====================================================
$ wpa_cli
wpa_cli v0.6.4
Copyright (c) 2004-2008, Jouni Malinen <j...@w1.fi> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.


Selected interface 'ath0'
Could not connect to wpa_supplicant - re-trying
=====================================================

ps axf shows:

/bin/wpa_cli -a/etc/wpa_supplicant/wpa_cli.sh -p/var/run/wpa_supplicant -iwlan1 
-P/var/run/wpa_cli-wlan1.pid -B

Why is it picking up 'ath0' when there are no references to ath0 in 
my /etc/conf.d/net?  Both wpa_cli and wpa_gui seem to work fine when I 
define -iwlan1 on the CLI.

My log shows that wlan0 is renamed to wlan1:
=====================================================
Jun  2 06:23:53 lappy pcmcia_socket pcmcia_socket1: pccard: CardBus card 
inserted into slot 1
Jun  2 06:23:53 lappy pci 0000:04:00.0: reg 10 32bit mmio: [0x000000-0x00ffff]
Jun  2 06:23:53 lappy ath5k 0000:04:00.0: enabling device (0000 -> 0002)
Jun  2 06:23:53 lappy ath5k 0000:04:00.0: PCI INT A -> Link[C0C0] -> GSI 11 
(level, low) -> IRQ 11
Jun  2 06:23:53 lappy ath5k 0000:04:00.0: registered as 'phy1'
Jun  2 06:23:53 lappy wmaster0 (ath5k): not using net_device_ops yet
Jun  2 06:23:53 lappy phy1: Selected rate control algorithm 'minstrel'
Jun  2 06:23:53 lappy wlan0 (ath5k): not using net_device_ops yet
Jun  2 06:23:53 lappy ath5k phy1: Atheros AR5213A chip found (MAC: 0x59, PHY: 
0x43)
Jun  2 06:23:53 lappy ath5k phy1: RF5112B multiband radio found (0x36)
Jun  2 06:23:53 lappy udev: renamed network interface wlan0 to wlan1
Jun  2 06:23:56 lappy rc-scripts: We only hotplug for ethernet interfaces
Jun  2 06:23:57 lappy rc-scripts: wpa_supplicant_wlan1 does not define a 
driver
=====================================================

Not sure why this happens.  Any ideas?
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to