Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > dwl-g520 madwifi troubles

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-18-2007   #1 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 7
dwl-g520 madwifi troubles

I've been trying to get my wireless card to work with fc6 for the last few days. I tried the rpm from the madwifi site and it fives me this error:

Missing Dependency: madwifi-kmdl-1:0.9.3-31_r1865.fc6.at is needed by package madwifi

Google doesn't seem to know anything about that one. I there seems to be packages for x_86_64 and everything but i386 (which as far as I know is what I'm using. Does someone know how to check that?)

So, I've tried compiling it from the source and it gives me this error:

/bin/sh: line 0: cd: /lib/modules/2.6.18-1.2869.fc6/build: No such file or directory
Makefile.inc:89: *** /lib/modules/2.6.18-1.2869.fc6/build is missing, please set KERNELPATH. Stop.

That's kind of where I'm at right now. Any help would be great. Thanks
HectorScout is offline  


Reply With Quote
Old 01-18-2007   #2 (permalink)
Just Joined!
 
namelessone's Avatar
 
Join Date: May 2006
Posts: 62
I'm not a linux guru, but I think your problem is that you need the kernel headers. I think you need these in order to make the madwifi kernel module.
namelessone is offline   Reply With Quote
Old 01-18-2007   #3 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 7
So, I've been thinking that the problem is that I don't have the source and the headers for my kernel. Then that brings up the question of how to get them. I'm not sure of how to get them or where to put them or where to point the KERNELPATH.
HectorScout is offline   Reply With Quote
Old 01-18-2007   #4 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 7
I just looked around for a minute and found yum install kernel-devel which I think installed the source and headers for me? There's some new stuff in usr/src/ , namely a kernel folder with what appears to be a kernel file in it? When I try to compile it gives the same error. If I try to manually set the kernel path KERNELPATH=/usr/src it gives this error:

[root@localhost madwifi-0.9.2.1]# make KERNELPATH=/usr/src/
./kernelversion.c:13:30: error: linux/utsrelease.h: No such file or directory
Makefile.inc:113: *** KERNELCONF: /usr/src//.config does not exist.. Stop.

this is the same error I got when I pointed it anywhere else before I installed kernel-devel. I think I'm just pointing it to the wrong place. Any help?
HectorScout is offline   Reply With Quote
Old 01-19-2007   #5 (permalink)
Just Joined!
 
Join Date: Jan 2007
Location: Planet Earth
Posts: 10
Smile ndiswrapper

I tried the approach you are taking but gave up. I can't even get the kernel to compile in any Fedora installation?? Not sure what is wrong here. I downloaded
ndiswrapper and the windows drivers for the card though and all seems well.
dieckert is offline   Reply With Quote
Old 01-19-2007   #6 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,109
To install kernel sources in Fedora try these steps.
CLICK HERE! =-}
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is online now   Reply With Quote
Old 01-19-2007   #7 (permalink)
Linux Guru
 
Juan Pablo's Avatar
 
Join Date: Mar 2006
Location: /home/south_america/ecuador/quito
Posts: 2,060
Send a message via MSN to Juan Pablo
Quote:
I tried the approach you are taking but gave up. I can't even get the kernel to compile in any Fedora installation?? Not sure what is wrong here. I downloaded
ndiswrapper and the windows drivers for the card though and all seems well.
You don't need ndiswrapper with Atheros cards
__________________
Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940

Don't PM me with questions, instead post in the forums
Juan Pablo is offline   Reply With Quote
Old 01-19-2007   #8 (permalink)
Just Joined!
 
Join Date: Jan 2007
Posts: 7
Quote:
Originally Posted by MikeTbob
To install kernel sources in Fedora try these steps.
CLICK HERE! =-}

Ok, I followed those instructions and everything went fine. So, I'm pretty sure I've got the kernel source. The problem now is that I'm still not sure what to set my KERNELPATH to. It's still giving me the same errors. If I tell it to make without specifying the KERNELPATH it still gives me this:

/bin/sh: line 0: cd: /lib/modules/2.6.18-1.2869.fc6/build: No such file or directory
Makefile.inc:89: *** /lib/modules/2.6.18-1.2869.fc6/build is missing, please set KERNELPATH. Stop.

and no matter what I set the KERNELPATH to it gives me this sort of thing:

[root@localhost madwifi-0.9.2.1]# make KERNELPATH=/usr/src/redhat/BUILD/
./kernelversion.c:13:30: error: linux/utsrelease.h: No such file or directory
Makefile.inc:113: *** KERNELCONF: /usr/src/redhat/BUILD//.config does not exist.. Stop.

I'm assuming I just don't know where to point it to. Where should it be pointing to?
HectorScout is offline   Reply With Quote
Old 01-20-2007   #9 (permalink)
Linux Guru
 
AlexK's Avatar
 
Join Date: Feb 2005
Location: Earth
Posts: 3,380
Could you post the output from this command:
Code:
ls -l /usr/src/linux
it may just be that the symlink to the kernel source isn't set up properly.
__________________
Life is complex, it has a real part and an imaginary part.
AlexK is offline   Reply With Quote
Old 01-20-2007   #10 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,109
You need to add the kernel version to that command, like this:
make KERNELPATH=/usr/src/redhat/BUILD/2.6.18-1.2869.fc6
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:07 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2