View previous topic :: View next topic |
Author |
Message |
Caleb9 Tux's lil' helper
Joined: 22 Nov 2005 Posts: 79 Location: PL & DK
|
Posted: Mon Dec 21, 2009 2:43 pm Post subject: [SOLVED] Switching from madwifi-ng to ath5k |
|
|
Hi,
I have updated to gentoo-sources-2.6.31-r6 lately and I can see it has the ath5k driver available. I'd like to check if it will work with my Atheros AR5001 wireless card - until now I've been using madwifi-ng. So I compiled the modules and unmerged madwifi-ng, but when I do `lsmod | grep ath` I still get
Quote: | ath5k 121320 0
mac80211 137712 1 ath5k
ath 9184 1 ath5k
cfg80211 85592 3 ath5k,mac80211,ath
ath_rate_sample 10320 1
ath_pci 79776 0
wlan 159456 5 wlan_ccmp,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 215632 3 ath_rate_sample,ath_pci |
I'm connecting with WICD and use WPA_SUPPLICANT. For the latter I've set the driver to 'wext' both in /etc/conf.d/net and in WICD configuration. I have also removed madwifi's ath_pci module (and alike) from /etc/modules.autoload.d/kernel-2.6. Still I know the connection is using ath_pci as removing /lib/modules/2.6.31-r6/net/* makes WICD unable to see any wireless network. Can someone please enlighten me on how to enable ath5k and get rid of madwifi?
Thanks
Last edited by Caleb9 on Mon Dec 21, 2009 6:18 pm; edited 1 time in total |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Mon Dec 21, 2009 3:35 pm Post subject: |
|
|
My guess would be that you need to blacklist the madwifi-ng modules in /etc/modprobe.d/blacklist.conf, so udev won't load them at boot. Or simply remove them completely from your machine.
ath5k does work with AR5001, it's what my Acer Aspire One has, and I've always used ath5k for it. One thing you also need to note is that madwifi names your wireless 'ath0', while ath5k names it 'wlan0'. |
|
Back to top |
|
|
Caleb9 Tux's lil' helper
Joined: 22 Nov 2005 Posts: 79 Location: PL & DK
|
Posted: Mon Dec 21, 2009 6:18 pm Post subject: |
|
|
Yes! Changing the 'Wireless interface' in WICD preferences from ath0 to wlan0 and removing modules from /lib/modules/2.6.31-gentoo-r6/net/ solved the thing. Thank you :] |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Dec 22, 2009 1:37 am Post subject: |
|
|
Nice
Can you post this :
Code: |
# cat /etc/udev/rules.d/70-persistent-net.rules
|
|
|
Back to top |
|
|
|