**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.
[...] ขอขอบคุณแหล่งข้อมูล: http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/ [...]
You are a star!
gOS (latest as of 26/01/2010) running on Asus Eee PC…
…now with wireless !!!!!
thanks.
Thanks a lot, it worked for my Toshiba. Searched a lot on the internet, but this really helps. Great!
Hello,
I have a Dell Vostro A840 which has had wireless problems, and I have tried the excellent suggestions in your post, but have been unable to complete them due to error messages such as the wrong kernel version etc…
I was afraid that I had made such a mess of the operating system that I decided to download the latest version of Ubuntu 9.04 and try that…
Everything works great except the wireless!
Do you have any experience with it?
I will enclose the specific information about my system in case it will help you, and I want to thank you in advance for any help to can give!
Sincerely,
Kevin
My chipset is
kevin@kevin:~$ lspci | grep Atheros
0c:00.0 Network controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
My kernel is
kevin@kevin:~$ cat /boot/grub/menu.lst | grep Ubuntu
title Ubuntu 9.04, kernel 2.6.28-11-generic
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
title Ubuntu 9.04, memtest86+
More info:
http://pastebin.ubuntu.com/183901/
After all that has been tried in the past week os so… I am unsure/unwilling to do any more experimenting on my own now without some coaching. This installation is fairly clean with the exception that I have installed the backports for this version of Linux.
[mad]Berry says: Please use http://paste.ubuntu.com
Thanks a lot for this nice post. It solved the same problem on Dell Vostro A840 with Ubuntu 8.04.
I can’t tell you how much this helped. You’re a life saviour!
Thanks for your reply, i rerun all the commands once again now I am getting stuck at the next step: this is the error which i get:
kartik@kartik-laptop:~/Desktop/madwifi-hal-0.10.5.6-r4016-20090429$ sudo modprobe ath_pci
FATAL: Error inserting ath_pci (/lib/modules/2.6.24-24-generic/net/ath_pci.ko): Unknown symbol in module, or unknown parameter (see dmesg)
kartik@kartik-laptop:~/Desktop/madwifi-hal-0.10.5.6-r4016-20090429$ sudo modprobe wlan_scan_sta
FATAL: Error inserting wlan_scan_sta (/lib/modules/2.6.24-24-generic/net/wlan_scan_sta.ko): Unknown symbol in module, or unknown parameter (see dmesg)
kartik@kartik-laptop:~/Desktop/madwifi-hal-0.10.5.6-r4016-20090429$
I ran demsg, this is the output: http://pastebin.ubuntu.com/177562/
Thanks for your reply in advance
Hope it will giv
Hi!
Thanks for the detailed instructions on enabling wifi.
I am using ubuntu 8.04, kernel .6.24-24-generic. My wifi was not working after one of the routine updates.
I tried your steps but after running make I get the following error:
kartik@kartik-laptop:~/Desktop/madwifi-hal-0.10.5.6-r4016-20090429$ make
cd: 1: can’t cd to /lib/modules/2.6.24-24-generic/build
Makefile.inc:66: *** /lib/modules/2.6.24-24-generic/build is missing, please set KERNELPATH. Stop.
How to proceed further.
I had switched over to ubuntu completely since past 4 months and it is the only OS i am using.
regards
Kartik
@Kartik, You need to update the build-essential as well…. As well as the new Kernel headers. Run all commands from the top.
I’ve got a Toshiba Satellite L305D That was nearly returned to the dealer for the lack of native Atheros AR242x support from Ubuntu. I do not like messing with dependencies etc, synaptic support for them is one big reason I switched to Ubuntu – I ain’t no sys admin!
But then I found your package and instructions and gave it a go.
They are the best! 4 different Kernel upgrades and every time: It Just Works!
Thank You.
Works fine on Acer Extensa5220-200508Mi
running Ubuntu 8.04 (Hardy)
Kernel 2.6.4.24-23-generic
Gnome 2.22.3
thank you
this worked perfectly, tankyou
acer aspire one ssd
Berry man U rock. I’ve been a dos, windows man since my 8086. 1 month ago I got my hands on a ubuntu live cd. Thanks to people like you, people like me will convert more people like me. “How to” worked great on Compaq f700 . Many thanks.
aii i have laptop benq r45 but wireless not running with ubuntu how to sovle
Works on HP G60-214EM running intrepid
Thanks very much!
I followed your instructions as illustrated on url:
http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/
but my wireless still did not work. The explanation was however quite explicit,
I am brand new to Linux as such this might be a case of user ignorence but I
would like to think I did everything the instructions specified. See the
requested details below the line.
http://pastebin.ubuntu.com/136958/
Regards
Arnold
edit: Arnold please post the pastebin URL not the text you posted to the pastebin thanks. [mad]Berry
Arnold please use this post to “go from here”:
http://madberry.org/2008/08/wireless-with-wpa_supplicant-easier-then-you-think/
When you scan for networks you can “see” them. So all you have to do now is connect use the link above for this. Or use Kubuntu’s Networkmanager.
Thank you for this site, but everything I’ve tried has not worked. I have an HP g6–235Dx. I have followed the instructions you’ve offered, have not gotten any errors, blacklisted ath_pci, ath_hal, and although ath0 registers on KNetworkManager, it is shown as disconnected. My physical wireless button does not seem to work and I think that might have something to do with this. Is there a software solution to this problem? Thank you very much.
Here are my stats:
http://pastebin.ubuntu.com/119486/
Thanks again!
Hi, everything works fine for me on my asus F5N with mint felicia (based on ubuntu 8.10) with the lastest updates, only after restart i have to run the last 2 comands, to get everything i shaape. Can u tell me how to fix this?
sudo modprobe ath_pci
sudo modprobe wlan_scan_sta
I’m getting the same thing as Alex.
I’ve tried going through the step in this how to, but when I got to cd madwifi*r* I got
alex@alex-laptop:~/Desktop$ cd madwifi*r*
bash: cd: madwifi-hal-0.10.5.6-current.tar.gz: Not a directory
I’m very new to Ubuntu and have no idea why this has occurred. Any suggestions?
Thanks.