LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-04-2009, 08:48 PM   #1
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Rep: Reputation: 15
AR928X detected by Ubuntu, but no access points are visible.


The Ubuntu hardware tester claims my wireless card (Atheros AR928X) exists, as does lspci
Code:
03:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
and lshw -c Network
Code:
 *-network               
       description: Wireless interface
       product: AR928X Wireless Network Adapter (PCI-Express)
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wmaster0
       version: 01
       serial: 00:15:af:cd:ed:33
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list logical ethernet physical wireless
       configuration: broadcast=yes driver=ath9k latency=0 module=ath9k multicast=yes wireless=IEEE 802.11bgn
However I cannot see my university's wireless networks (which are not hidden)

Code:
dan@Syndev:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     No scan results

pan0      Interface doesn't support scanning.
I've tried the "echo" on/off fix seen here to no avail. What is the last step in getting my wireless card to work? My network manager is WICD, by the way.

EDIT: I should mention I am running Ubuntu 8.10 with the 2.6.27-9 kernel.

Last edited by Zerimas; 01-04-2009 at 09:08 PM. Reason: More info
 
Old 01-04-2009, 08:55 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Quote:
Originally Posted by Zerimas View Post
The Ubuntu hardware tester claims my wireless card (Atheros AR928X) exists, as does lspci
Code:
03:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
and lshw -c Network
Code:
 *-network               
       description: Wireless interface
       product: AR928X Wireless Network Adapter (PCI-Express)
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wmaster0
       version: 01
       serial: 00:15:af:cd:ed:33
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list logical ethernet physical wireless
       configuration: broadcast=yes driver=ath9k latency=0 module=ath9k multicast=yes wireless=IEEE 802.11bgn
However I cannot see my university's wireless networks (which are not hidden)

Code:
dan@Syndev:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     No scan results

pan0      Interface doesn't support scanning.
I've tried the "echo" on/off fix seen here to no avail. What is the last step in getting my wireless card to work? My network manager is WICD, by the way.
Hi there,

I've a similar card on my laptop:

03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)


And I also thought Ubuntu was detecting it correctly (the drivers were even enabled on the restricted drivers), but I don't think it was working at all. I simply could not scan for any AP. I managed to get it to run and I will post the steps here. However, keep in mind that while our hardware is similar, I am not sure it will work for you. I can't even guarantee it won't screw things up even further, but... here it goes:

http://ubuntuforums.org/showpost.php...24&postcount=6

That is the post which saved my day

Regards! (and good luck)
 
Old 01-04-2009, 09:02 PM   #3
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Quick copy and paste from that forum here, for keeping it simple. All credits to the author. Besides, that link changed once and I could not find it when I needed it for a second time...

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.
 
Old 01-06-2009, 03:52 PM   #4
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks for the reply! Before I go and compile the proprietary driver I have a question.

lspci -v displays the following:

Code:
03:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
	Subsystem: Device 1a3b:1067
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at fdff0000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: ath9k
	Kernel modules: ath9k
Is there anyway to get my card to work using the module that is already there?
 
Old 01-06-2009, 05:07 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,149

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
First, that's not a proprietary driver. It (like the ath9k driver you're using) is based on a FOSS release by Atheros.

The point is that the 0.9... MadWifi versions don't support 64bit Linux systems. The 0.10... versions are the "next release" versions.

The instructions above will get you the latest developer release of the new 0.10... release.

If you'd prefer to be less "cutting edge," you could, instead, just download the latest snapshot tarball, unpack it into a directory and do the make / make install / modprobe ath_pci dance described above to get your device working.
 
Old 01-07-2009, 04:00 PM   #6
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Original Poster
Rep: Reputation: 15
Alright, I followed the instructions above, yet WICD says I still have no wireless access. I tried "echoing" my card into "on" mode; it made the wifi light on my laptop light up, but still no wireless networks are detected. What am I doing wrong? I feel as if I have tried every fix on the net to get my card working.
 
Old 01-07-2009, 05:00 PM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,149

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
I think that Ubuntu may install the NetworkManager package by default. Is it possible that you have that package and WICD both running at the same time? I'm guessing here, but there might be some conflict if you have more than one program trying to manage your network connections.

Also, check your process list and the dmesg output to see if you have more than one driver loaded for your wireless card. If you do, you may need to add all but one of them to /etc/modules.d/blacklist.
 
Old 01-07-2009, 05:49 PM   #8
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Original Poster
Rep: Reputation: 15
WICD doesn't conflict with the GNOME Network manager because WICD removes it as part of its installation. I ran lsmod and found that I had three modules running: ath9k, ath_pci, and ath_hal. I blacklisted ath9k, but left the other two as ath_hal, according to lsmod, uses the ath_pci module. I still don't have any wireless access.
 
Old 01-08-2009, 04:23 PM   #9
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Original Poster
Rep: Reputation: 15
Bump.
 
Old 01-09-2009, 08:45 AM   #10
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,149

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Perhaps you should try removing WICD and reinstalling the NetworkManager package.

Another thought: Go to the MadWifi project site and look for ath9k documentation and bugs. Also, go to the wireless driver source code page at kernels.org to see if there's a newer release of the 9k driver available.

I may, in fact, have mislead you above by pointing you to the code that supports the older AR5425 chip set on 64 bit systems. (That was my wifi problem, not yours.) From what I can see, the stock ath9k driver should have worked for you, and, since I have only an older 5425 chip set, I don't think I can offer an more suggestions.

Good luck.

<edit>
Hum. Now here's a curious thing. After I posted this note, I logged in to my Kubuntu 8.04 installation and noticed that there was a kernel update available, from 2.6.24-21 to 2.6.24-23. So I installed it.

And now I can't get my wireless card to detect any access point, nor can I connect setting the access information by hand.

I do notice that the 0.10.6 Madwifi uses the 2.6.27 kernel wireless.h which is not compatible with the older kernels. But, while the driver I am using on the "-21" kernel compiles and loads on the "-23" kernel, it fails to operate with the same symptoms you reported.

So I now suspect that the Ubuntu group will need to fix the kernel problem.

Alternatively, you could grab a newer kernel from kernel.org and compile your own version. (I think I might grab a 2.6.27 one -- it's supposed to include ext4 support, which might be interesting to try out.)

P.S.: My Fedora 10, with a 64-bit 2.6.26 kernel, works quit well with the Atheros 0.10.6 driver.

P.P.S.: And I'm composing (and sending) this edit on my Kubuntu using the 2.6.24-21 kernel.
</edit>

Last edited by PTrenholme; 01-09-2009 at 06:33 PM. Reason: Added information
 
Old 01-14-2009, 01:37 PM   #11
Zerimas
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Arch
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks for all the help! I am currently using 2.6.27-9-generic. I see that there is a newer version on Kernel.org. Maybe I will try compiling that?
 
Old 01-14-2009, 02:44 PM   #12
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,149

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Oops! I misspoke above. It's the 2.6.28 kernels that include the ext4 implementation. not the 27 ones. (Although you can install the updated e2fs_tools, and get ext4 running on the older kernels if you really have a need for the large volume support and other improvements to ext3.)
 
  


Reply

Tags
ar928x, wicd, wireless


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
Asus WL-330g access point vs other access points dimgr Linux - Wireless Networking 3 09-20-2006 05:29 AM
software access points!! vishamr2000 Linux - Wireless Networking 5 04-10-2006 01:23 PM
Looking for access points. al912912 Linux - Wireless Networking 6 02-11-2005 05:34 PM
How to list Access Points? jeffman12 Linux - Wireless Networking 2 06-09-2004 11:55 PM
Attaching to Two Access points? Memnoch_Rashid Linux - Laptop and Netbook 4 02-01-2004 07:41 PM


All times are GMT -5. The time now is 10:09 AM.

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