From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ath5k and wpa_supplicant
Date: Fri, 5 Jun 2009 15:06:12 +0100 [thread overview]
Message-ID: <358eca8f0906050706n374ed4fdx31e72d6da9592aa7@mail.gmail.com> (raw)
In-Reply-To: <58965d8a0906030856j58c30978jdd0a826cf07ca099@mail.gmail.com>
2009/6/3 Paul Hartman <paul.hartman+gentoo@gmail.com>:
> On Tue, Jun 2, 2009 at 7:24 AM, Mick <michaelkintzios@gmail.com> wrote:
>> I'm afraid that although my card is now recognised as wlan0, both
>> wpa_cli and gui insist on trying to connect to ath0, unless I specify
>> -iwlan0 at the terminal. I don't have (knowingly) specified ath0 in
>> any other configuration file ... where else could wpa_supplicant pick
>> this from?
>
> On my system I've got ath5k for wifi, too. It uses wpa_supplicant and
> my device is wlan0 and all works well enough. I switched 2 machines
> from madwifi to ath5k and only had to make 4 changes to my
> configuration:
>
> 1. Edit /etc/modprobe.d/blacklist and add this line:
> blacklist ath_pci
I didn't have to do that.
> 2. In /etc/conf.d/net I have changed this line:
> wpa_supplicant_ath0="-Dmadwifi"
>
> to this:
> wpa_supplicant_wlan0="-Dwext"
Yep, done that.
> 3. In /etc/udev/rules.d/70-persistent-net.rules I deleted the old
> entry for my wireless card and let it re-create, which came out as:
> # PCI device 0x168c:0x001c (ath5k_pci)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="00:15:af:15:e3:3e", ATTR{type}=="1", KERNEL=="wlan*",
> NAME="wlan0"
I deleted the old rule in there.
> 4. Rename /etc/init.d/net.ath0 symlink to /etc/init.d/net.wlan0 and
> make sure it is in the "default" runlevel.
Aha! Hadn't done that until now and I also deleted /var/run/wpa_supplicant/ath0
This has fixed it! wpa_cli and wpa_gui now find my card. Thank you
all for your help.
PS. I noticed that unlike madwifi the in-kernel driver does not work
particularly well with iwlist:
# iwlist wlan0 ap
wlan0 Interface doesn't have a list of Peers/Access-Points
# iwlist wlan0 rate
wlan0 unknown bit-rate information.
Current Bit Rate=24 Mb/s
wpa_cli thought shows the full list of APs.
--
Regards,
Mick
prev parent reply other threads:[~2009-06-05 14:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-01 14:46 [gentoo-user] ath5k and wpa_supplicant Mick
2009-06-01 17:15 ` Michael Niggli
2009-06-01 18:51 ` Mick
2009-06-01 22:32 ` Michael Niggli
2009-06-01 22:55 ` Neil Bothwick
2009-06-02 5:31 ` Mick
2009-06-02 10:18 ` Stroller
2009-06-02 10:22 ` Neil Bothwick
2009-06-02 10:35 ` Mick
2009-06-02 12:24 ` Mick
2009-06-02 16:09 ` Neil Bothwick
2009-06-03 6:14 ` Mick
2009-06-03 7:54 ` Neil Bothwick
2009-06-03 15:56 ` Paul Hartman
2009-06-05 14:06 ` Mick [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=358eca8f0906050706n374ed4fdx31e72d6da9592aa7@mail.gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox