**10-23-2008** This how to still uses madwifi-hal-0.10.5.6-current.tar.gz And has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-21-generic. And once again every one who has problems please re-try the how to.
**09-17-2008** Thanks to Gideon, who told me the links weren’t working any more. This how to now uses madwifi-hal-0.10.5.6-current.tar.gz As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-19-generic. And once again every one who has problems please re-try the how to.
**09-03-2008** This How to now uses the newest snapshot madwifi-hal-2008-08-15-r3862-20080903.tar.gz. As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-19-generic.
**09-01-2008** This How to now uses the newest snapshot madwifi-hal-2008-08-15-r3851-20080829.tar.gz. If you posted a comment to say it isn’t working then please re-run everything. And report back to verify that the solution is now working for you. As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1 with kernel 2.6.24-19-generic.
This is a revision of my original post using the solution provided by Madwifi it’s been tested by me and it works.
Windows drivers are here
If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if you are using Hardy or Gutsy with the newest Kernel(2.6.24-19-generic) or older, the wireless doesn’t work out of the box.
It cost me about an hour to solve this mainly because no one knew anything about this particular chipset.
So here is the solution for the AR242x. If you have a chipset in the A5700 series then this could work for you too.
The solution is quite simple and only takes you a couple of minutes to apply and then you can use your wireless.
For this How to you do need wired internet to the computer.
Disclaimer:
The Package we’re about to use is as far as I know in beta. Installing this package might make your installation of Kubuntu(or Ubuntu) unstable. I am not responsible for any problems that arise after installing this package. But do feel free to post a comment for help if something doesn’t work right I will respond back and try to work with you to fix it. I am NOT responsible for damage to hardware as a result of applying anything you find on this website.
First let’s make sure your computer uses the same chipset(or something similar) run in terminal:
lspci | grep Atheros
If the result is as follows or something similar then you are able to use this fix.
05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
If the result of the command ran is nothing the you don’t have an Atheros chipset and your read on this page stops here. Please go to the forums on Ubuntu and Kubuntu there is a big community there to help you solve your problem or try Google.
Before we start we need to make sure that already installed modules are not “in use”. Click on the Kubuntu start button go to system and click on the “Hardware Drivers Manager” this is where you will find all proprietary drivers. But we’re looking for everything that has Atheros in it. Tick the box behind of “Atheros Hardware Access Layer(HAL)” and “Support for Atheros 802.11 wireless LAN cards” and restart the computer.
In Terminal go to your desktop:
cd ~/Desktop
Then download the Madwifi driver needed for this How to:
wget -c http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6-current.tar.gz
Untar the Image file(don’t worry it will create a new folder):
tar xvf madwifi*.tar.gz
Go into the just created folder:
cd madwifi*r*
Because we are going to compile from source code we need to make sure the essentials to do so are installed.
sudo apt-get update && sudo aptitude install build-essential
Now run:
make
sudo make install
sudo modprobe ath_pci
sudo modprobe wlan_scan_sta
If you get any errors running the modprobe commands you probably forgot to switch off the modules in the first place go back to this and then try modprobe again.
As noted by “TheGreatGonzo” you might have to restart here. Before you can enable the proprietary drivers again.
As noted by “Choval” in case it doesn’t work after a restart:
blacklist ath_hal
(on /etc/modprobe.d/blacklist)
Reboot, and voila… works like a charm =)
Now the same as we did before:
Click on the Kubuntu start button go to system and click on the “Hardware Drivers Manager” this is where you will find all proprietary drivers. But we’re looking for everything that has Atheros in it. Tick the box in behind of “Atheros Hardware Access Layer(HAL)” and “Support for Atheros 802.11 wireless LAN cards” and restart the computer.
Now you have wireless.
Keep in mind that every time the Kernel gets updated you have to run these commands again:
sudo apt-get update && sudo aptitude install build-essential
Now run:
make clean
make
sudo make install
sudo modprobe ath_pci
sudo modprobe wlan_scan_sta
Off course in the madwifi folder. You might want to move the folder to your home folder because we’ll need it again after a Kernel update.
To get your wireless back up that is until they fix the problem in the Kernel and wireless works after restarting with the new Kernel.
Don’t be shy let us know in the comments below if the solution worked or not(in that case I can assist you and get it to work) .
If this page helped you out at all then please donate. Donations will go towards the hosting cost for this website.
125 Comments
Pingback: Kismet+AR2413 ajuda!! - Under-Linux.org F
Pingback: Sorry Guys « Ponderings of Chris
Pingback: Ubuntu 8.04新手入门指南(Hardy) : Linuxer Home
Pingback: Out-of-the-box ready….อย่างนี้สิของจริง | จีเอ็นซีคอมพิวเตอร์ | GNC Computer