Wireless Internet Not Working (Atheros)

Okay, so I am trying to configure my Atheros Wireless card and not having much luck. I tired searching everywhere, and nothing was of help. I even followed the OpenSuse Atheros guide but it didn’t work for me. Anyway, here’s what it says in the YaST Control Center (under Network Settings):

AR242x 802.11abg Wireless PCI Express Adapter (Not connected)
BusID : 0000:06:00.0

Unable to configure the network card because the kernel device (eth0, wlan0) is not present. This is mostly caused by missing firmware (for wlan devices). See dmesg output for details

Here’s the output for “iwconfig”:

linux-4rvy:~ # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

It doesn’t show up in Network Manager either, it just shows eth0. If anyone can help, it will be greatly appreciated.

Well let’s check a few things. Please execute these commands in a console and return the information here using copy/paste.
This should tell about Atheros and other network cards:

sudo /sbin/lspci -nn | egrep "Ethernet|Atheros|Network"

this should tell us about your kernel:

uname -r

and

cat /etc/SuSE-release

This should tell us if your software is ready for configuring some standard drivers (it might take 60/120 secs to complete):

rpm -qa | egrep "ndiswrapper|madwifi"

This should tell us whether you have any active network connections:

sudo /sbin/ifconfig

Since you have an Atheros card’ let’s check kernel modules:

lsmod | grep ath

And we don’t need this one again because you’ve already given it to us:

sudo /usr/sbin/iwconfig

Also, can you tell us how you plan to connect to the Internet?

That should set up the info for getting your card working.

Check here:
HCL/Network Adapters (Wireless - openSUSE

Looks like Madwifi is mentioned for your device

some help here
Madwifi or Ndiswrapper Wireless Network Drivers - Suse/openSUSE 10, 11 - LAN & Internet access

I ran the following commands, that you said to do:

sudo /sbin/lspci -nn | egrep “Ethernet|Atheros|Network”

02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller [11ab:4351] (rev 16)
06:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)

uname -r

2.6.25.18-0.2-default

cat /etc/SuSE-release

openSUSE 11.0 (i586)
VERSION = 11.0

rp -qa | egrep “ndiswrapper|madwifi”

bash: rp: command not found

sudo /sbin/ifconfig

eth0 Link encap:Ethernet HWaddr 00:13:A9:CA:94:B5
inet addr:76.235.184.172 Bcast:76.235.184.255 Mask:255.255.255.0
inet6 addr: fe80::213:a9ff:feca:94b5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:135277 errors:0 dropped:0 overruns:0 frame:0
TX packets:113295 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:146964491 (140.1 Mb) TX bytes:12955112 (12.3 Mb)
Interrupt:16

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:170 errors:0 dropped:0 overruns:0 frame:0
TX packets:170 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13762 (13.4 Kb) TX bytes:13762 (13.4 Kb)

lsmod | grep ath

ath5k 96644 0
mac80211 178328 1 ath5k

And I plan to connect to the internet via my wireless router that I have already setup connected to another computer. I have used it with linux before in Kubuntu, before switching over to OpenSuse. So it should work in OpenSuse too.

Just follow the advice caf4926 gave you. The reason your card worked oob in Ubuntu is obviously in that Ubuntu provides non-free drivers/firmware by default. SuSE, being OpenSuSE, doesn’t. So you must provide any firmware/binary blobs/proprietary drivers/windows drivers required for your device from elsewhere. It’s a little additional work, but Google is your friend.:slight_smile:

I made a typo and the command that didn’t work should have been this:

rpm -qa | egrep "ndiswrapper|madwifi"

Anyway, the returns that you gave indicate that you should install Madwifi and configure the card with driver ath_pci. So run this command to check the Madwifi packages:

rpm -qa | grep madwifi

For your version of Suse and your kernel you should get a return like this (versions correct at time of typing):

john@suse110:~> rpm -qa | grep madwifi
madwifi-kmp-default-0.9.4_2.6.25.5_2-1
madwifi-0.9.4-1

If you don’t have them then uninstall what you have, using Yast to do it. Then add the OpenSuse Madwifi repository to your Yast repositories and install the correct ones.
After that the card can be configured in Yast. Make sureit uses “ath_pci” as the module, not “ath5k” which should be blacklisted.

You can follow the Tutorial indicated by caf4926 to do most of that.

And you can blacklist ath5k by adding this line in the bottom of the file /etc/modprobe.d/blacklist:

blacklist ath5k

[aide memoire – may need to fix mac80211, but see later if not working]

It seems as if that ath5k is still interfering with the installation of madwifi even though it IS blacklisted. I have done the instructions that were posted on a different site, over and over again. The ath0 or whatever doesn’t seem to be wanted to be detected, probably because of the ath5k driver.

rpm -qa | egrep “ndiswrapper|madwifi”

madwifi-0.9.4-1
madwifi-kmp-default-0.9.4_2.6.25.5_2-1

And I have tried to configure it via “adding” it via YaST, and I tried editing it but the button is grayed out and not clickable. I posted what it says in YaST via my original post.

Try adding another line to your blacklist file in addition to ath5k:

blacklist  mac80211

I put “blacklist mac80211” in my blacklist file and I ran the following command again:

lsmod | grep ath

ath5k 96644 0
mac80211 178328 1 ath5k

and ath5k is still starting up…ugh.

OK I’ve been searching. Here are the steps bbqau followed to get an AR242x to work.
Reference: [Solution]Atheros AR242x - Suse11 - pae kernel - openSUSE Forums](http://forums.opensuse.org/network-internet/wireless/396325-solution-atheros-ar242x-suse11-pae-kernel.html)

Install madwifi RPMs appropriate to the kernel – you’ve done that.
Blacklist ath5k – you’ve done that

Make sure you have these RPMs installed: kernel-source, make, gcc, gcc-c++

Download the latest madwifi-hal source file from here: snapshots.madwifi.org
Currently it’s madwifi-hal-0.10.5.6-current.tar.gz

Unpack that to a directory on your Desktop or wherever convenient. Open a console in that directory. Chance to root powers by entering su. Then issue these commands:

make
make install
modprobe ath_pci
modprobe ath_hal

(I don’t really understand this)

And I suppose, configure the card in Yast to get connected to your network/ssid & receive an IP address. It would be approbriate to see which driver was loaded in the Yast card configurator when you choose to “Edit” –> Tab “Hardware” –> Drop-down list “Module Name” should be ath_pci.

Good luck.