LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-01-2009, 12:33 AM   #1
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Rep: Reputation: 15
Cannot connect to Wireless with AR928x under Ubuntu, but they are clearly visible?


I have an Asus M50vm, and I love it, save for the fact the wireless (AR928X) will not connect to any networks (encrypted or unencrypted) under Ubuntu 8.10. The wireless card very clearly works: I can turn it on and off by futzing around in the terminal and using the command "iwlist scan" produces a list of various wireless networks around my university. If it makes any difference I am using WICD as my network manager.

Thanks!
 
Old 02-01-2009, 05:43 AM   #2
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
If Wicd shows the list of access points and you cannot connect, I don't know what the problem could be. It sounds like the driver is loaded and working.

I can tell you that I had a similar experience with one particular Atheros chip which I no longer have. I have used several other wifi cards, but this particular chipset did not work after madwifi was changed to the "new madwifi" In other words, it did work for a year or so and then one fine day there was an upgrade and it no longer did.

The solution for me was to give up and use ndiswrapper with the driver that came with the card for Windows.

You can first try iwconfig to see if ath0 is listed. That used to be the name used for it. Then try 'dhclient ath0'. Be sure that Wicd is using that same name under preferences too. I guess you also want the WPA supplicant driver to be set to madwifi in Wicd. I'm not sure, because I did not use Wicd at the time of my Atheros trial. :-)
 
Old 02-01-2009, 05:46 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,500

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Do you get error messages when you connect?
Code:
tail -f /var/log/syslog
wep, wpa....
dhcp, fixed ip...
 
Old 02-01-2009, 10:26 AM   #4
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Original Poster
Rep: Reputation: 15
I attempted to connect using the command line. Here is the output from my failed attempt.

First I used
Code:
 iwconfig wlan0 essid uw-wireless
Then when I ran dhclient to get an ip address I received the following output:

Code:
There is already a pid file /var/run/dhclient.pid with pid 27759
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:15:af:cd:ed:33
Sending on   LPF/wlan0/00:15:af:cd:ed:33
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Any suggestions? By the way I am using the ath9k module that is included with Ubuntu.
 
Old 02-01-2009, 01:33 PM   #5
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
I can tell you that this symptom with dhclient was what I also got with my Atheros chip. As I said, I got it going with nsdiswrapper in the end. At the time I even tried compiling the latest madwifi and other trouble-shooting ideas. I spent months on it interacting with madwifi gurus, I think even developers.


For a while as I recall, I used an older kernel that still had the old-madwifi, but eventually that option was no longer available with a newer version of Ubuntu; so ndiswrapper was my answer.
 
Old 02-01-2009, 04:31 PM   #6
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Original Poster
Rep: Reputation: 15
Do you you think using dhcpd as opposed to dhclient would help?
 
Old 02-04-2009, 09:28 AM   #7
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by Zerimas View Post
Do you you think using dhcpd as opposed to dhclient would help?
Ha! Marginal success! I switched to dhcpcd and now I can connect--sort of. Once I actually establish a connection my signal drops from 50% to 0% and it frequently disconnects and reconnects. Any tips? I'm so close to getting this to work correctly.
 
Old 02-04-2009, 10:12 AM   #8
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
I imagine you are using the ath9k driver.. What kernel are you running ?

http://wireless.kernel.org/en/users/Drivers/ath9k
Quote:
Ubuntu users will want to upgrade to at least 2.6.27-11

If you are not seeing linux-image-2.6.27-11-generic in your package search please be sure to add the -proposed source to your apt sources. You can do that through the command line adding the following to your /etc/apt/sources.list:

# Ubuntu proposed changes - move to intrepid-updates at leas quarterly
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-proposed main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-proposed main restricted

Then do:

sudo apt-get update
sudo apt-get install linux-image-2.6.27-11-generic
 
Old 02-04-2009, 11:00 AM   #9
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Original Poster
Rep: Reputation: 15
I am using 2.6.27-11-generic and running the ath9k driver.

Last edited by Zerimas; 02-04-2009 at 11:01 AM.
 
Old 02-04-2009, 07:22 PM   #10
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
I was hoping it was just an older version of the driver, but it looks like you are already on top of that one..
 
Old 02-04-2009, 09:52 PM   #11
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Original Poster
Rep: Reputation: 15
Cool

Quote:
Originally Posted by farslayer View Post
I was hoping it was just an older version of the driver, but it looks like you are already on top of that one..
Actually, it turns out that was the problem! I used compat-wireless to update my ath9k driver and now my card works! I haven't tested it out on WPA encrypted networks, but it works fine on my university's unencrypted network!
 
  


Reply

Tags
ar928x, atheros, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
AR928X detected by Ubuntu, but no access points are visible. Zerimas Linux - Newbie 11 01-14-2009 02:44 PM
Wireless can't connect with Ubuntu, but PC Linux OS does xmrkite Linux - Wireless Networking 2 09-15-2008 11:31 PM
Connect via Wireless using Ubuntu 7.10 and Linksys randell6564 Ubuntu 1 05-17-2008 11:40 PM
Wireless visible but can't connect apock627 Linux - Wireless Networking 3 11-22-2007 02:47 AM
Ubuntu 7.04 Wireless Router Visible but No IP Address bobby_hawk Ubuntu 4 06-20-2007 12:01 AM


All times are GMT -5. The time now is 11:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration