Re: [opensuse] Installing Madwifi
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
David C. Rankin schreef:
David C. Rankin wrote:
Andre den Oudsten wrote:
David C. Rankin schreef:
> Andre den Oudsten wrote: > > >> >> > >
Andre
You got it running yet?
Not yet!! From rpm -Uvh madwifi-kmp-default-r3725+AR5007EG_2.6.25.5_1.1-2.2.x86_64
I got the message 'opening failed'
so I installed it again with Yast2, removed ath5k and got still the same message:
missing Kernel device (eth0, wlan0)
so I can't come to the choice as you showed in your screenshot.
From Jimmy Pierre I learned
ifup wlan0 -o auto and that reacted with: Interface wlan0 is not available
Should that be the trouble?: And how would I make that available?
André
No, with madwifi it would be ifup wifi0 -o auto anyway: see
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
You're sure you tried manually creating ath0 with:
# wlanconfig ath0 create wlandev wifi0 wlanmode sta
unknown command
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
and a current locate ath_pci.ko
linux-zpoq:/home/andredo # locate ath_pci.ko bash: locate: command not found
[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
linux-zpoq:/home/andredo # ls -al totaal 188 drwxr-xr-x 28 andredo users 4096 nov 12 13:52 . drwxr-xr-x 4 root root 4096 okt 28 17:26 .. drwx------ 3 andredo users 4096 okt 28 11:05 .adobe -rw------- 1 andredo users 257 nov 4 16:19 .bash_history -rw-r--r-- 1 andredo users 1177 okt 27 21:21 .bashrc drwx------ 7 andredo users 4096 nov 12 13:50 .beagle drwxr-xr-x 3 andredo users 4096 okt 30 14:19 .config drwx------ 3 andredo users 4096 okt 27 21:22 .dbus -rw-r--r-- 1 andredo users 57 nov 12 08:45 .DCOPserver_linux-zpoq__0 lrwxrwxrwx 1 andredo users 39 nov 12 08:45 .DCOPserver_linux-zpoq_:0 -> /home/andredo/.DCOPserver_linux-zpoq__0 drwx------ 2 andredo users 4096 okt 30 17:49 Desktop -rw------- 1 andredo users 26 okt 27 21:22 .dmrc drwxr-xr-x 3 andredo users 4096 nov 10 15:03 Download -rw-r--r-- 1 andredo users 1637 okt 27 21:21 .emacs drwxr-xr-x 2 andredo users 4096 nov 3 20:43 .fontconfig drwxr-xr-x 2 andredo users 4096 okt 27 21:22 .fonts drwx------ 3 andredo users 4096 nov 12 08:45 .gconf drwx------ 2 andredo users 4096 nov 12 08:46 .gconfd drwxr-xr-x 22 andredo users 4096 nov 10 15:17 .gimp-2.4 drwx------ 3 andredo users 4096 nov 6 12:46 .gnome2 drwx------ 2 andredo users 4096 okt 28 10:57 .gnome2_private drwx------ 3 andredo users 4096 okt 28 17:54 .gnupg -rw------- 1 andredo users 197 nov 12 08:45 .ICEauthority -rw-r--r-- 1 andredo users 861 okt 27 21:21 .inputrc drwx------ 4 andredo users 4096 okt 28 19:18 .kde drwx------ 3 andredo users 4096 okt 27 21:22 .kde4 drwx------ 3 andredo users 4096 okt 27 21:22 .local drwx------ 3 andredo users 4096 okt 28 11:05 .macromedia drwxr-xr-x 3 andredo users 4096 okt 27 21:36 .mcop drwxr-xr-x 4 andredo users 4096 okt 28 17:28 .mozilla drwx------ 3 andredo users 4096 nov 12 08:45 .ooo-2.0 -rw-r--r-- 1 andredo users 50 nov 3 20:42 .padminrc -rw-r--r-- 1 andredo users 1028 okt 27 21:21 .profile drwxr-xr-x 2 andredo users 4096 nov 12 08:45 .qt -rw------- 1 andredo users 5637 nov 12 09:04 .recently-used -rw-r--r-- 1 andredo users 2136 nov 6 16:59 .recently-used.xbel drwxr-xr-x 2 andredo users 4096 okt 27 21:22 .skel drwx------ 4 andredo users 4096 okt 28 19:47 .thumbnails drwx------ 3 andredo users 4096 okt 28 17:28 .thunderbird -rw-r--r-- 1 andredo users 615 okt 31 20:00 .ufrawrc drwxr-xr-x 2 andredo users 4096 nov 12 08:45 .wapi -rw------- 1 andredo users 214 nov 12 08:45 .Xauthority -rw-r--r-- 1 andredo users 1940 okt 27 21:21 .xim.template -rwxr-xr-x 1 andredo users 1446 okt 27 21:21 .xinitrc.template -rw------- 1 andredo users 11423 nov 12 13:42 .xsession-errors
/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
Here ends again my knowledge
André
Andre, I think I know what the problem is. You may have been bitten by the same thing. If it is, we will have your wireless running in 5 minutes. First, you will need to install make. IIRC you don't have that installed. So first as root: zypper in make cmake automake unsermake To confirm the problem I suspect, as root do: cd /usr/src/linux make mrproper If you get something like this: 22:58 alchemy/usr/src/linux] # make mrproper make: *** No rule to make target `mrproper'. Stop. Problem confirmed. To fix the link problem, as root do: cd /usr/src The next are all ONE-LINE commands so make sure you copy them as one line. What I do is just copy from the email to kedit, then you can make it one-line and then copy the confirmed one-line from kedit and paste it in the command line: if [[ -d linux-2.6.25.18-0.2 ]]; then ln -s linux-2.6.25.18-0.2 linux; else echo "SOURCE NOT FOUND"; fi if [[ -d linux-2.6.25.18-0.2-obj ]]; then ln -s linux-2.6.25.18-0.2-obj linux-obj; else echo "SOURCE-OBJ NOT FOUND"; fi If you get the NOT FOUND messages, then stop and post back to the list. If the sym links are created, then as root: cd linux make mrproper If that works this time, then: make cloneconfig > /dev/null 2>&1 make modules_prepare make clean Then install madwifi from the rpms and I will (almost) guarantee you your problem is solved. If I'm right, what happened is the last kernel update failed to update the needed links in /usr/src to point to the latest kernel source and object directories when the kernel was updated from 2.6.25.16-0.1 to 2.6.25.18-0.2. This prevented the post-install scripts in the madwifi rpms from being able to compile the ath_pci.ko kernel module needed to make your wireless work. Meaning you were doing everything correctly to install madwifi, but were prevented from doing so by 2 (two) little sym links in /usr/src. If this is confirmed, then please add your comments to the bug I opened: https://bugzilla.novell.com/show_bug.cgi?id=444912 We'll skin this cat yet! -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin schreef:
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
David C. Rankin schreef:
David C. Rankin wrote:
Andre den Oudsten wrote:
> David C. Rankin schreef: > > > >> Andre den Oudsten wrote: >> >> >> >>> >>> >>> >> >> >> > > >
Andre,
I think I know what the problem is. You may have been bitten by the same thing. If it is, we will have your wireless running in 5 minutes. First, you will need to install make. IIRC you don't have that installed. So first as root:
zypper in make cmake automake unsermake
To confirm the problem I suspect, as root do:
cd /usr/src/linux make mrproper
If you get something like this:
22:58 alchemy/usr/src/linux] # make mrproper make: *** No rule to make target `mrproper'. Stop.
I got: make: gcc: Opdracht niet gevonden (Command not found) I interpreted it as 'Problem confirmed' and went on
Problem confirmed. To fix the link problem, as root do:
cd /usr/src
The next are all ONE-LINE commands so make sure you copy them as one line. What I do is just copy from the email to kedit, then you can make it one-line and then copy the confirmed one-line from kedit and paste it in the command line:
if [[ -d linux-2.6.25.18-0.2 ]]; then ln -s linux-2.6.25.18-0.2 linux; else echo "SOURCE NOT FOUND"; fi
if [[ -d linux-2.6.25.18-0.2-obj ]]; then ln -s linux-2.6.25.18-0.2-obj linux-obj; else echo "SOURCE-OBJ NOT FOUND"; fi
I got: ln: symbolische koppeling './linux-2.6.25.18-0.2-obj' aanmaken: Bestand bestaat al bash: linux-obj: command not found and went while the link exist
If you get the NOT FOUND messages, then stop and post back to the list. If the sym links are created, then as root:
cd linux make mrproper
and here again I got: make: gcc: Opdracht niet gevonden (Command not found) So I have to wait a while before I can skin that cat!!! (Thanks for your sustaining support!!!)
If that works this time, then:
make cloneconfig > /dev/null 2>&1 make modules_prepare make clean
Then install madwifi from the rpms and I will (almost) guarantee you your problem is solved.
If I'm right, what happened is the last kernel update failed to update the needed links in /usr/src to point to the latest kernel source and object directories when the kernel was updated from 2.6.25.16-0.1 to 2.6.25.18-0.2. This prevented the post-install scripts in the madwifi rpms from being able to compile the ath_pci.ko kernel module needed to make your wireless work. Meaning you were doing everything correctly to install madwifi, but were prevented from doing so by 2 (two) little sym links in /usr/src. If this is confirmed, then please add your comments to the bug I opened:
https://bugzilla.novell.com/show_bug.cgi?id=444912
We'll skin this cat yet!
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andre den Oudsten wrote:
I got: make: gcc: Opdracht niet gevonden (Command not found)
Woops, We will have to step back one more step and get you the rest of the pieces of the puzzle that every working machine should have. You are missing the c compiler. Go ahead and install the following. There are a few optional packages here, but they don't hurt. As root, and all on one line, do: zypper in gcc43-gij-32bit libgcc43 gcc43-objc gcc43-obj-c++ gcc-gij gcc43-c++ gcc-obj-c++ gcc43-info gcc43-java gcc-java gcc43 gcc gcc-c++ gcc-objc gcc-info gcc43-gij libgcc43-32bit Then go back and re-work the steps in my last post. -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin schreef:
Andre den Oudsten wrote:
I got: make: gcc: Opdracht niet gevonden (Command not found)
Woops,
We will have to step back one more step and get you the rest of the pieces of the puzzle that every working machine should have. You are missing the c compiler. Go ahead and install the following. There are a few optional packages here, but they don't hurt. As root, and all on one line, do:
zypper in gcc43-gij-32bit libgcc43 gcc43-objc gcc43-obj-c++ gcc-gij gcc43-c++ gcc-obj-c++ gcc43-info gcc43-java gcc-java gcc43 gcc gcc-c++ gcc-objc gcc-info gcc43-gij libgcc43-32bit
Then go back and re-work the steps in my last post.
linux-zpoq:/usr/src # if [[ -d linux-2.6.25.18-0.2-obj ]]; then ln -s linux-2.6.25.18-0.2-obj
linux-obj; else echo "SOURCE-OBJ NOT FOUND"; fi ln: symbolische koppeling './linux-2.6.25.18-0.2-obj' aanmaken: Bestand bestaat al (file already exists) bash: linux-obj: command not found
I reworked al steps, installed your madwifi-kmp-........, but trying to configure the card in Yast I again got the same message 'no eth0 or wlan available' But that cat .......!! André -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
I got: make: gcc: Opdracht niet gevonden (Command not found)
Woops,
We will have to step back one more step and get you the rest of the pieces of the puzzle that every working machine should have. You are missing the c compiler. Go ahead and install the following. There are a few optional packages here, but they don't hurt. As root, and all on one line, do:
zypper in gcc43-gij-32bit libgcc43 gcc43-objc gcc43-obj-c++ gcc-gij gcc43-c++ gcc-obj-c++ gcc43-info gcc43-java gcc-java gcc43 gcc gcc-c++ gcc-objc gcc-info gcc43-gij libgcc43-32bit
Then go back and re-work the steps in my last post.
linux-zpoq:/usr/src # if [[ -d linux-2.6.25.18-0.2-obj ]]; then ln -s linux-2.6.25.18-0.2-obj
linux-obj; else echo "SOURCE-OBJ NOT FOUND"; fi
This is where the issues is. If you did the long zypper in line, then you now how the compiler installed. The "SOURCE-OBJ NOT FOUND" means that you don't have the linux-2.6.25.18-0.2-obj files installed. Post: ls -al /usr/src ls -al /usr/src/linux
André
Andre, Believe it or not, we are getting close. *** Note for your future installs, when you are presented with the summary page right before the install happens, click on the "Software Management" link where you can add/remove packages and then Choose and install: Base Development Just click the check box next to it and it will install all the pertinent packages. (then I also show the details and select and install "build" that is left out for some reason) This will install all of your basic software compilers and make life a lot easier. -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin schreef:
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
I got: make: gcc: Opdracht niet gevonden (Command not found)
Woops,
We will have to step back one more step and get you the rest of the pieces of the puzzle that every working machine should have. You are missing the c compiler. Go ahead and install the following. There are a few optional packages here, but they don't hurt. As root, and all on one line, do:
zypper in gcc43-gij-32bit libgcc43 gcc43-objc gcc43-obj-c++ gcc-gij gcc43-c++ gcc-obj-c++ gcc43-info gcc43-java gcc-java gcc43 gcc gcc-c++ gcc-objc gcc-info gcc43-gij libgcc43-32bit
Then go back and re-work the steps in my last post.
linux-zpoq:/usr/src # if [[ -d linux-2.6.25.18-0.2-obj ]]; then ln -s linux-2.6.25.18-0.2-obj
linux-obj; else echo "SOURCE-OBJ NOT FOUND"; fi
This is where the issues is. If you did the long zypper in line, then you now how the compiler installed. The "SOURCE-OBJ NOT FOUND" means that you don't have the linux-2.6.25.18-0.2-obj files installed. Post:
ls -al /usr/src
ls -al /usr/src/linux
linux-zpoq:/home/andredo # ls -al /usr/src totaal 20 drwxr-xr-x 5 root root 4096 okt 28 10:46 . drwxr-xr-x 13 root root 4096 jun 10 14:55 .. lrwxrwxrwx 1 root root 19 okt 28 10:46 linux -> linux-2.6.25.18-0.2 drwxr-xr-x 22 root root 4096 nov 14 20:43 linux-2.6.25.18-0.2 drwxr-xr-x 3 root root 4096 okt 22 17:01 linux-2.6.25.18-0.2-obj lrwxrwxrwx 1 root root 23 okt 28 10:46 linux-obj -> linux-2.6.25.18-0.2-obj drwxr-xr-x 7 root root 4096 jun 10 14:23 packages linux-zpoq:/home/andredo # ls -al /usr/src/linux lrwxrwxrwx 1 root root 19 okt 28 10:46 /usr/src/linux -> linux-2.6.25.18-0.2 linux-zpoq:/home/andredo # André
Andre,
Believe it or not, we are getting close.
*** Note for your future installs, when you are presented with the summary page right before the install happens, click on the "Software Management" link where you can add/remove packages and then Choose and install:
Base Development
Just click the check box next to it and it will install all the pertinent packages. (then I also show the details and select and install "build" that is left out for some reason) This will install all of your basic software compilers and make life a lot easier.
I have made good notice of that!!! André -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
ls -al /usr/src/linux
linux-zpoq:/home/andredo # ls -al /usr/src totaal 20 drwxr-xr-x 5 root root 4096 okt 28 10:46 . drwxr-xr-x 13 root root 4096 jun 10 14:55 .. lrwxrwxrwx 1 root root 19 okt 28 10:46 linux -> linux-2.6.25.18-0.2 drwxr-xr-x 22 root root 4096 nov 14 20:43 linux-2.6.25.18-0.2 drwxr-xr-x 3 root root 4096 okt 22 17:01 linux-2.6.25.18-0.2-obj lrwxrwxrwx 1 root root 23 okt 28 10:46 linux-obj -> linux-2.6.25.18-0.2-obj drwxr-xr-x 7 root root 4096 jun 10 14:23 packages linux-zpoq:/home/andredo # ls -al /usr/src/linux lrwxrwxrwx 1 root root 19 okt 28 10:46 /usr/src/linux -> linux-2.6.25.18-0.2 linux-zpoq:/home/andredo #
Good, all of your links are set correctly, now all should work. If you are having problems, then it is because their is still a piece of the puzzle missing. Let's start out confirming what part of the driver build is breaking down and take it step-by-step. If you have time today, I do as well. Let's get this thing done.
Base Development
Just click the check box next to it and it will install all the pertinent packages. (then I also show the details and select and install "build" that is left out for some reason) This will install all of your basic software compilers and make life a lot easier.
I have made good notice of that!!!
André
It will serve you well. If we continue to have any problems compiling this driver against your kernel or if you fail any of the step-by-step test below, then what I want you to do is go back into yast and: In repositories: (1) disable the madwifi repository if you have added that repository Then with your install DVD in the tray (if you don't have a fast internet connection or if you don't have the OSS repo added) go to software-management and then select Filter: "Patterns" and confirm the check mark, or put a check mark next to (2) Base System (3) Enhanced Base System (4) Console Tools (5) Base Development (6) C/C++ Development (7) RPM Build Environment (8) Linux Kernel Development Go get a cup of coffee and let the packages install. This will guarantee install all of the development pieces needed to build the madwifi driver (my opinion these should be installed by openSuSE by default) The step-by-step tests (as root of course): Check the kernel packages -- again... 15:22 alchemy~/linux/scripts> rpm -qa | grep kernel # root not required here kernel-syms-2.6.25.18-0.2 kernel-default-2.6.25.18-0.2 kernel-source-2.6.25.18-0.2 linux-kernel-headers-2.6.25-8.1 If any are missing, go install them. Then let's make sure they work: (1) cd /usr/src/linux (2) make mrproper (3) make cloneconfig (4) make modules_prepare (5) make clean If any errors (eg. No Target to make XXX), post output and got to "In repositories:" above and work steps 1-8. If all OK, then (1) rpm -e $(rpm -qa | grep madwifi) #remove all madwifi (2) Hell --- Let's reboot just to make sure (3) lsmod | grep ath #if you still have ath(anything), post and wait (4) install all madwifi rpms from either schmole or my site compare after install to: 16:58 alchemy~/linux/scripts> rpm -qa | grep madwifi madwifi-debuginfo-r3725+AR5007EG-2.2 madwifi-debugsource-r3725+AR5007EG-2.2 madwifi-r3725+AR5007EG-2.2 madwifi-devel-r3725+AR5007EG-2.2 madwifi-kmp-default-r3725+AR5007EG_2.6.25.5_1.1-2.2 (5) lsmod | grep ath # if nothing, then to (6), else goto (7) (6) modprobe -v ath_pci && lsmod | grep ath && depmod -A # if any errors, post and wait (7) compare the module list to: 16:44 alchemy~/linux/scripts> 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 # if you are missing wlan, but have ath_pci, reboot and check again this may be less error prone than manually running wlanconfig. If you have everything now or after reboot, press on, if not post and wait. (8) Now go rerun the Yast steps to configure the wireless Andre, In this email, we will either have a working wireless setup for you, or identify exactly where the problem is. The fun we have had with your Atheros wireless setup -- strains the imagination. I have thought through the above steps and think this will do it. I just don't know where else a package dependency or compile dependency could be hiding. Also, I have a deal for you. When we get your wireless working, you get to take this string of emails and put together the: "Definitive openSuSE Atheros AR242x 802.11abg Wireless PCI Express Adapter -- Howto" Good Luck ;-) -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin schreef:
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
ls -al /usr/src/linux
I have made good notice of that!!!
André
Good Luck ;-)
We spent sunday with our oldest son and his family, as we had promised before your last mail. I now went trough your steps and after 'Hell --- and reboot' I got this: linux-zpoq:/home/andredo # lsmod | grep ath ath5k 118532 0 mac80211 220568 1 ath5k André -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I now went trough your steps and after 'Hell --- and reboot' I got this: linux-zpoq:/home/andredo # lsmod | grep ath ath5k 118532 0 mac80211 220568 1 ath5k
in /etc/modprobe.d/blacklist add blacklist ath5k reboot the system. greetz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2008-11-17 at 12:01 +0100, Thorsten Moorhoff wrote:
I now went trough your steps and after 'Hell --- and reboot' I got this: linux-zpoq:/home/andredo # lsmod | grep ath ath5k 118532 0 mac80211 220568 1 ath5k
in /etc/modprobe.d/blacklist
add
blacklist ath5k
reboot the system.
greetz
Would it not make more sense to remove the ath5k module and related files, than to simply blacklist it? (Which frankly is what I did in order to get the correct driver to load.) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi Mike!
blacklist ath5k
Would it not make more sense to remove the ath5k module and related files, than to simply blacklist it? (Which frankly is what I did in order to get the correct driver to load.)
What do you mean? Kill it in /lib/modules? With that, our little friend is back by the next kernel-update. greetz, thomy -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2008-11-17 at 14:31 +0100, Thorsten Moorhoff wrote:
Hi Mike!
blacklist ath5k
Would it not make more sense to remove the ath5k module and related files, than to simply blacklist it? (Which frankly is what I did in order to get the correct driver to load.)
What do you mean? Kill it in /lib/modules? With that, our little friend is back by the next kernel-update.
No I mean get rid of all of it, un-install the rpm that provided it. 11.0 insisted on using that driver for my card, fortunately David had run through this problem and posted his solution, which I used, but along the way i got rid of the ath5k totally and did not bother blacklisting it, it has not come back. The downside is that with every kernel update, I have to re-make and re-install the driver module, the upside is that I get a working wireless connection for not too much trouble. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mike McMullin wrote:
On Mon, 2008-11-17 at 12:01 +0100, Thorsten Moorhoff wrote:
I now went trough your steps and after 'Hell --- and reboot' I got this: linux-zpoq:/home/andredo # lsmod | grep ath ath5k 118532 0 mac80211 220568 1 ath5k
in /etc/modprobe.d/blacklist
add
blacklist ath5k
reboot the system.
greetz
Would it not make more sense to remove the ath5k module and related files, than to simply blacklist it? (Which frankly is what I did in order to get the correct driver to load.)
Yes, I've had him rmmod it a couple of times, but I think the issue is with the mac80211 module that doesn't belong there either. Evidently that came from some other wireless package and when we get rid of both the mac80211 and the ath5k modules, I'll bet Andre will be able to load ath_pci. So Andre, Also rmmod and blacklist both the ath5k and mac80211 modules. Just stick the "blacklist" of both modules at the top of the file /etc/modprobe.d/blacklist like Mike suggests. It will look like this when you are done: # # $Id: blacklist 1568 2007-07-12 13:57:29Z zoz $ # # Listing a module here prevents modprobe from loading it via modalias (only # aliases from /lib/modules/*/modules.alias). You may still load it explicitely. # We blacklist some modules becaus they may harm on certain devices or they # prevent other modules from grabbing the device. # # Syntax: blacklist <driver name> # See 'man modprobe'. blacklist ath5k blacklist mac80211 ...lots more stuff below... I don't even want to play with modprobing, etc... Just reboot when you have them blacklisted and then work through the install and test steps again. Cat is now on the skinning table... -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin schreef:
Mike McMullin wrote:
On Mon, 2008-11-17 at 12:01 +0100, Thorsten Moorhoff wrote:
I now went trough your steps and after 'Hell --- and reboot' I got this: linux-zpoq:/home/andredo # lsmod | grep ath ath5k 118532 0 mac80211 220568 1 ath5k
in /etc/modprobe.d/blacklist
add
blacklist ath5k
reboot the system.
greetz
Would it not make more sense to remove the ath5k module and related files, than to simply blacklist it? (Which frankly is what I did in order to get the correct driver to load.)
Yes, I've had him rmmod it a couple of times, but I think the issue is with the mac80211 module that doesn't belong there either. Evidently that came from some other wireless package and when we get rid of both the mac80211 and the ath5k modules, I'll bet Andre will be able to load ath_pci.
So Andre,
Also rmmod and blacklist both the ath5k and mac80211 modules. Just stick the "blacklist" of both modules at the top of the file /etc/modprobe.d/blacklist like Mike suggests. It will look like this when you are done:
# # $Id: blacklist 1568 2007-07-12 13:57:29Z zoz $ # # Listing a module here prevents modprobe from loading it via modalias (only # aliases from /lib/modules/*/modules.alias). You may still load it explicitely. # We blacklist some modules becaus they may harm on certain devices or they # prevent other modules from grabbing the device. # # Syntax: blacklist <driver name> # See 'man modprobe'. blacklist ath5k blacklist mac80211 ...lots more stuff below...
I don't even want to play with modprobing, etc... Just reboot when you have them blacklisted and then work through the install and test steps again.
Cat is now on the skinning table...
After blacklisting ath5k and mac80211 lsmod | grep ath ath_rate_sample 31232 1 ath_pci 255168 0 wlan 265584 4 wlan_scan_sta, ath_rate_sample, ath_pci ath_hal 346896 3 ath_rate_sample, ath_pci and after configuring in Yast it worked!!! Thank you David, thank you very much, and also the others who contributed with small remarks. What have we done in effect more than blacklisting ath5k and mac80211? André den Oudsten -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andre den Oudsten wrote:
David C. Rankin schreef:
Mike McMullin wrote:
On Mon, 2008-11-17 at 12:01 +0100, Thorsten Moorhoff wrote:
I now went trough your steps and after 'Hell --- and reboot' I got this: linux-zpoq:/home/andredo # lsmod | grep ath ath5k 118532 0 mac80211 220568 1 ath5k
in /etc/modprobe.d/blacklist
add
blacklist ath5k
reboot the system.
greetz
Would it not make more sense to remove the ath5k module and related files, than to simply blacklist it? (Which frankly is what I did in order to get the correct driver to load.)
Yes, I've had him rmmod it a couple of times, but I think the issue is with the mac80211 module that doesn't belong there either. Evidently that came from some other wireless package and when we get rid of both the mac80211 and the ath5k modules, I'll bet Andre will be able to load ath_pci.
So Andre,
Also rmmod and blacklist both the ath5k and mac80211 modules. Just stick the "blacklist" of both modules at the top of the file /etc/modprobe.d/blacklist like Mike suggests. It will look like this when you are done:
# # $Id: blacklist 1568 2007-07-12 13:57:29Z zoz $ # # Listing a module here prevents modprobe from loading it via modalias (only # aliases from /lib/modules/*/modules.alias). You may still load it explicitely. # We blacklist some modules becaus they may harm on certain devices or they # prevent other modules from grabbing the device. # # Syntax: blacklist <driver name> # See 'man modprobe'. blacklist ath5k blacklist mac80211 ...lots more stuff below...
I don't even want to play with modprobing, etc... Just reboot when you have them blacklisted and then work through the install and test steps again.
Cat is now on the skinning table...
After blacklisting ath5k and mac80211
lsmod | grep ath ath_rate_sample 31232 1 ath_pci 255168 0 wlan 265584 4 wlan_scan_sta, ath_rate_sample, ath_pci ath_hal 346896 3 ath_rate_sample, ath_pci
and after configuring in Yast it worked!!!
Thank you David, thank you very much, and also the others who contributed with small remarks.
What have we done in effect more than blacklisting ath5k and mac80211?
André den Oudsten
There is a pretty long list starting with the kernel source, installing the compiler tools needed to build the ath_pci.ko module, a lot of testing to confirm the needed pieces of the puzzle, found the right madwifi rpms to work with the Atheros AR242x Wireless Adapter, and a whooooolllee lot more in the 54 email messages (minus a handful of duplicates) that comprise this thread. I think it has been a great, and at points painful, learning experience not only in madwifi, but in troubleshooting conflicting modules, etc. I'm glad you got it working Andre! That Cat is Skinned -- I told you he would end up that way.... -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin schreef:
Andre den Oudsten wrote:
David C. Rankin schreef:
Mike McMullin wrote:
On Mon, 2008-11-17 at 12:01 +0100, Thorsten Moorhoff wrote:
I now went trough your steps and after 'Hell --- and reboot' I got this: linux-zpoq:/home/andredo # lsmod | grep ath ath5k 118532 0 mac80211 220568 1 ath5k
in /etc/modprobe.d/blacklist
add
blacklist ath5k
reboot the system.
greetz
Would it not make more sense to remove the ath5k module and related files, than to simply blacklist it? (Which frankly is what I did in order to get the correct driver to load.)
Yes, I've had him rmmod it a couple of times, but I think the issue is with the mac80211 module that doesn't belong there either. Evidently that came from some other wireless package and when we get rid of both the mac80211 and the ath5k modules, I'll bet Andre will be able to load ath_pci.
So Andre,
Also rmmod and blacklist both the ath5k and mac80211 modules. Just stick the "blacklist" of both modules at the top of the file /etc/modprobe.d/blacklist like Mike suggests. It will look like this when you are done:
# # $Id: blacklist 1568 2007-07-12 13:57:29Z zoz $ # # Listing a module here prevents modprobe from loading it via modalias (only # aliases from /lib/modules/*/modules.alias). You may still load it explicitely. # We blacklist some modules becaus they may harm on certain devices or they # prevent other modules from grabbing the device. # # Syntax: blacklist <driver name> # See 'man modprobe'. blacklist ath5k blacklist mac80211 ...lots more stuff below...
I don't even want to play with modprobing, etc... Just reboot when you have them blacklisted and then work through the install and test steps again.
Cat is now on the skinning table...
After blacklisting ath5k and mac80211
lsmod | grep ath ath_rate_sample 31232 1 ath_pci 255168 0 wlan 265584 4 wlan_scan_sta, ath_rate_sample, ath_pci ath_hal 346896 3 ath_rate_sample, ath_pci
and after configuring in Yast it worked!!!
Thank you David, thank you very much, and also the others who contributed with small remarks.
What have we done in effect more than blacklisting ath5k and mac80211?
André den Oudsten
There is a pretty long list starting with the kernel source, installing the compiler tools needed to build the ath_pci.ko module, a lot of testing to confirm the needed pieces of the puzzle, found the right madwifi rpms to work with the Atheros AR242x Wireless Adapter, and a whooooolllee lot more in the 54 email messages (minus a handful of duplicates) that comprise this thread.
I think it has been a great, and at points painful, learning experience not only in madwifi, but in troubleshooting conflicting modules, etc. I'm glad you got it working Andre!
That Cat is Skinned -- I told you he would end up that way....
We, Dutchmen say: That pig is washed!! André -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
David C. Rankin schreef:
Andre den Oudsten wrote:
ls -al /usr/src/linux
I have made good notice of that!!!
André
Good Luck ;-)
We spent sunday with our oldest son and his family, as we had promised before your last mail. I now went trough your steps and after 'Hell --- and reboot' I got this: linux-zpoq:/home/andredo # lsmod | grep ath ath5k 118532 0 mac80211 220568 1 ath5k
André
$%#D^$#EFE$%!!! Alright, now we have to figure out what the module is and where it is coming from. Do this, as root rmmod mac80211 && depmod -A A quick google search suggests the mac80211 module is: 1. They are modules (drivers) for certain Broadcom wireless chipsets, and a generic wireless framework, respectively. 2. Intel linux wireless??? see: http://intellinuxwireless.org/?p=mac80211&n=howto-mac80211 I think you may have stumbled across the last conflicting driver holding us up. It looks like you must have installed some other wireless package somewhere in the past that loaded the mac80211 module and I didn't pick up on it being some separate module that could be causing us problems. Kill it! with the above, and then go rerun the steps in my last email. We are slowly field dressing the cat as we speak. Skinning will start shortly. -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 14 Nov 2008 10:28:48 -0600, you wrote:
zypper in gcc43-gij-32bit libgcc43 gcc43-objc gcc43-obj-c++ gcc-gij gcc43-c++ [...]
Overkill! The Java and Objective C stuff is totally unnecessary, at least for madwifi! Therefore a simple zypper in gcc gcc-c++ gcc-info libstdc++-devel should be all that's needed. Everything else is pulled in via dependencies. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Philipp Thomas wrote:
On Fri, 14 Nov 2008 10:28:48 -0600, you wrote:
zypper in gcc43-gij-32bit libgcc43 gcc43-objc gcc43-obj-c++ gcc-gij gcc43-c++ [...]
Overkill! The Java and Objective C stuff is totally unnecessary, at least for madwifi! Therefore a simple
zypper in gcc gcc-c++ gcc-info libstdc++-devel
should be all that's needed. Everything else is pulled in via dependencies.
Philipp
I wasn't taking any chances ;-) -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Andre den Oudsten
-
David C. Rankin
-
Mike McMullin
-
Philipp Thomas
-
Thorsten Moorhoff