Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ath5k and wpa_supplicant
Date: Tue, 02 Jun 2009 05:31:37
Message-Id: 200906020631.32133.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] ath5k and wpa_supplicant by Neil Bothwick
1 On Monday 01 June 2009, Neil Bothwick wrote:
2 > On Mon, 01 Jun 2009 19:15:36 +0200, Michael Niggli wrote:
3 > > You might want to try and change
4 > > wpa_supplicant_ath0="-Dmadwifi"
5 > > to
6 > > wpa_supplicant_ath0="-Dwext"
7 > >
8 > > Works like a charm over here :-)
9 >
10 > ath5k calls the device wlan0.
11
12 Yes it does, but this is what I am getting when I try to run wpa_cli in a
13 terminal:
14 =====================================================
15 $ wpa_cli
16 wpa_cli v0.6.4
17 Copyright (c) 2004-2008, Jouni Malinen <j@××.fi> and contributors
18
19 This program is free software. You can distribute it and/or modify it
20 under the terms of the GNU General Public License version 2.
21
22 Alternatively, this software may be distributed under the terms of the
23 BSD license. See README and COPYING for more details.
24
25
26 Selected interface 'ath0'
27 Could not connect to wpa_supplicant - re-trying
28 =====================================================
29
30 ps axf shows:
31
32 /bin/wpa_cli -a/etc/wpa_supplicant/wpa_cli.sh -p/var/run/wpa_supplicant -iwlan1 -P/var/run/wpa_cli-wlan1.pid -B
33
34 Why is it picking up 'ath0' when there are no references to ath0 in
35 my /etc/conf.d/net? Both wpa_cli and wpa_gui seem to work fine when I
36 define -iwlan1 on the CLI.
37
38 My log shows that wlan0 is renamed to wlan1:
39 =====================================================
40 Jun 2 06:23:53 lappy pcmcia_socket pcmcia_socket1: pccard: CardBus card
41 inserted into slot 1
42 Jun 2 06:23:53 lappy pci 0000:04:00.0: reg 10 32bit mmio: [0x000000-0x00ffff]
43 Jun 2 06:23:53 lappy ath5k 0000:04:00.0: enabling device (0000 -> 0002)
44 Jun 2 06:23:53 lappy ath5k 0000:04:00.0: PCI INT A -> Link[C0C0] -> GSI 11
45 (level, low) -> IRQ 11
46 Jun 2 06:23:53 lappy ath5k 0000:04:00.0: registered as 'phy1'
47 Jun 2 06:23:53 lappy wmaster0 (ath5k): not using net_device_ops yet
48 Jun 2 06:23:53 lappy phy1: Selected rate control algorithm 'minstrel'
49 Jun 2 06:23:53 lappy wlan0 (ath5k): not using net_device_ops yet
50 Jun 2 06:23:53 lappy ath5k phy1: Atheros AR5213A chip found (MAC: 0x59, PHY:
51 0x43)
52 Jun 2 06:23:53 lappy ath5k phy1: RF5112B multiband radio found (0x36)
53 Jun 2 06:23:53 lappy udev: renamed network interface wlan0 to wlan1
54 Jun 2 06:23:56 lappy rc-scripts: We only hotplug for ethernet interfaces
55 Jun 2 06:23:57 lappy rc-scripts: wpa_supplicant_wlan1 does not define a
56 driver
57 =====================================================
58
59 Not sure why this happens. Any ideas?
60 --
61 Regards,
62 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] ath5k and wpa_supplicant Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] ath5k and wpa_supplicant Neil Bothwick <neil@××××××××××.uk>