About
Community
News of the Temple
Community Bulletin Board
Chat
Art
Carnality
Entertainment
Science
Society
Technology
bbs | search | rss | faq | about | register
digg | del.icio.us | sphere | google

Go Back   Community > Technology > Everything *NIX

Everything *NIX This is a general forum about all forms of *nix. Post your ideas and thoughts on this wonderful OS family. Talk about your personal favorite flavor of *nix and why you think it's so much better than the others. Anything pertaining to *nix and *nix administration should be posted here.

Reply
 
Thread Tools Display Modes
  #1   Add coroner to your ignore list  
Old 2008-11-21, 18:44
coroner coroner is offline
Moderator
 
Sierra Vista. Arizona
Default Madwifi-hal for Atheros 5k cards under Linux

For some users having trouble with their Atheros cards under Linux, some cards like the AR5007EG for example require a specific branch of Madwifi-hal.. posted here:
http://snapshots.madwifi-project.org...-hal-0.10.5.6/

I have compiled a package specifically for the stock Fedora 9 kernel, 2.6.25-14 for i686 and have that available in RPM form here:
http://autopsy.liveprojects.info/REPO/RPMS/i386/

The SRPM for building a package against your own kernel, if you are using Fedora or another distribution which uses the same RedHat/Fedora style package build system with RPM and rpmbuild is here:
http://autopsy.liveprojects.info/REPO/SRPMS

This is the first package build for this particular branch that I have done, so if you look at the SPEC file, please don't puke. It still needs some BuildRequires and Requires fields set properly.

In any case, if you have another distribution and are wondering why your Atheros card does not work, or need help compiling and installing this particular MadWifi-HAL branch for your machine, I think we can help. The Ubuntu user who posted about his card is running into this same issue, I believe.

If you need a package built for another kernel version, let me know the kernel version and I can build that package for you also.
Reply With Quote
  #2   Add enkrypt0r to your ignore list  
Old 2008-11-21, 20:41
enkrypt0r enkrypt0r is offline
Regular
 
Wisconsin, USA
Default Re: Madwifi-hal for Atheros 5k cards under Linux

Sweet, that's the exact card I've got! I've had trouble with getting the stupid thing into monitor mode on Backtrack 3 for capturing packets with the aircrack-ng suite. Any tips/drivers/advice/ideas on that? I appreciate your hard work.
Reply With Quote
  #3   Add Longhorner to your ignore list  
Old 2008-11-23, 01:52
Longhorner Longhorner is offline
Regular
 
Glen Rock Send a message via AIM to Longhorner
Default Re: Madwifi-hal for Atheros 5k cards under Linux

im going to give this a try thanks alot



>>>edit>>> i still do not know how to install anything on linux based systems im using ubuntu.
Reply With Quote
  #4   Add coroner to your ignore list  
Old 2008-11-23, 13:57
coroner coroner is offline
Moderator
 
Sierra Vista. Arizona
Default Re: Madwifi-hal for Atheros 5k cards under Linux

For Ubuntu Linux, compiling and installing from source would include using apt-get to install kernel-source or kernel-devel package or a similar kernel development package under Ubuntu.. then downloading the latest snapshot from the website listed here:
http://snapshots.madwifi-project.org...-hal-0.10.5.6/

They have a date you can see in the filename, then unarchiving it using tar command or something else in X windows like Archive Manager or similar.

cd into the extracted directory of the archive, and run:
make && make install

Blacklist the ath5k module like so:
echo "blacklist ath5k" >/etc/modules.d/ath5k

Reboot into Ubuntu, or modprobe -r the existing resident modules, and load ath_pci and ath_hal with modprobe.

See the manual pages and/or the website.
Reply With Quote
  #5   Add Longhorner to your ignore list  
Old 2008-11-26, 17:34
Longhorner Longhorner is offline
Regular
 
Glen Rock Send a message via AIM to Longhorner
Default Re: Madwifi-hal for Atheros 5k cards under Linux

you know now that you break it down like that it makes perfect sense to a guy who grew up with windows
Reply With Quote
  #6   Add Prometheum to your ignore list  
Old 2008-11-26, 19:15
Prometheum Prometheum is offline
Regular
 
01 Send a message via AIM to Prometheum Send a message via MSN to Prometheum
Default Re: Madwifi-hal for Atheros 5k cards under Linux

I have the same card (a AR242x). I've heard that this card is supported fully under later versions of ath5k/ath9k in ubuntu-backports-modules, but this is how I have it working with madwifi.
  1. Install the packages build-essential, linux-source, and linux-headers-generic.
    Code:
    sudo apt-get install build-essential linux-source linux-headers-generic subversion
  2. Grab the latest SVN of this branch: http://svn.madwifi.org/madwifi/branc...i-hal-0.10.5.6
    Code:
    svn co http://svn.madwifi.org/madwifi/branches/madwifi-hal-0.10.5.6
  3. cd into the directory you just created (cd mad<tab><enter>)
  4. Code:
    ./configure && make && sudo make install
  5. Unload the current madwifi modules: [code] ./scripts/madwifi-unload[code]
  6. echo 'blacklist ath5k' | sudo tee -a /etc/modprobe.d/blacklist
  7. Load the new drivers:
    Code:
    sudo depmod -ae && sudo modprobe -r ath_pci

The system should be fully functioning now.

Last edited by Prometheum; 2008-11-30 at 01:33.
Reply With Quote
  #7   Add Longhorner to your ignore list  
Old 2008-11-28, 04:25
Longhorner Longhorner is offline
Regular
 
Glen Rock Send a message via AIM to Longhorner
Default Re: Madwifi-hal for Atheros 5k cards under Linux

is there a step before that i might be missing before the first line of code prometh or could it be because of ubuntu
Reply With Quote
  #8   Add Prometheum to your ignore list  
Old 2008-11-28, 06:10
Prometheum Prometheum is offline
Regular
 
01 Send a message via AIM to Prometheum Send a message via MSN to Prometheum
Default Re: Madwifi-hal for Atheros 5k cards under Linux

Quote:
Originally Posted by Longhorner View Post
is there a step before that i might be missing before the first line of code prometh or could it be because of ubuntu
Well possibly. Mind telling me what's going on?
Reply With Quote
  #9   Add coroner to your ignore list  
Old 2008-11-28, 12:27
coroner coroner is offline
Moderator
 
Sierra Vista. Arizona
Default Re: Madwifi-hal for Atheros 5k cards under Linux

Quote:
Originally Posted by Longhorner View Post
is there a step before that i might be missing before the first line of code prometh or could it be because of ubuntu
Pr0 /bin/bash
You need to open a terminal window Longhorner.
Mine is in Applications -> System Tools -> Terminal
Reply With Quote
  #10   Add Prometheum to your ignore list  
Old 2008-11-28, 15:16
Prometheum Prometheum is offline
Regular
 
01 Send a message via AIM to Prometheum Send a message via MSN to Prometheum
Default Re: Madwifi-hal for Atheros 5k cards under Linux

Yes, there is that. Sorry for not mentioning it.
Reply With Quote
Reply


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
Forum Jump


All times are GMT. The time now is 13:58.


 

 

totse.com certificate signatures
 
 
About | Advertise | Art | Carnality | Community | Contact Us | Copyright Policy | Entertainment | FAQ
Link to totse.com | Science | Search | Society | Submissions | Technology
Hot Topics
Littering Is Awsome
Eradicating Feral Species
International Hanky Movement
Toilet paper down the toilet
Ecovillage project
The world is not going to flood!
Where is safe from climate change?
Global warming
 
Sponsored Links
 
Ads presented by the
AdBrite Ad Network