Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Switching from madwifi-ng to ath5k
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Caleb9
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 79
Location: PL & DK

PostPosted: Mon Dec 21, 2009 2:43 pm    Post subject: [SOLVED] Switching from madwifi-ng to ath5k Reply with quote

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
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Mon Dec 21, 2009 3:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Caleb9
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 79
Location: PL & DK

PostPosted: Mon Dec 21, 2009 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue Dec 22, 2009 1:37 am    Post subject: Reply with quote

Nice :P

Can you post this :

Code:

# cat /etc/udev/rules.d/70-persistent-net.rules
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum