LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-27-2006, 07:29 PM   #1
pitchblack
LQ Newbie
 
Registered: Oct 2005
Posts: 17

Rep: Reputation: 0
Angry I need help installing madwifi


I am trying to get the madwifi on my machine the current kernal that I am using is 2.6.15-1.2054_FC5smp. The laptop is a N5010 Fujitsu with Atheros chipset for wifi and has Fedora 5. I am using the dag/freshrpms/dries/newrpms repository and madwifi isn't there. I noticed that it is in other repositories but I was recommended not to use them from here: http://stanton-finley.net/fedora_cor...s.html#Warning

The steps that I am trying to fallow to compile madwifi are from here http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

1st Set all your MadWifi devices down:
2nd Remove the old modules.
3rd Build MadWifi
4th install MadWifi

I can't build because when I do the instuction # make
I get the fallowing error:


[root@localhost madwifi]# make
/bin/sh: line 0: cd: /lib/modules/2.6.15-1.2054_FC5smp/build: No such file or directory
Makefile.inc:89: *** /lib/modules/2.6.15-1.2054_FC5smp/build is missing, please set KERNELPATH. Stop.

What do I do now???
 
Old 08-27-2006, 07:49 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You need the kernel-devel.*.rpm that matches your current rpm installed kernel.
To list what you have.
rpm -qa | grep kernel
Should see something like this based on info above.
kernel-2.6.15-1.2054_FC5smp
kernel-devel-2.6.15-1.2054_FC5smp

Then you should be able to build madwifi

Also you could find and rpm for your kernel version at the http://www.atrpms.net/
Even though mention in the stanley doc, just getting the file manually instead of using a updater like yum or apt should cause no issues.
To install as root ' rpm -ivh madwifi*.rpm '

Lots of other post here on madwifi under fedora with more detail. Search here and google for more info as well.

Brian1
 
Old 08-27-2006, 08:30 PM   #3
pitchblack
LQ Newbie
 
Registered: Oct 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Still Problems with madwifi

First, I did rpm -qa | grep kernel like you said
kernel-smp-2.6.15-1.2054_FC5
kernel-smp-2.6.17-1.2174_FC5
kernel-2.6.17-1.2174_FC5
kernel-module-ntfs-2.6.15-1.2054_FC5smp-2.1.26-0.rr.10.0


As you can see it looks different than what you told me to expect.

Then I did yum install kernel-devel and then I did rpm -qa | grep kernel
kernel-smp-2.6.15-1.2054_FC5
kernel-smp-2.6.17-1.2174_FC5
kernel-2.6.17-1.2174_FC5
kernel-devel-2.6.17-1.2174_FC5
kernel-module-ntfs-2.6.15-1.2054_FC5smp-2.1.26-0.rr.10.0

I then tried to make the file and it wouldn't make
[root@localhost madwifi]# make
/bin/sh: line 0: cd: /lib/modules/2.6.15-1.2054_FC5smp/build: No such file or directory
Makefile.inc:89: *** /lib/modules/2.6.15-1.2054_FC5smp/build is missing, please set KERNELPATH. Stop.


Please help me??
 
Old 08-28-2006, 04:32 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Which kernel were you under at the time. You only have the kernel-devel for the 2174 and appears you are running kernel 2054 at the time. Unless you specify a different source to use it will see what you are running and use that source.
To see running kernel version ' uname -r ' command.

Brian1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error installing madwifi drivers. Kaao Linux - Desktop 0 08-14-2006 07:42 PM
installing madwifi from usb - Damn SL jakamaja Linux - Wireless Networking 1 06-11-2006 10:02 PM
Installing Madwifi...cant find .config Quiltface Linux - Wireless Networking 3 03-31-2006 02:22 PM
Error installing madwifi hotwired24 Linux - Wireless Networking 0 08-25-2004 03:28 AM
Installing Madwifi driver vae Linux - Wireless Networking 1 08-16-2004 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration