You are not logged in.

#1 2009-04-23 10:38:42

Snoop1990
Member
Registered: 2008-09-09
Posts: 13

Trying to install Madwifi

Hey,
just another stupid newbe question:

I grabed madwifi from a local mirror but when I try to load it with

modprobe ath_pci

I get

FATAL: Could not load /lib/modules/2.6.25-ARCH/modules.dep: No such file or directory

The point is I seem to be newer than the Update my files are located in /lib/modules/2.6.29-ARCH

Thanks for your help.

Offline

#2 2009-04-23 11:16:42

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Trying to install Madwifi

Madwifi (any kernel modules for that matter) need to be built against the current kernel (which is in your case 2.6.29). Whenever you update kernel, you need to update all the kernel module packages, in particular madwifi. I'm pretty sure that madwifi in the repos match the kernel26 package - so just update not from a local mirror, but from one of the normal arch mirrors.

Offline

#3 2009-04-24 13:01:33

Snoop1990
Member
Registered: 2008-09-09
Posts: 13

Re: Trying to install Madwifi

picture1gro.png

Mmh I tried to update to the latest Archlinux build but the problem is as follow:

Madwifi comes with the latest Kernel, but modprobe does not recognize the new kernel (as it is booted from the old kernel) but there has to be an configuration file where I can edit the location of the kernel ...

Offline

#4 2009-04-24 13:09:38

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Trying to install Madwifi

This sounds a kind of weird. Anyway, if you upgrade the kernel and modules, you need to reboot (since the modules that were installed for the currently running older kernel have been updated to match the new kernel).

Offline

#5 2009-04-24 14:02:42

Snoop1990
Member
Registered: 2008-09-09
Posts: 13

Re: Trying to install Madwifi

Ok this is working now ... also I do not understand it, because with the other kernel 2.6.25-ARCH the update did not work ... anyway the next problem is xfce:

Can we talk about that here ? if so this is my error

/usr/bin/startxfce4: Starting X server
/usr/bin/startxfce4: line 76: exec: xinit: not found

Offline

#6 2009-04-24 15:45:02

Snoop1990
Member
Registered: 2008-09-09
Posts: 13

Re: Trying to install Madwifi

I noticed further issues, so lets get back to the Madwifi thing:

I tried to test it and during the boot it just get time out ...
also my chipset (MacbookPro2,1) is supported http://wireless.kernel.org/en/users/Drivers/ath9k

Offline

#7 2009-04-24 19:30:56

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Trying to install Madwifi

Snoop1990 wrote:

Ok this is working now ... also I do not understand it, because with the other kernel 2.6.25-ARCH the update did not work ... anyway the next problem is xfce:

Can we talk about that here ? if so this is my error

/usr/bin/startxfce4: Starting X server
/usr/bin/startxfce4: line 76: exec: xinit: not found

xinit is a part of 'xorg-xinit' package, so I guess that's what you're missing.

Offline

#8 2009-04-24 19:34:56

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Trying to install Madwifi

Snoop1990 wrote:

I noticed further issues, so lets get back to the Madwifi thing:

I tried to test it and during the boot it just get time out ...
also my chipset (MacbookPro2,1) is supported http://wireless.kernel.org/en/users/Drivers/ath9k

Well you need to make up your mind whether you want to use madwifi driver of the ath9k driver. ath9k is a part of the kernel26 package itself, so you don't need to install anything extra, and moreover it seems to me that it gets autoloaded by udev during the booting. Then it probably claims the device, so that when you try to load the madwifi driver, it doesn't happen properly. So:
1) if you want to use ath9k (which I would recommend if it works fine), just don't try to load the madwifi driver (or even uninstall the madwifi package)
2) if you want to use madwifi drivers, then you need to blacklist ath9k in the MODULES list in /etc/rc.conf, and add the madwifi driver to modules (ie MODULES=(... !ath9k ath_pci ...))

Offline

#9 2009-04-25 06:55:28

Snoop1990
Member
Registered: 2008-09-09
Posts: 13

Re: Trying to install Madwifi

Things going there way:

I had to install the xorg package separately but now the graphical user interface is at least booting but it is unusable poping up with this error:
picture1sux.png

about the wifi support: ... sorry but I do not know how to uninstall madwifi, can you tell me ?

and there is another problem, I can not get ssh working ...

Offline

#10 2009-04-25 07:54:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Trying to install Madwifi

Uninstall madwifi using pacman, just like any other package.

Please start new threads for other issues - but only after searching thoroughly to make sure they haven't already been covered.

(Heavy hint - all the issues you have raised in this thread have already been covered).

Offline

Board footer

Powered by FluxBB