LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2007, 11:34 AM   #1
narcispy
LQ Newbie
 
Registered: Jun 2007
Posts: 27

Rep: Reputation: 15
kernelpath problems with madwifi


Hey everyone, I'm like brand new to linux I have installed the newest Fedora 7 x64 on my computer and it looks wonderful but I can't really do jack with it until I have my wireless working on it. I have one of those D-link wireless pci cards with the antenna ag dwl-ag530 which is supposed to work pretty well with the madwifi drivers. I have been having problems with them though you are just supposed to unzip the directory then run the make command but it says the kernel path is wrong or missing, yet I can browse to that path in my directory and the build file in the kernel is there. I can't figure out why it won't run after the fact is pointing to the correct location. I wish I could remember the correct path for you however I have to boot up to Windows just to post this since wireless doesn't work. Um does anyone know how to fix this, maybe I need to install a certain package from the cd again? Or could it be it's not working since I'm using the 64bit version?
 
Old 06-17-2007, 12:19 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: 62
Just to see what is installed type this command and post the output.
rpm -qa | grep kernel

Looking for kernel-devel-****** that matches the current running kernel version. If not installed and using the default installed kernel then on the install cd there is a kernel-devel-*********.rpm file that matches the name on the running kernel. To install you need to be root. To do that is type ' su ' and enter root's password. Now goto the location of the rpm and run this command
rpm -ivh kernel-devel*.rpm

If more than one exist then use the name specifically.

Now build your madwifi. Now if it builds then remember if you upgrade the kernel then you need to go through this process again.

Brian
 
Old 06-17-2007, 12:38 PM   #3
narcispy
LQ Newbie
 
Registered: Jun 2007
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Brian1
Just to see what is installed type this command and post the output.
rpm -qa | grep kernel

Looking for kernel-devel-****** that matches the current running kernel version. If not installed and using the default installed kernel then on the install cd there is a kernel-devel-*********.rpm file that matches the name on the running kernel. To install you need to be root. To do that is type ' su ' and enter root's password. Now goto the location of the rpm and run this command
rpm -ivh kernel-devel*.rpm

If more than one exist then use the name specifically.

Now build your madwifi. Now if it builds then remember if you upgrade the kernel then you need to go through this process again.

Brian
Yeah I'm definately looging in as root, I'll let you know what that says in a bit
 
Old 06-17-2007, 03:29 PM   #4
narcispy
LQ Newbie
 
Registered: Jun 2007
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Brian1
Just to see what is installed type this command and post the output.
rpm -qa | grep kernel

Looking for kernel-devel-****** that matches the current running kernel version. If not installed and using the default installed kernel then on the install cd there is a kernel-devel-*********.rpm file that matches the name on the running kernel. To install you need to be root. To do that is type ' su ' and enter root's password. Now goto the location of the rpm and run this command
rpm -ivh kernel-devel*.rpm

If more than one exist then use the name specifically.

Now build your madwifi. Now if it builds then remember if you upgrade the kernel then you need to go through this process again.

Brian
Okay, here we go

[root@localhost ~]# rpm -qa | grep kernel
kernel-2.6.21-1.3194.fc7

I then installed the kernel devel off the cd the 64bit one and then I attempted to run the make process but it didn't work either. Just said the kernel path was missing this time. Any suggestions?
 
Old 06-17-2007, 08:08 PM   #5
narcispy
LQ Newbie
 
Registered: Jun 2007
Posts: 27

Original Poster
Rep: Reputation: 15
K nevermind i figured it out. I just installed ubuntu instead I liked the look of the interface better and hey it came with madwifi preinstalled. I'm on the box right now though wireless, only problem is I'm using off of the cd atm but for some reason when I try to boot off of hd after installation it doesn't display because of the screen resolution, however I cannot edit the file that changes the resolution in /etc/x11/xorg.conf considering I'm not logged in as root using the cd and theres no way to do so. I'm a bit baffled to what I can do to get this thing working correctly. Any suggestions!?
 
Old 06-18-2007, 04:37 PM   #6
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: 62
This is one of the major issues for Fedora even back into the Redhat 9 and early. They just never install the kernel source during the install. Things would go easier for new users of this branch of linux.

Glad to see you have it working and happy with it.
Brian
 
Old 06-18-2007, 08:35 PM   #7
narcispy
LQ Newbie
 
Registered: Jun 2007
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Brian1
This is one of the major issues for Fedora even back into the Redhat 9 and early. They just never install the kernel source during the install. Things would go easier for new users of this branch of linux.

Glad to see you have it working and happy with it.
Brian

Yea except now I am having issues with Ubuntu working properly with my ati card drivers wont intialize i'm still using the stock ones off the cd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Madwifi Problems wc5b Mandriva 1 11-11-2006 05:31 PM
FC6 - madwifi problems Thoddy Fedora 3 11-07-2006 06:13 PM
Madwifi Problems OPP Debian 1 05-22-2006 06:22 PM
MadWIFI compilation problems Haraldsh Debian 0 01-10-2005 12:40 PM
MADWifi compile problems MysteriousRevC Linux - Newbie 2 08-28-2004 03:35 PM


All times are GMT -5. The time now is 03:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration