LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-30-2009, 01:38 AM   #1
Weibin Zheng
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Rep: Reputation: 0
Where to find the kernel driver (ath5k?) for atheros AR5416 card


Where can I find the kernel driver (ath5k?) for an Atheros AR5416 card? My System is Redhat EL5. New kernels (e.g. 2.6.30.9) have the ath5k sources, but I failed to install it for my machine.
 
Old 11-30-2009, 10:57 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,071

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
Quote:
Originally Posted by Weibin Zheng View Post
Where can I find the kernel driver (ath5k?) for an Atheros AR5416 card? My System is Redhat EL5. New kernels (e.g. 2.6.30.9) have the ath5k sources, but I failed to install it for my machine.
Since you say you have the drivers, but "failed to install it", how about telling us where you got those drivers, and exactly how it failed?? Posting an error message with complete details would get you lots more help.

Also, if you need the latest drivers for RHEL, contact RedHat, or look on their knowledgebase. You've got access to both, since you're paying for it with your RedHat Enterprise support...
 
Old 11-30-2009, 11:05 AM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
There are a number of different RHEL5's (5.0-5.4). The newest kernel(-164.6.1.el5 ) will have the most hardware support.

Quote:
MadWifi is short for Multiband Atheros Driver for Wireless Fidelity. It
provides a Linux kernel device driver for Atheros-based Wireless LAN
devices. The driver works such that your WLAN card will appear as a normal
network interface in the system. Additionally there is support for the
Wireless Extensions API. This allows you to configure the device using
common wireless tools (ifconfig, iwconfig and friends).
el5 packages(rpm) available from rpmforge.
 
Old 11-30-2009, 01:20 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,260

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
# yum install madwifi

That's the driver ... also from 'rpmforge.repo' .
http://www.linuxforums.org/forum/red...ifi-rhel5.html
But may be it's old info ? ?
.....

https://rpmrepo.org/RPMforge
https://rpmrepo.org/RPMforge/Using
.....

Last edited by knudfl; 11-30-2009 at 01:24 PM.
 
Old 11-30-2009, 01:45 PM   #5
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Latest madwifi drivers - 0.9.5.x (like support for AR5007 PCI Express radios) is in atrpms-stable repository. RPMForge's latest are 0.9.2.

Be aware that support for AR5416 chipset might not be fully developed. Search madwifi site if you have problems.

http://www.atrpms.net/dist/el5/madwifi-free/



or http://www.atrpms.net/dist/el5/madwifi-old/
 
Old 11-30-2009, 02:03 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Be very careful with Atrpms. The have a long history of not playing well with others (including base repos). I do use them for a few things, but am extremely careful with them.
 
1 members found this post helpful.
Old 12-01-2009, 03:47 AM   #7
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Both Atrpms AND RPMForge have issues with EPEL repository, so I decided to use ONLY EPEL on a daily basis from third party repositories. And I suggest that to all other RHEL/CentOS users. But, trought be told, I found Atrpms slightly more compatible with EPEL then RPMForge.

That is why, since I do need some packages from both for every new install, and I do not want to manually choose or have a automatic update hell, I spent some time and created my own, manually populated and updated repository (plnet-downloaded)/, so when you use it on the daily basis you can be sure that no conflicts will exist.
 
Old 12-01-2009, 03:53 AM   #8
Weibin Zheng
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Since you say you have the drivers, but "failed to install it", how about telling us where you got those drivers, and exactly how it failed?? Posting an error message with complete details would get you lots more help.
Sorry for the confusion. In fact, I failed to boot the new kernels. It is compiled and installed, but boot fails.
 
Old 12-01-2009, 04:00 AM   #9
Weibin Zheng
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
There are a number of different RHEL5's (5.0-5.4). The newest kernel(-164.6.1.el5 ) will have the most hardware support.
el5 packages(rpm) available from rpmforge.
The ath5k in the newest kernel (-164xxx) seems broken. In its Kconfig it depends on MAC80211, PCI, etc. But I cannot find any config named MAC80211. I renamed it as IEEE80211, and I then can select in 'make menuconfig'. But compilation failed again with lots of errors.
 
Old 12-01-2009, 05:00 AM   #10
Weibin Zheng
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
# yum install madwifi

That's the driver ... also from 'rpmforge.repo' .
http://www.linuxforums.org/forum/red...ifi-rhel5.html
But may be it's old info ? ?
.....

https://rpmrepo.org/RPMforge
https://rpmrepo.org/RPMforge/Using
.....
I installed madwifi-0.9.4-0.1.r2598.el5 of Rpmforge. But the AR5416 card does not work properly. 'iwlist ath0 scanning' gives no result. In fact we have at least 3-4 APs nearby. My rt73 card can find them well.

Is this caused by the bad support to AR5416 from madwifi-0.9.4-0.1r2598.el5 package? Or is it caused by my commands? I am not familiar with those wifi-related commands.

The commands are as below, and the 'nis' AP is running 802.11g in my room.

# wlanconfig ath0 create wlandev wifi0 wlanmode sta
# iwconfig ath0 essid nis
# iwconfig ath0
ath0 IEEE 802.11b ESSID:"nis"
Mode:Managed Frequency:2.412 GHz Access Point: Invalid
Bit Rate:0 kb/s Tx-Power:17 dBm Sensitivity=1/1
Retryff RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality=0/70 Signal level=-98 dBm Noise level=-98 dBm
Rx invalid nwid:6434 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

# iwlist ath0 scanning
ath0 No scan results
 
Old 12-01-2009, 07:53 AM   #11
Weibin Zheng
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Weibin Zheng View Post
I installed madwifi-0.9.4-0.1.r2598.el5 of Rpmforge. But the AR5416 card does not work properly. 'iwlist ath0 scanning' gives no result. In fact we have at least 3-4 APs nearby. My rt73 card can find them well.

Is this caused by the bad support to AR5416 from madwifi-0.9.4-0.1r2598.el5 package? Or is it caused by my commands? I am not familiar with those wifi-related commands.

The commands are as below, and the 'nis' AP is running 802.11g in my room.
...
# iwlist ath0 scanning
ath0 No scan results
I find the problem. The iwlist scanning needs wlan_scan_sta module, and 'modprobe wlan_scan_sta' does not insert the module for me. When I insmod wlan_scan_sta, iwlist scanning runs well.

Thank you all.
 
  


Reply

Tags
madwifi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MadWifi Driver not working with Atheros ar5b95 card MadHatter21 Ubuntu 2 07-31-2009 02:04 AM
Ath5k doesnt work.. - Atheros AR2413 dark_access Linux - Networking 19 12-08-2008 08:07 AM
can't make madwifi 0.9.3 find my embedded Atheros card lepht Linux - Wireless Networking 8 02-10-2008 04:38 AM
Atheros AR5008, OpenSuse 10.3 (X86-64), ASUS C90S, AR5416.sys Karl65 Linux - Wireless Networking 2 10-29-2007 07:03 AM
Planet 8310 wireless card driver? (atheros) nvidiausr Linux - Wireless Networking 4 11-01-2004 11:44 AM


All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration