Well I have not posted on these forums for a minute, but felt I should help you out since I figured this one out for myself after much head scratching
You will need to get source code for a package called compat-wireless - Just google compat-wireless and the first hit is it.
Get the latest stable release of that and then you must get the proper aircrack patch for ath5k injection rates, ath5k-injection-2.6.27-rc2.patch seems to work fine. So google aircrack patches and get that one.
Once you untar the source for compat-wireless you will find the ath5k source in compat-wireless-2.6.30/drivers/net/wireless/ath5k . Before compileing the compat-wireless code you must patch the ath5k driver source with the aircrack patch mentioned above.
To do that you use the patch command like so in a terminal
patch -Np0 -i <name of the patch file>
Now the patch file will point to a different location than the source is in so it will ask you for what file you want to patch, you need to give it the full path to the source code as well as the source code filename
Example from a terminal prompt with patch in same folder as prompt is.
patch -Np0 -i ath5k-injection-2.6.27-rc2.patch
This returns that it cant find the file to be patched and prompts for file name & location
So I enter the following for source file location ( via paste )
/home/tech/CUSTOM-SOFT/compat-wireless-2.6.30/drivers/net/wireless/ath5k/base.c
where base.c is the source code to patch and the rest is the path to where I have placed the source, you can put your source code to compile in any directory you want etc. I am no Ubuntu expert at doing it the right way - I am good at makin it work though as that is all I care about.
Once you patch the driver its just these commands in the compat-wireless source directory.
make
sudo make install
Then you will also need to deal with blacklisting any unwanted atheros madwifi modules previously in use etc. So if you don't know how to do that just search here on the forums as it is well covered.
I also remove Jockey & Network Manager while installing WICD as a GUI replacement that seems to cause less interference than network manager can
GOOD LUCK ALL AND POST IF YOU GET YOURS TO WORK
Bookmarks