public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ath5k and wpa_supplicant
@ 2009-06-01 14:46 Mick
  2009-06-01 17:15 ` Michael Niggli
  0 siblings, 1 reply; 15+ messages in thread
From: Mick @ 2009-06-01 14:46 UTC (permalink / raw
  To: gentoo-user

Hi All,

Until gentoo-sources-2.6.29-r5 came out I was able to use my ath5 card
with wpa_supplicant.  My /etc/conf.d/net contained:
=============================================
modules=( "wpa_supplicant" )
wpa_supplicant_ath0="-Dmadwifi"
=============================================

All went swimmingly well until I tried to re-emerge wpa_supplicant
after I compiled my new kernel - an error message warned that
CONFIG_KMOD was missing ...
=============================================
 * Found sources for kernel version:
 *     2.6.29-gentoo-r5
 * Checking for suitable kernel configuration options...
 *    requires CONFIG_KMOD to be set to y or m
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.
=============================================

I searched for KMOD in vane - couldn't find it in the new kernel
.config.  So I concluded that it may be curtains for wpa_supplicant.
I enabled ath5k in the kernel as a module, commented out all the
wpa_supplicant entries in my /etc/conf.d/net and rebooted.  When I
plugged in my ath5 cardbus it seems that the device is recognised, the
module loaded, but it cannot associate:
=============================================
 *     Found 00:1D:A2:86:D1:00 (managed, encrypted)
 *     Found 00:1D:A2:86:D1:80 (managed, encrypted)
 *     Found 00:1D:A2:86:D4:C0 (managed, encrypted)
 *     Found "blah-blah" at 00:1D:A2:86:CF:01 (managed)
 *     Found 00:1D:A2:86:CF:00 (managed, encrypted)
 *   Connecting to "blah-blah" in managed mode (WEP Disabled) ...
    [ !! ]
 *   Couldn't associate with any access points on wlan1
 *   Failed to configure wireless for wlan1                               [ !! ]
=============================================

However, running the following commands manually gets me online
without any problems:
=============================================
# modprobe -v ath5k
insmod /lib/modules/2.6.29-gentoo-r5/kernel/drivers/net/wireless/ath5k/ath5k.ko
# ip link set wlan1 up
# iwconfig wlan1 essid any
# dhcpcd wlan1 up
wlan1: dhcpcd 4.0.13 starting
wlan1: broadcasting for a lease
wlan1: offered 10.211.38.232 from 1.1.1.1
wlan1: acknowledged 10.211.38.232 from 1.1.1.1
wlan1: checking 10.211.38.232 is available on attached networks
wlan1: leased 10.211.38.232 for 86400 seconds
=============================================

I am a bit rusty will all this as I did not have to configure it for
years.  If I am not doing anything wrong, any idea what I should enter
in my /etc/conf.d/net to allow the device to come up automatically
when plugged in?
-- 
Regards,
Mick



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-06-05 14:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox