From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ath5k and wpa_supplicant
Date: Wed, 3 Jun 2009 10:56:47 -0500 [thread overview]
Message-ID: <58965d8a0906030856j58c30978jdd0a826cf07ca099@mail.gmail.com> (raw)
In-Reply-To: <358eca8f0906020524q4659052at627ef46d8379fd3f@mail.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
2. In /etc/conf.d/net I have changed this line:
wpa_supplicant_ath0="-Dmadwifi"
to this:
wpa_supplicant_wlan0="-Dwext"
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"
4. Rename /etc/init.d/net.ath0 symlink to /etc/init.d/net.wlan0 and
make sure it is in the "default" runlevel.
And finally reboot. Good luck!
next prev parent reply other threads:[~2009-06-03 15:56 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 [this message]
2009-06-05 14:06 ` Mick
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=58965d8a0906030856j58c30978jdd0a826cf07ca099@mail.gmail.com \
--to=paul.hartman+gentoo@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