Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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:
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.
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.
thanks for reply.. I tryed to install madwifi from yum (livna mirror) but it doesn't work...
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.
Last edited by dark_access; 11-05-2008 at 09:42 AM.
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.)
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?
My guess would be that you've left out some crucial step. Have you done all of the following in this order before giving up?
Code:
sudo make clean
sudo make
sudo make install
sudo modprobe ath_pci
@ 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.
<snip>
@ 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.
</snip>
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/# make -s clean# make -s
Checking requirements... ok.
Checking kernel configuration... ok.
Building modules, stage 2.
# make -s install
Checking requirements... ok.
Checking kernel configuration... ok.
Building modules, stage 2.
# modprobe ath_pci
After which my knetworkmanager icon changed from a screen-with-a-red-x to a "connecting" moving icon, and I was soon automatically connected to my wireless WPA2-protected modem. (knetworkmanager because I mostly use KDE.)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.