Mailinglist Archive: opensuse (1438 mails)

< Previous Next >
Re: [opensuse] Installing Madwifi
  • From: Andre den Oudsten <AdenOudsten@xxxxxx>
  • Date: Fri, 14 Nov 2008 12:49:30 +0100
  • Message-id: <491D65CA.2010901@xxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups