Ath5k doesnt work.. - Atheros AR2413
Hello everybody,
I've a BIG problem with my new Fedora Core 9 (2.6.25). I have an Atheros card (AR2413) that is supported by madwifi drivers (http://madwifi-project.org/wiki/Chipsets#a2413).. but unfortunately doesn't work with the new ath5k drivers already compiled in the linux kernel (2.6.25). So, times ago I installed on my slack madwifi 0.9 and my Atheros card worked fine.. but now I tryed to change distro (Fedora 9) and I've some PROBLEMS.. (strange problems). I enabled on my 2.6.25 kernel these modules: Networking ---> Wireless ---> Improved wireless configuration API Generic IEEE 802.11 Networking Stack (mac80211) and Device Drivers --->[*] Network device support ---> Wireless LAN ---> Atheros 5xxx wireless cards support So.. ath5k is now enabled.. I also enabled all kind of algos for cryptology.. (AES TKIP and so on..) I tryed to connect with wpa_supplicant but.. doesn't work.. So I decided to cut off WPA-PSK from my AP.. So my AP is now setted with no keys.. then I tryed again to connect on my ap: /sbin/ifconfig wlan0 192.168.0.5 /sbin/route add default gw 192.168.0.1 wlan0 (these command work well) but then I got again this error from dmesg: ... wlan0: authenticate with AP MAC_ADDRESS wlan0: disassociate(reason=3) So, what's wrong? I'm going crazy.. :( Someone can help me please? PS I also saw this from dmesg | grep ath ath5k_pci 0000:06:02.0 registered as 'phy0' ath5k phy0 AR2413 chip found but phy0.. is not in the ifconfig -a output ... :( Thanks in advance. |
What about your ESSID? Try iwconfig wlan0 essid [your essid goes here] an see what happens.
|
You might try:
http://www.linuxforums.org/forum/wir...edora-8-a.html |
@rvo:
already done.. I tryed all... iwlist, iwconfig, wpa_supplicant, AP without key.. and so on.. No kinda results.. @craigevil: already tryed.. it doesn't work.. But I think that ath5k.. is "madwifi"..So I dont need to madwifi... Or .. am i wrong? |
I tryed again other ways.. but without any kind of success...
Same same same error.. :( If someone know something about it.. please let me know. Thanks |
idk about fedora but in sidux ath5k is in the 2.6.27 kernel, madiwifi has to be installed separately.
On my eee I removed madwifi and modprobed ath5k and it just worked |
Ath5k has been in high development mode, and I don't know what kernel version it became sort of "stable". You might have to remove ath5k and install madwifi 0.9.4.1 or whatever the final version was. You might be better off switching to the latest stable 2.6 kernel, if you can. I'm running 2.6.27.3 and it seems OK for ath5k.
|
Quote:
yum install madwifi kmod-madwifi it gives me some error (no rpm found..) So, I tryed to install madwifi (0.9.4) from sources but... also here.. my wifi0 doesn't run :( during compiling time is ALL OK!! but.. /sbin/iwconfig wlan0 essid "my" doesn't associate my ath to my ap.. What's wrong? ah.. I've blacklisted ath5k in modprobe.conf after installing madwifi! Best Regards. |
I have the same Atheros device, and my solution was to disable (i.e., blacklist) the ath5k and install the ath_hal snapshot (I use madwifi-hal-0.10.5.6-r3698-20080604). Note that my problem was because I was using a AMD 64bit system, and the 64bit support in the stock madwifi driver for the AR24__ EG chips has not yet been merged into the ath5k driver.
By the way, if you use that snapshot, you'll need to patch the calls to iwe_stream_add_event and iwe_stream_add_point in the ieee80211_wireless.c program to include a reference to a iw_request_info structure as the first argument of each call. I just added a static struct iw_request_info iw_info = { 0, 0}; near the top of the program, and a &iw_info as the first argument. (A real kludge, but it works.) |
Quote:
Code:
sudo make clean |
@ Quakeboy02: sure.. Done that steps.. ;)
@ PTrenholme: But on my slack i installed madwifi from sources and it worked very well!! I blacklisted ath5k (and with lsmod i cant see ath5k.. so it's blacklisted!) but... it doesnt work.. So, where I can find madwifi-hal-0.10.5.6-r3698-20080604? But i don't understand which changes (which patches) has to be made in the ieee80211_wireless.c. Thanks. |
You do know that with madwifi you get ath0 and now wlan0.
|
Quote:
Just a moment - let me download the November one an see if it compiles without a patch. Yes, it does. So, just go to the snapshot directory, grab the last (r3875) file, unpack it (ark works well), and do the make dance steps described above. Now I'm going to reboot and see what happens . . . <edit> And everything seems to be working fine. </edit> |
Hello,
I think I've solved the problem... I tryed to install the newest snapshot (downloaded from the "PTrenholme link") and it seems that it works (tested on 2.6.27 vanilla kernel).. as soon as possible I'll make some tests.. but i think there will be no problems. |
Fedora just updated to a 2.6.27 kernel, and I needed to re-compile and install the driver. So, for what it's worth, here's how I did it:
Code:
# cd madwifi-hal-0.10.5.6-r3875-20081105/ Note: I posted this here not so much for the OP who, when last heard from, seems OK, but for others who may access this thread. |
All times are GMT -5. The time now is 03:38 PM. |