Now part2…
This finally worked and I am typing this with my newly connected AR242x Wireless connection to my Linksys wireless router.
First I had to gather info (like the sticky says!) and determine which direction to go:
lspci -v abbreviated list because I don’t want to paste the entire exhaustive pci info list, just the Atheros stuff
05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
So my other Linux install is Ubuntu x86_64 (and this OpenSUSE is as well) and remember having had some of the exact same problems with that install (installed drivers didn’t work) oh btw, this is an AMD Turion 64 x2 system, ATI graphics, WIFI certified(what the heck does that mean!)
This article helped a lot!!
How To:MadWifi Support for AR2425 (AR5007EG) on 64bit Ubuntu !!! - Ubuntu Forums
Ahh, yes the savior post for me!! I used the info of this post to go and get the source version indicated, compiled, and installed…voila! it just worked.
so using that I proceed in this direction:
-
remove all previous versions of madwifi and the corresponding kernel driver file. (I did this in the yast gui and don’t have a screen shot) just filter for madwifi, and then click on the installed button, pretty easy.
Also remove ndiswrapper (I never liked this anyway, tried and have never been able to get it to work with the windows drivers)
-
setup the system to get ready to dnload and compile the source
installed this: (if you’ve compiled from source before you already have this, this was a new install so I didn’t)
yast2 --install kernel-source kernel-syms gcc make
- remove and blacklist the ath5k module
rmmod ath5k
add this line to the end of /etc/modprobe.d/blacklist
blacklist ath5k
Note to self and others: MAKE A COPY OF ALL FILES BEFORE EDITING THEM!!!
- remove all the modules relating to atheros and wireless (not permanent, just making sure they are not used for now)
lsmod |grep ath
lsmod |grep wlan
lsmod |grep 802
rmmod on the result of each of these.
- go get this madwifi snapshot extract it to a working dir
snapshots.madwifi.org: madwifi-hal-0.10.5.6
cd to the nice newly unpacked snapshot and…
make clean
make
make install
I don’t pretend to even guess how to troubleshoot this if it doesn’t work…but it did, I’m golden!
ok so now I have this in my /lib/modules/2.6.25.16-0.1-default/net
(the file list)
total 1628
drwxr-xr-x 2 root root 4096 Sep 20 22:21 .
drwxr-xr-x 6 root root 4096 Sep 20 22:24 ..
-rw-r--r-- 1 root root 415791 Sep 20 22:21 ath_hal.ko
-rw-r--r-- 1 root root 458846 Sep 20 22:21 ath_pci.ko
-rw-r--r-- 1 root root 30487 Sep 20 22:21 ath_rate_amrr.ko
-rw-r--r-- 1 root root 41958 Sep 20 22:21 ath_rate_minstrel.ko
-rw-r--r-- 1 root root 29478 Sep 20 22:21 ath_rate_onoe.ko
-rw-r--r-- 1 root root 38063 Sep 20 22:21 ath_rate_sample.ko
-rw-r--r-- 1 root root 376884 Sep 20 22:21 wlan.ko
-rw-r--r-- 1 root root 27360 Sep 20 22:21 wlan_acl.ko
-rw-r--r-- 1 root root 30413 Sep 20 22:21 wlan_ccmp.ko
-rw-r--r-- 1 root root 34580 Sep 20 22:21 wlan_scan_ap.ko
-rw-r--r-- 1 root root 41364 Sep 20 22:21 wlan_scan_sta.ko
-rw-r--r-- 1 root root 35175 Sep 20 22:21 wlan_tkip.ko
-rw-r--r-- 1 root root 28118 Sep 20 22:21 wlan_wep.ko
-rw-r--r-- 1 root root 21101 Sep 20 22:21 wlan_xauth.ko
- And now a reboot (this should load the newly compiled kernel drivers) and it did.
lsmod reveals this:
lsmod |grep ath
ath_rate_sample 31232 1
ath_pci 261952 0
wlan 266096 5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 346768 3 ath_rate_sample,ath_pci
UREKA!!! all the nice newly compiled modules loaded now
And to make sure I an actually using the newly compiled drivers I do a little spot checking with modinfo and reveal this:
They say I and using version: svn r3861 (the very snapshot I dnloaded and compiled)
filename: /lib/modules/2.6.25.16-0.1-default/net/ath_pci.ko
license: Dual BSD/GPL
version: svn r3861
filename: /lib/modules/2.6.25.16-0.1-default/net/ath_hal.ko
license: Proprietary
version: x86_64-elf: 0.10.5.6
description: Atheros Hardware Access Layer (HAL)
filename: /lib/modules/2.6.25.16-0.1-default/net/wlan.ko
license: Dual BSD/GPL
version: svn r3861
filename: /lib/modules/2.6.25.16-0.1-default/net/ath_rate_sample.ko
license: Dual BSD/GPL
version: svn r3861
Usage:
modinfo <driver_name>
i.e. modinfo ath_pci
- Proceed to the Computer>Yast>Network Settings as normal
You should now see an editable Wireless connection ready to be setup and configured.(previously it was not!)
Again I have no screen shots of this, but its pretty easy, just make sure to use the ath_pci driver (NOT ath5k!!!) enter your ESSID where indicated and SHAZAM!!!
I GOT WIRELESS! I’ve rebooted several times since this procedure and it works every time.
ifconfig reveals this:
ifconfig -a
ath0 Link encap:Ethernet HWaddr 00:22:68:CC:D8:19
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::222:68ff:fecc:d819/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49578 errors:0 dropped:0 overruns:0 frame:0
TX packets:19001 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25580910 (24.3 Mb) TX bytes:2707489 (2.5 Mb)
eth0 Link encap:Ethernet HWaddr 00:1E:33:53:AF:1D
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:5120361568198 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:251 Base address:0x8000
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:86 errors:0 dropped:0 overruns:0 frame:0
TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8184 (7.9 Kb) TX bytes:8184 (7.9 Kb)
wifi0 Link encap:UNSPEC HWaddr 00-22-68-CC-D8-19-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:753354 errors:0 dropped:0 overruns:0 frame:15064
TX packets:35945 errors:47 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:280
RX bytes:78730027 (75.0 Mb) TX bytes:4088099 (3.8 Mb)
Interrupt:18
and iwconfig this:
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:"daedalus" Nickname:""
Mode:Managed Frequency:2.462 GHz Access Point: 00:16:B6:D7:33:35
Bit Rate:6 Mb/s Tx-Power:16 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:<deleted by me!> Security mode:restricted
Power Management:off
Link Quality=61/70 Signal level=-35 dBm Noise level=-96 dBm
Rx invalid nwid:333049 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Hope this helps someone out there, I tried to remember ALL the steps (I may have left one out).
Read the links and info for more help, if you need.