You are not logged in.

#1 2007-05-16 20:29:45

ArchPad
Member
Registered: 2007-03-26
Posts: 81

Madwifi not building, and Pacman's madwifi doesn't do the trick.

I tried to add the kernel-headers, but pacman tells me that they're up to date.

Then I downloaded the madwifi tarball, unpacked it, and read the install for who knows how many times (different distros, you know. I've been over this quite a bit)

Then, like always, I entered "make" and got this message:

/bin/sh: line 0: cd: /lib/modules/2.6.20-ARCH/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.20-ARCH/build is missing, please set KERNELPATH.  Stop.

Where do I go from here? I then downloaded pacman's madwifi (following the Wiki's how-to) and still can't load ath_pci, the module I need. Here's the error I get:

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

I get the same error when including my country code as advised by the wiki. If it's at all important, I couldn't find the kernelsource in the repos. But as far as I know, madwifi's modules only require the headers. Is this something with my build tools instead? I'm used to using build-essential with Debian-based distros. Is there something similar not installed?

Offline

#2 2007-05-16 21:49:38

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Madwifi not building, and Pacman's madwifi doesn't do the trick.

You don't need the sources to be installed, just headers should be needed.

I'd like to see the output of uname -r. Did you recently update your system to 2.6.21, and not reboot? Since i see your compilation still uses 2.6.20 kernel, and 2.6.21 is the current one.

Why not using pacman -S madwifi?

// STi

Last edited by STiAT (2007-05-16 21:50:03)


Ability is nothing without opportunity.

Offline

#3 2007-05-17 12:20:14

ArchPad
Member
Registered: 2007-03-26
Posts: 81

Re: Madwifi not building, and Pacman's madwifi doesn't do the trick.

Arch is stable enough that I hadn't rebooted since installing! However, after a reboot, after which I did a make/make install as root,

modprobe ath_pci

doesn't seem to be doing the job. I'm not sure, as iwconfig returns wifi0 and ath0 (which is expected) but the wireless light isn't blinking, and I can't really check for signals. For some reason, I can't use KNetworkManager because it crashes before fully launching. I'm trying to resolve this on my own, but I may make a post about Knetworkmanager.

Anyway, one problem solved. Thanks!

Offline

#4 2007-05-17 14:00:13

Driadan
Member
From: Madrid (Spain)
Registered: 2006-03-24
Posts: 36
Website

Re: Madwifi not building, and Pacman's madwifi doesn't do the trick.

do a

dmesg | tail

after modprobing, it should give you some pointers on what's going wrong.

Anyway, I'm using an atheros on amd64 using pacman's package and it works.


I see connected people - The seventh sense

Offline

Board footer

Powered by FluxBB