Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Please help with Atheros wifi connection

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-07-2009   #1 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 12
Please help with Atheros wifi connection

Folks, I've done a ton of research on my own on this problem, and lots of troubleshooting, with some progress, but still stuck.

Laptop is MSI GX710 with Atheros AR242x 802.11abg Wireless PCI adapter built in.

Access Point is Netgear WG102 connected (wired) to Netgear Router FVS318. Any Windows/Mac machine with a working wifi adapter connects to it successfully.

The laptop came preloaded with Windows Vista, and connected successfully with the AP.

I removed Vista and installed Ubuntu 8.10. Wired connection works perfectly well. WIFI connection fails.

Based on recommendations in official Ubuntu wireless troubleshooting guide, I installed ndiswrapper, downloaded the windows driver, and installed it via the utility provided by ndiswrapper (System->Administration>Windows Wireless Drivers). This tool reports "Hardware present: Yes"

lsmod shows a long list of modules, not sure what I should look for, but it doesn't list anything that looks like wlan or wifi (it does list ndiswrapper though).

sudo lshw -C network shows that the wifi is "UNCLAIMED" which according to ubuntu means there is no driver loaded. That conflicts with the above.

Please, any help would be appreciated. I don't want to resort to buying a USB wifi adapter when there already is one built in.

Thanks in advance
r_avital is offline  



Reply With Quote
Old 05-07-2009   #2 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 3,221
I believe the ath5k driver works with your wireless card. Look here for installation in 8.10.

You'll need to make sure ndiswrapper is not loading, or it will likely conflict.

I think this card might work out of the box in the 9.04 release, if you decide to upgrade. You might burn a live cd and test it out.
reed9 is online now   Reply With Quote
Old 05-08-2009   #3 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 4,339
As reed9 already pointed out, that wireless should work with the ath5k driver. But Ubuntu didn't include that driver in 8.10, you had to install and use the Madwifi driver from the Ubuntu repository instead.

I hear that 9.04 includes the ath5k driver, but that their version isn't working too good, and needs to be upgraded from the repository.

I am using Fedora 10, and the AR242x wireless does work out-of-the-box.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 05-08-2009   #4 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 12
Thank you both very much for your suggestions. I followed all the steps in the linked document, to no avail. I will try a live CD of Jaunty as suggested, see if that makes a difference, and will post results.
r_avital is offline   Reply With Quote
Old 05-08-2009   #5 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 12
Well, re-reading the documents, I found out that I didn't even have the backports package installed (which includes the ath5k driver). Even after installing that, disabling the ndiswrapper, undoing the blacklisting referred to in the document, it still failed to connect.

So - tried a live-cd of Jaunty, the live session connected to my secure WIFI network just fine - prompted me for the key, and allowed me to create a password.

The system also popped up a suggestion for an "alternate" Atheros driver, tested by the Ubuntu team and approved. If either of you know anything about this, I'll be grateful for your info, and if not, I might as well leave well enough alone for a while.

Thanks again both, and have a great weekend.
r_avital is offline   Reply With Quote
Old 05-08-2009   #6 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 3,221
I don't know what the "alternate" driver is. Perhaps the ath9k? If it's working well, seems like there's no reason to mess with it.
reed9 is online now   Reply With Quote
Old 05-08-2009   #7 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 4,339
It depends on which driver you are currently using. There are two drivers that work:

ath5k
ath_pci (Madwifi)

To find out which one you are actually using, run this command and look for either of the above.
Code:
lsmod
The ath5k is somewhat new, and is 100% open source. The Madwifi driver has been around for a while, and uses a proprietary binary program called HAL, which is not open source. Since the preference in Linux is for open-source, the Madwifi driver will eventually be completely replaced by the ath5k/ath9k family of drivers. There is very little new development on the Madwifi driver, as all developement is shifting to the ath5k/ath9k drivers.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 05-09-2009   #8 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 12
Thanks again both of you, great info. lsmod reports ath5k, and modules mac80211, cfg80211, and led_class in use by ath5k.

And sorry I didn't take a better look earlier, but the restricted drivers tool describes the alternate wifi driver as "alternate madwifi for Atheros wireless LAN cards." Since it sounds from your description that madwifi is a dead-end anyway, I won't touch it.

Thanks again guys, I had almost lost hope after all the troubleshooting led to no results. I've run Debian/Ubuntu/Mandriva before, on 4 other computers, this is my very first laptop ever, so I was excited about getting wifi to work.

Best regards and enjoy the weekend
r_avital is offline   Reply With Quote
Old 05-09-2009   #9 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 4,339
The Madwifi driver is a working driver. If you have an older kernel it is your only choice. If I use Red Hat 5 or CentOS 5, I have to use the Madwifi driver.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:10 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1