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

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

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
Thread Tools Display Modes
Old September 2nd, 2008   #1
bbandruin
First Cup of Ubuntu
 
Join Date: Aug 2008
Location: Utrecht
Beans: 4
Xubuntu 8.04 Hardy Heron
Problem with wireless [Atheros AR242x]

I've recently bought a nice laptop (Asus X50SL) to try out some Linux distributions and Xubuntu seemed like a good start. But now I want to get my wireless working and I'm having some difficulty with that. I've browsed the forums here quite a lot, but haven't been able to find an apt solution.

lspci gives me:
Code:
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
So my card is detected, right?

sudo lshw -C network:
Code:
  *-network               
       description: Ethernet interface
       product: 191 Gigabit Ethernet Adapter
       vendor: Silicon Integrated Systems [SiS]
       physical id: 4
       bus info: pci@0000:00:04.0
       logical name: eth0
       version: 02
       serial: 00:1f:c6:42:0f:5b
       size: 100MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=sis190 driverversion=1.2 duplex=full ip=192.168.1.100 latency=0 link=yes module=sis190 multicast=yes port=MII speed=100MB/s
  *-network UNCLAIMED
       description: Ethernet controller
       product: AR242x 802.11abg Wireless PCI Express Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
iwconfig gives me:
Code:
lo        no wireless extensions.

eth0      no wireless extensions.
iwlist wlan0 scan:
Code:
wlan0     Interface doesn't support scanning.
No problems with it being not detected, it just doesn't show up as a wlan device?
I've tried getting it to work with madwifi, but that doesn't work. (And I don't have the cd-rom with drivers with me right now.)

Any suggestions as what I'm doing wrong/can do?
bbandruin is offline   Reply With Quote
Old September 2nd, 2008   #2
Astinsan
Just Give Me the Beans!
 
Astinsan's Avatar
 
Join Date: Apr 2006
Location: Seattle, WA
My beans are hidden!
Send a message via ICQ to Astinsan Send a message via AIM to Astinsan Send a message via MSN to Astinsan
Re: Problem with wireless [Atheros AR242x]

You need to build a drver by hand because your card isn't supported by the module you have... Here are the steps I used to get my hp dv9720us.

(From http://www.ubuntugeek.com/atheros-ar...rdy-heron.html)


If you have Atheros AR5007 wireless network adapter follow this procedure to make it work in ubuntu 8.04

For i386 Users

First go to System–>Administration–>Hardware Drivers” and disable by un-ticking the following option

Atheros Hardware Access Layer (Hal)

Then Reboot your system.

Preparing your system

sudo apt-get install build-essential

Then open the terminal from Applications–>Accessories–>Terminal and copy the following command

wget http://snapshots.madwifi.org/special...+ar5007.tar.gz

tar xfz madwifi-ng-r2756+ar5007.tar.gz

cd madwifi-ng-r2756+ar5007

make

sudo make install

sudo modprobe ath_pci

sudo reboot

That’s it now your wireless should work without any problem.

For AMD64 Users

If you are using 64 bit version following this procedure

Blacklist the default driver

echo “blacklist ath_pci” | sudo tee -a /etc/modprobe.d/blacklist

Download the 64 bit driver

wget http://blakecmartin.googlepages.com/...-64-0.2.tar.gz

Extract driver using the following command

tar xvf ar5007eg-*.tar.gz

tar xvf ndiswrapper-newest.tar.gz

Ensure you have your kernel headers and the build essential package.

sudo aptitude update

sudo aptitude install linux-headers-$(uname -r) build-essential

Install ndisgtk

sudo apt-get install ndisgtk

Either use ndisgtk to install the driver or

sudo ndiswrapper -i net5211.inf

Load up ndiswrapper every time Linux is loaded

sudo modprobe ndiswrapper

echo “ndiswrapper” | sudo tee -a /etc/modules

Restart your system using the following command

sudo reboot

Your card should have been detected and it should show available networks but if it does not, try

sudo iwlist scan
__________________
#!/me/JaY
Astinsan is offline   Reply With Quote
Old September 2nd, 2008   #3
bbandruin
First Cup of Ubuntu
 
Join Date: Aug 2008
Location: Utrecht
Beans: 4
Xubuntu 8.04 Hardy Heron
Re: Problem with wireless [Atheros AR242x]

Thanks for your help, but I'm still not succeeding at it. Your link (http://snapshots.madwifi.org/special...+ar5007.tar.gz) is outdated. It let's me download a README-file which says:
Quote:
However, since you've downloaded this tarball, you've followed outdated
instructions. The code that this tarball once contained is now obsolete.
Please follow these instructions to enable your AR5007-based WLAN device:
http://madwifi.org/ticket/1192
So, OK, I just download the most recent tarball, extract it, make && make install it, but when I get to sudo modprobe ath_pci, it does nothing? I mean, I don't get any output from that and when I reboot, iwconfig says just the same as before: no wifi-devices?

Hmm, the lshw-command gives me this:
Code:
           *-network
                description: Ethernet controller
                product: AR242x 802.11abg Wireless PCI Express Adapter
But it's not an Ethernet controller, but a Wireless controller; perhaps that's the problem?

Any more help would be dearly appreciated, I'm really stuck with this (after having checked >9000 'solutions' on Google and these forums).
bbandruin is offline   Reply With Quote
Old September 14th, 2008   #4
Eleaf
A Carafe of Ubuntu
 
Join Date: Aug 2005
Location: Colorado
Beans: 89
Ubuntu 8.04 Hardy Heron
Send a message via AIM to Eleaf Send a message via MSN to Eleaf Send a message via Yahoo to Eleaf
Re: Problem with wireless [Atheros AR242x]

Same problem here.. My atheros card on my acer aspire 5520 works fine with ndiswrapper, but I can't get it working with madwifi.

I tried compiling and installing the drivers but modprobing ath_pci DOES NOT create a wireless device.

Any ideas?
Eleaf is offline   Reply With Quote
Old September 14th, 2008   #5
Eleaf
A Carafe of Ubuntu
 
Join Date: Aug 2005
Location: Colorado
Beans: 89
Ubuntu 8.04 Hardy Heron
Send a message via AIM to Eleaf Send a message via MSN to Eleaf Send a message via Yahoo to Eleaf
Re: Problem with wireless [Atheros AR242x]

I have found an update... Download the latest file here: http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/ and uncompress.

Then make/make install/modprobe ath_pci..

I now get a wireless device in iwconfig and can connect to AP's... Interesting!
Eleaf is offline   Reply With Quote
Old September 15th, 2008   #6
Astinsan
Just Give Me the Beans!
 
Astinsan's Avatar
 
Join Date: Apr 2006
Location: Seattle, WA
My beans are hidden!
Send a message via ICQ to Astinsan Send a message via AIM to Astinsan Send a message via MSN to Astinsan
Re: Problem with wireless [Atheros AR242x]

In order for it to load every time you need to add it to the file in etc called modules. Also atheros cards have a airplane mode switch option. My HP has one in the front. You need to tell the driver to ignore the setting.

The line(s) that should be added are:
ath_pci rfkill=0
wlan_scan_sta


the option at the end that says rfkill=0 that is the airplane mode switch. It will not be needed in the future when the driver is complete from what I have read around. It basically turns off roaming mode. This will prevent your card from showing any access points from showing up.

After everything is added and enabled you can click the network manager icon and the wireless networks should show up. There is no need to add a device it should be added automatically by the network manager.
__________________
#!/me/JaY
Astinsan is offline   Reply With Quote
Old September 15th, 2008   #7
SilverAdder
5 Cups of Ubuntu
 
Join Date: Dec 2007
Location: Denmark
Beans: 39
Ubuntu 7.10 Gutsy Gibbon
Re: Problem with wireless [Atheros AR242x]

I have an Acer Ferrari 5000, also with an Atheros wireless chipset. I used the automated script found here with great success, multiple times. The post has some good info but basically you just download the scrip, chmod +x, and run it. After a while, your done and it worked flawlessly for me. I hope this helps.
SilverAdder is offline   Reply With Quote

Bookmarks

Tags
atheros, wifi, wireless

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 02:20 AM.


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