Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to get madwifi to compile on FC5
#1

Hey guys,

 

I had to do a clean install of Fedora Core 5 and Im trying to compile the madwifi-ng drivers but keep getting

 



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




 

I tried a bunch of stuff and still no luck. Any help will be greatly appreciated.

 

Thanks

Brian

Reply
#2

Hi,

 

no need to compile mad-wifi you can install it wil YUM:

 

first you need to install the livna repo issue the following:

 



Code:
rpm -ivh http://rpm.livna.org/livna-release-5.rpm




 

Once thats done update your repos and install mad-wifi as follows:

 



Code:
yum update
yum install madwifi




 

All done

Reply
#3

Still no luck yet. here's what i get. Any help?

 

yum install madwifi

Loading "installonlyn" plugin

Setting up Install Process

Setting up repositories

livna [1/4]

livna 100% |=========================| 951 B 00:00

core [2/4]

core 100% |=========================| 1.1 kB 00:00

updates [3/4]

updates 100% |=========================| 951 B 00:00

extras [4/4]

extras 100% |=========================| 1.1 kB 00:00

Reading repository metadata in from local files

Parsing package install arguments

Resolving Dependencies

--> Populating transaction set with selected packages. Please wait.

---> Downloading header for madwifi to pack into transaction set.

madwifi-0.0.0.20060317-4. 100% |=========================| 8.1 kB 00:00

---> Package madwifi.i386 0:0.0.0.20060317-4.lvn5 set to be updated

--> Running transaction check

--> Processing Dependency: kmod-madwifi >= 0.0.0.20060317 for package: madwifi

--> Restarting Dependency Resolution with new changes.

--> Populating transaction set with selected packages. Please wait.

---> Downloading header for kmod-madwifi to pack into transaction set.

kmod-madwifi-0.0.0.200603 100% |=========================| 6.2 kB 00:00

---> Package kmod-madwifi.i686 0:0.0.0.20060317-4.2.6.16_1.2107_FC5 set to be updated

--> Running transaction check

--> Processing Dependency: kernel-i686 = 2.6.16-1.2107_FC5 for package: kmod-madwifi

--> Finished Dependency Resolution

Error: Missing Dependency: kernel-i686 = 2.6.16-1.2107_FC5 is needed by package kmod-madwifi

[root@localhost ~]#

Reply
#4

Hi,

 

Try updating all your packages:

 



Code:
yum update




Reply
#5

I did that in your previous post. I remember when I got the drivers to work in FC3 my friend some how copied the kernel source to a folder and that fixed this problem, but I don't remember how. Not sure if that helps...

 

Well after restarting there was a new kernel in the boot list. Loaded that up and tried it. It finally compiled!!! Sorry for being a dumbass, but thanks for your help... Might need it again!

Reply
#6
I finally got it to work! But how to I get it to load the driver each time the system boots, cause after I reboot I lose the device?
Reply
#7
Well all is good finally... Figured out the boot problem. Thanks for your help I greatly appreciate it!!! It saves me hours of trying to figure it out!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)