Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old August 27th, 2008   #1
gabsik
First Cup of Ubuntu
 
gabsik's Avatar
 
Join Date: Aug 2008
Beans: 10
Send a message via MSN to gabsik Send a message via Skype™ to gabsik
Exclamation Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

Hi All!
I have an acer aspire 5520 amd64 athlon and our dear hardy heron operating on it .
Fresh install , i see the "configure third party and propietary drivers" applet confirming with green flags all drivers are supported , in my case the nvidia , the atheros HAL and the atheros 802.11 .For the nvidia few clicks and the 3d desktop got sorted , no stress , but not the wi-fi ! WHY ? I have installed the hardy heron for amd64 , so drivers should be the right ones , i don't see the presence of any wireless interface , i have removed the "gnome network manager" and i installed wicd , great prog , but it doesn't see a wireless 'if' either . I think i don't need to download and compile anything more than what already is on my pc where also the ndiswrapper module is present . In a previous install , i don't remember if i installed both madwifi and ndiswrapper , but i had two wireless extensions an ath0 and a wifi0 , they handled the connection to the router but no browsing , all really bad !!!!
Code:
05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
This is my wireless interface , i don't think i need to download anything more and i'm sure i can already now configure wireless for my pc . I modprobed all the ath* drivers , what else should i do ? Module-assistant ? Am i going all wrong ? Thanks!
gabsik is offline   Reply With Quote
Old August 27th, 2008   #2
porchrat
Has an Ubuntu Drip
 
porchrat's Avatar
 
Join Date: Jul 2008
Beans: 741
Re: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01

I had the same card...madwifi worked for me...didn't need ndiswrapper
__________________
Any sufficiently advanced bug is indistinguishable from a feature.
"Ubuntu" - an African word meaning "Gentoo is too hard for me"
unexpected token <EOF> expected "WITTY ONE-LINER"
porchrat is offline   Reply With Quote
Old August 31st, 2008   #3
gabsik
First Cup of Ubuntu
 
gabsik's Avatar
 
Join Date: Aug 2008
Beans: 10
Send a message via MSN to gabsik Send a message via Skype™ to gabsik
Talking Re: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01

SUCCESS !
I only installed a subversion madwifi package , after finished i have closed the terminal and i couldn't make any 'copy and paste' of the entire operation to have a detailed share of the success here . I saw this thread basically in any linux forum of cyberspace , so i will be really short and essential .

"The 5 rules to have wifi working with Ubuntu 8.04 Hardy Heron on "AMD64 AthlonX2 Acer ASPIRE 5520 and Atheros AR242x 802.11abg"
.

It was a week ago , so they are well tested .

1 ) First purge any presence or activity of any form of ndiswrapper. After reboot the Hardware drivers listed in System/HardwareDrivers must have a red light aside .

2 ) Remove from /etc/modprobe/blacklist any reference of ath_pci and ath_hal you removed before ...

3 ) Download:
Code:
svn co https://svn.madwifi.org/madwifi/branches/madwifi-hal-0.10.5.6
4 ) Install it reading the INSTALL files inside the package.

5 ) Enable back both drivers , reboot , enjoy !!!!

P.S.
If you don't know much of compiling generally ( and this case is about compiling a module ) launch apt-get install module-assistant . Than launch it on its own in a terminal window and it prompts you with a list of options . Choose "PREPARE" it is to prepare the system for compiling modules and it downloads for you all kernel headers and compilers you need . It's best if you do this before you launch "make && make install" after the driver download !!!!

Last edited by gabsik; September 1st, 2008 at 12:27 PM..
gabsik is offline   Reply With Quote
Old September 1st, 2008   #4
gabsik
First Cup of Ubuntu
 
gabsik's Avatar
 
Join Date: Aug 2008
Beans: 10
Send a message via MSN to gabsik Send a message via Skype™ to gabsik
Angry Re: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01

Still a week later after nvidia drivers gave me propblems on resolution screen ( 900x800 ) and after i have installed the envyng package as last resort (mine is a nvidia geforge 7000m not fully supported ) and sorted out the video , ath_pci stopped working ! Yeah ! You got it ! i have no wireless again now ....
gabsik is offline   Reply With Quote
Old September 1st, 2008   #5
porchrat
Has an Ubuntu Drip
 
porchrat's Avatar
 
Join Date: Jul 2008
Beans: 741
Re: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01

navigate to the madwifi driver directory and do a make clean then redo the install on the madwifi drivers?

hopefully that will help
__________________
Any sufficiently advanced bug is indistinguishable from a feature.
"Ubuntu" - an African word meaning "Gentoo is too hard for me"
unexpected token <EOF> expected "WITTY ONE-LINER"
porchrat is offline   Reply With Quote
Old September 2nd, 2008   #6
reasoner
First Cup of Ubuntu
 
Join Date: Dec 2007
Beans: 6
Re: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01

Thanks so much to those above for figuring this out for me. Let me spell out the installation in a little more detail to save those after me some time.

I did this on a fresh Ubuntu 8.04 install on a Compaq Presario C770US Laptop with an ethernet cable plugged into my router.

The device string displayed by lspci -v was as follows:

Code:
01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
	Subsystem: Hewlett-Packard Company Unknown device 137a
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 91300000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
First under System/Administration/HarwareDrivers disable both the Atheros HAL and the Atheros wireless thing and then reboot.

The kernel headers and the compiler are needed to build this driver so I started by installing build-essential. In a terminal window (Applications/Accessories/Terminal) enter:

Code:
sudo apt-get install build-essential
The driver code will be downloaded with the subversion source code manager so I installed subversion:

Code:
sudo apt-get install subversion
I needed a place to put the driver source without mixing it up with other stuff so I changed directory to my home directory:

Code:
cd ~
Created a directory:

Code:
mkdir madwifi
And changed to the new dirctory:

Code:
cd madwifi
Use subversion to download (checkout) a copy of the code:

Code:
svn co https://svn.madwifi.org/madwifi/branches/madwifi-hal-0.10.5.6
The above command failed for me at first because subversion couldn't find svn.madwifi.org
Madwifi will probably have their DNS problems worked out by the time you read this. But if not then see the section at the bottom of this post titled "Cant find svn.madwifi.org" for a solution before continuing.

After the driver code is downloaded by subversion, change to the directory, which should be madwifi-hal-0.10.5.6

Code:
cd madwifi-hal-0.10.5.6
Run the make script to have the compiler build the driver:

Code:
make
Install the driver

Code:
sudo make install
Add the Atheros kernel module to the list of modules to be automatically loaded at boot by adding "ath_pci" (without the quotes) to the end of the /etc/modules file. I used the vi editor which I won't describe here. Gedit is probably easy to use so try:

Code:
sudo gedit /etc/modules
Now you can reboot and it should work. To get it working without a reboot you need to load the module manually:

Code:
sudo modprobe ath_pci
That should do it. The little wireless button seems to always stay lit orange. When I press it it seems to disable the wireless but it still stays lit orange. WPA works for me. I assume WEP will also. I haven't tried WPA2



CANT FIND svn.madwifi.org

If subversion has a hard time finding svn.madwifi.org then add it's IP address to your hosts file. I found this page http://madwifi.org/ticket/1982 at madwifi.org that gives the IP address 217.24.1.142 of svn.madwifi.org in one of the last messages. I tried just giving subversion the command to connect to the IP address instead of the domain name, but it failed before finishing the checkout. Edit the file /etc/hosts and add "217.24.1.142 svn.madwifi.org" (without the quotes). I added it just after the 127.0.1.1 line

Code:
sudo gedit /etc/hosts
Now you can continue with the subversion checkout. You should probably remove this line from your hosts file when you're done with this so that if you want to go back there some day and they've moved it then DNS will give the most recent IP address.

Last edited by reasoner; September 2nd, 2008 at 08:20 AM.. Reason: Minor clarifications
reasoner is offline   Reply With Quote
Old March 16th, 2009   #7
MaLek
First Cup of Ubuntu
 
Join Date: Nov 2005
Beans: 7
Unhappy Re: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01

Quote:
Originally Posted by gabsik View Post
SUCCESS !

3 ) Download:
Code:
svn co https://svn.madwifi.org/madwifi/branches/madwifi-hal-0.10.5.6
the link didn't work !!!!
svn: OPTIONS of 'http://svn.madwifi.org/madwifi/branches/madwifi-hal-0.10.5.6': could not connect to server (http://svn.madwifi.org)
MaLek is offline   Reply With Quote
Old March 18th, 2009   #8
takegami
First Cup of Ubuntu
 
Join Date: Mar 2009
Beans: 3
Re: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01

links works fine.
just replace madwifi.org with the madwifi-project.org in all old links.
takegami is offline   Reply With Quote
Old June 30th, 2009   #9
Oglon3r
First Cup of Ubuntu
 
Oglon3r's Avatar
 
Join Date: Jun 2009
Location: in your gf house jeje ^^
Beans: 8
Re: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01

um which one of these should we try?

Code:
http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/
thanks

Im unable to get an ethernet cable wired to my dv7-1135nr so im downloading any packets on my windows partition saving and passing them via usb to my linux partition.

Ill bring some feedback if anything goes alright thank you much in advance
__________________
dv7-1135nr Windows Vista Ultimate Black Eternity Edition/Backtrack 4 x86-64 Dualboot
AMD Turion X2 Dual core Mobile RM-70 2.00 GHz 6GB RAM PC2-6400 Atheros AR5007
Oglon3r is offline   Reply With Quote
Old January 6th, 2009   #10
thewaytolite
First Cup of Ubuntu
 
Join Date: Jun 2007
Beans: 4
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to thewaytolite Send a message via MSN to thewaytolite Send a message via Yahoo to thewaytolite
Re: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01

This is the correct subversion site

svn co http://svn.madwifi.org/madwifi/branc...i-hal-0.10.5.6

Thank you Reasoner it worked like a charm
thewaytolite is offline   Reply With Quote

Bookmarks

Tags
thinkpad, wifi

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:13 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry