Re: [opensuse] Installing Madwifi
Andre den Oudsten wrote:
David C. Rankin schreef:
11:02 alchemy~/linux/scripts/test> ifconfig | grep encap: ath0 Link encap:Ethernet HWaddr 00:1B:9E:7C:F6:E7 eth0 Link encap:Ethernet HWaddr 00:1B:38:AF:36:B8 lo Link encap:Local Loopback wifi0 Link encap:UNSPEC HWaddr 00-1B-9E-7C-F6-E7-00-00-00-00-00-00-00-00-00-00
linux-zpoq:/home/andredo # ifconfig | grep encap eth0 Link encap:Ethernet HWaddr 00:1B:38:5B:9B:49 lo Link encap:Local Loopback
Ahh... Evidence that "the game's afoot!" Obviously you have no wireless interface created by madwifi yet. That is exactly what I used to see before I got the right madwifi rpms installed. Hmm.... Something isn't right anymore: 11:15 alchemy~/linux/madwifi/newversion/schmolle/src> rpmbuild --rebuild madwifi-r3725+AR5007EG-2.2.src.rpm Installing madwifi-r3725+AR5007EG-2.2.src.rpm warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 31812260 error: line 29: Unknown tag: %internal_kmp_error Andre -- I posted a second message to the list on this issue and to the madwifi package maintainers. This may be the problem. For some reason, the .src.rpm isn't building anymore under the updated kernel. This doesn't make sense, but it is happening.
You're sure you tried manually creating ath0 with:
# wlanconfig ath0 create wlandev wifi0 wlanmode sta
unknown command
Try: which wlanconfig 11:29 alchemy~/linux/madwifi/newversion/schmolle/src> which wlanconfig /usr/bin/wlanconfig
Show me again the output of lsmod | grep ath:
11:10 alchemy/home/david] # lsmod | grep ath ath_rate_sample 31232 1 ath_pci 255168 0 wlan 265840 5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci ath_hal 346896 3 ath_rate_sample,ath_pci
linux-zpoq:/home/andredo # lsmod | grep ath ath_pci 255168 0 wlan 265840 1 ath_pci ath_hal 346896 1 ath_pci ath5k 118532 0 mac80211 220568 1 ath5k
You still have the ath5k module loaded, that could also be the entire problem. So: rmmod ath5k && depmod -A then check lsmod | grep ath and make sure there is no ath5k module anymore
and a current locate ath_pci.ko
linux-zpoq:/home/andredo # locate ath_pci.ko bash: locate: command not found
You don't have the locate tool installed (very useful tool -- must have) zypper in findutils-locate
[11:11 alchemy/home/david] # locate ath_pci.ko /lib/modules/2.6.25.18-0.2-default/weak-updates/ath/ath_pci.ko /lib/modules/2.6.25.5-1.1-default/updates/ath/ath_pci.ko /usr/lib/debug/lib/modules/2.6.25.5-1.1-debug/updates/ath/ath_pci.ko.debug
and then an ls -al of the current ath_pci.ko file:
[11:12 alchemy/home/david] # ls -al /lib/modules/2.6.25.18-0.2-default/weak-updates/ath/ath_pci.ko lrwxrwxrwx 1 root root 56 2008-10-28 03:48 /lib/modules/2.6.25.18-0.2-default/weak-updates/ath/ath_pci.ko -> /lib/modules/2.6.25.5-1.1-default/updates/ath/ath_pci.ko
and finally a ls -al of the link target:
[11:13 alchemy/home/david] # ls -al
/lib/modules/2.6.25.5-1.1-default/updates/ath/ath_pci.ko -rw-r--r-- 1 root root 430600 2008-06-18 12:51 /lib/modules/2.6.25.5-1.1-default/updates/ath/ath_pci.ko
I changed to linux-zpoq:/home/andredo # cd /lib/modules linux-zpoq:/lib/modules # ls -al totaal 28 drwxr-xr-x 7 root root 4096 okt 31 13:14 . drwxr-xr-x 12 root root 4096 okt 28 10:23 .. drwxr-xr-x 2 root root 4096 okt 28 10:46 2.6.25.18-0.2-debug drwxr-xr-x 4 root root 4096 nov 11 11:00 2.6.25.18-0.2-default drwxr-xr-x 2 root root 4096 okt 28 10:46 2.6.25.18-0.2-lockdep drwxr-xr-x 2 root root 4096 okt 28 10:46 2.6.25.18-0.2-xen drwxr-xr-x 3 root root 4096 jun 18 19:51 2.6.25.5-1.1-default
At least with this exercise, we have found another possibility -- that you are missing the sym link to weak updates
In Konquerer I found a line /lib/modules/2.6.25.18-0.2-default/weak-updates/ath with a link to ath_pci.ko
Try getting rid of the ath5k module again while we wait on word on whey the madwifi package no longer builds from source rpm. We may have stumbled onto a bug. I'm just glad I got madwifi installed before the last kernel update..... -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
David C. Rankin