LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-25-2009, 08:30 PM   #1
sonichedgehog
Member
 
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 298

Rep: Reputation: 32
atheros ar242 wireless connection almost solved


Its ridiculously difficult to get these wireless cards to work on linux, and this has to be the most difficult fix I have ever tried. I'm posting here for 2 reasons:
1 To list all the steps I have taken while its fresh on my mind. In the end, the actual steps taken were straightforward, but there were hours of trial and error
2 I can now detect my network but can't connect to it, would welcome suggestions. I'm going to try a few things but don't want to play with my home network just yet, as my family are using it successfully.

This was an ASUS X50R, ubuntu9.04. Others have reported that the live cd detects the wireless network but the installed OS doesn't, and that was my experience. Debian Squeeze never saw the network at all and I suspect (but have not tested yet) that the fix is similar.

This draws on excellent work by others, as follows:

1:
http://ubuntumanual.org/posts/185/in...iver-in-ubuntu

http://www.ubuntugeek.com/how-to-get...epid-ibex.html

http://ubuntuforums.org/showthread.php?t=930667

I'm basically a debian user, so on ubuntu I tend to enable root password. This is not a popular move! If using ubuntu, most will prefer to use sudo.

Look at the 1st link. I'm not sure how essential it is to disable existing drivers- after all I blacklisted them later- but I couldn't make much sense with the gui option so looked for the drivers with lspci -v and used rmmod. Then continue as the post suggests. (I prefer vim to gedit, if in ubuntu
Code:
apt-get install vim
)

So, the new driver is installed.

Get wicd-
Code:
apt-get install wicd
That didn't help, so far. I then went to (2), this included blacklisting the drivers I didn't want.

Then, for the first time, I saw the local wireless networks; but they just "disappeared" after a few minutes. Then, at last, I found the suggestion towards the end of (3) for disabling bluetooth and enabling wireless:

Code:
echo 0 > /sys/devices/platform/asus-laptop/bluetooth
echo 1 > /sys/devices/platform/asus-laptop/wlan
As I said, I still haven't connected, but most of the job is done. I use WEP hex, and I think it likely that another encryption option would sort this out; there are WPA options, and others within WEP. WPA/AES has been suggested as a possible option.

I should add that my understanding of drivers is rudimentary and hope that others will rationalize the process outlined here.

EDIT: this is no longer a question, as I have solved it. Although wicd showed my network, I was unable to connect using any of the available forms of encryption. However that was using wicd1.5.9 native to Ubuntu 9.04. I was unable to connect from a source-built 1.6.2; but Debian Lenny has 1.6.1, and that proved adequate.

I have added the echo script mentioned above to rc.local. My laptop will toggle wireless off, but not on, so it needs to be set up in this way.

Last edited by sonichedgehog; 08-28-2009 at 07:05 PM. Reason: additional information
 
Old 09-01-2009, 11:15 PM   #2
sourceview
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Rep: Reputation: 0
Wink open-mesh.com

you might look at the open-mesh work. They re-burn the routers they send out and they use the atheros chip. Good through g, if you know drivers, they need help with n drivers for atheros. Their little mesh routers work great, and you have online control over every router in the network.
 
Old 10-07-2009, 05:00 PM   #3
sonichedgehog
Member
 
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 298

Original Poster
Rep: Reputation: 32
Thanks, in fact one of my friends is an old-style Unix wizard, uses all sorts of platforms, he's into boosting/ relaying the signals as you describe. My problem (shared by others with Atheros wireless adapters) was non-functioning driver. I have since found that
http://ubuntumanual.org/posts/185/in...iver-in-ubuntu
is sufficient, plus the
Code:
echo 1 > /sys/devices/platform/asus-laptop/wlan
to toggle the wireless switch on if the hotkey won't do it.
The solution is similar for both Debian and Ubuntu, but there may be some problem with the build-essential and subversion packages, I think easily solved with
Code:
apt-get cdrom
I also found that enabling the root password gives better access to the system. Definitely a case of "your mileage may vary!"
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Another wireless problem on an acer (using an atheros wireless card.) OrexisGrimm Slackware 2 05-05-2009 09:04 PM
Slackware atheros problem SOLVED siete Linux - Networking 1 12-29-2008 08:53 AM
Ubuntu 8.04 wireless problems on t60 thinkpad using atheros wireless adapter AR5212 NuxIT Linux - Wireless Networking 0 08-21-2008 05:54 AM
no more connection!! -atheros ggeo Linux - Wireless Networking 2 03-10-2008 11:56 AM
intel wireless pro 2200 detected as atheros wireless card? whf SUSE / openSUSE 5 08-29-2005 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration