You are not logged in.

#1 2011-08-22 14:45:41

t42
Member
Registered: 2011-08-22
Posts: 6

wifi installation/firmware from AUR cant be maked

Hi,
i have some problems with my wifi-firmware. As I have a Thinkpad T42, i need the madwifi driver. Unfortunately, i cant get him by pacman -S, so i trietd to make him using the AUR tarball. Now, there come up some dependency errors. Some of the I could solve already. But i do not manage to get madwifi-utils-svn maked/compiled.

This packed is needed by madwifi, but im really not able to nstall it. After I unzipped madwifi-utils-svn, i typed "makepkg". After 1-2 sec. there appears the error:

" ==> ERROR: A failure occured in build().
            Aborting... "

Could anyone help me with this? Thanks!

Offline

#2 2011-08-22 14:57:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: wifi installation/firmware from AUR cant be maked

Just this error, nothing else is printed before?
Have you tried http://aur.archlinux.org/packages.php?ID=49710 ? madwifi-utils-svn are needed for madwifi-svn, which is for stock arch 2.6 kernel. Are you still using kernel 2.6?

Last edited by karol (2011-08-22 14:58:34)

Offline

#3 2011-08-22 15:04:35

t42
Member
Registered: 2011-08-22
Posts: 6

Re: wifi installation/firmware from AUR cant be maked

Well, before this error, the bash sys:

==> SVN checkout done or server timeout
==>Starting make...
/bin/sh: line 0: cd: /lib/modules/3.0-ARCH/build: No such file or directory
Makefile.inc:66: *** /lib/modules/3.0-ARCH/build is missing, please set KERNELPATH. Stop.

==> ERROR: (...)

Yes, i forgot the version...im sing 3.0. Could this have caused the error?

Offline

#4 2011-08-22 15:08:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: wifi installation/firmware from AUR cant be maked

Do you have linux-headers installed?

Offline

#5 2011-08-22 15:10:24

t42
Member
Registered: 2011-08-22
Posts: 6

Re: wifi installation/firmware from AUR cant be maked

sorry, im not sure (im quite a beginner in arch^^). Should I type pacman -S linux-headers?

Offline

#6 2011-08-22 15:11:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: wifi installation/firmware from AUR cant be maked

t42 wrote:

sorry, im not sure (im quite a beginner in arch^^).

You should read the wiki on how to use AUR..

t42 wrote:

Should I type pacman -S linux-headers?

Yes, but you need to understand why it's needed.
Please use http://aur.archlinux.org/packages.php?ID=49710 if you're using linux 3 kernel.


Edit: Have you read https://bbs.archlinux.org/viewtopic.php?id=124086 ?

Last edited by karol (2011-08-22 15:13:27)

Offline

#7 2011-08-22 15:17:44

t42
Member
Registered: 2011-08-22
Posts: 6

Re: wifi installation/firmware from AUR cant be maked

tanks for the links, i'll read this now

Offline

#8 2011-08-22 15:27:03

t42
Member
Registered: 2011-08-22
Posts: 6

Re: wifi installation/firmware from AUR cant be maked

okay, i installed linux-headers by pacman -S and the mawifi packet you sugested. Now, there is a dependency error:

"Missing dependencies:
linux-headers<3.0.2"

So, my linux-headers packet is to new (3.0.3-1). Is there any way to get the older one?

Offline

#9 2011-08-22 15:38:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: wifi installation/firmware from AUR cant be maked

Offline

#10 2011-08-22 16:17:55

t42
Member
Registered: 2011-08-22
Posts: 6

Re: wifi installation/firmware from AUR cant be maked

Thanks, wifi works now wink. Is there any possibility to activate the wlan LED with madwifi/ath driver?

And, another question:

To save energy, i want to be able to deaktivate the wifi controller without restart. What would the best way to do this? ip link set ath0 down?

Offline

#11 2011-08-22 16:24:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: wifi installation/firmware from AUR cant be maked

I see

iwconfig wlan0 power on

to enable Wi-Fi power management, but I have no idea what that means.
https://wiki.archlinux.org/index.php/Wireless_Setup

No idea about the LED either.

Offline

#12 2011-08-22 19:21:40

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: wifi installation/firmware from AUR cant be maked

I thought I read a while ago madwifi is deprecated, and the necessary drivers are in the official kernel now.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#13 2011-08-22 19:44:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: wifi installation/firmware from AUR cant be maked

.:B:. wrote:

I thought I read a while ago madwifi is deprecated, and the necessary drivers are in the official kernel now.

That's right, I posted a link to such discussion a couple hours ago.

Last edited by karol (2011-08-22 19:45:26)

Offline

#14 2011-08-22 23:01:51

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: wifi installation/firmware from AUR cant be maked

t42 wrote:

i have some problems with my wifi-firmware. As I have a Thinkpad T42, i need the madwifi driver.

The year 2007 called, it wants its wifi driver back.

On a serious note: No, you don't. madwifi has been replaced years ago, development has stalled years ago and you definitely don't need it.

Offline

Board footer

Powered by FluxBB