LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-20-2007, 02:18 PM   #1
Amersault
LQ Newbie
 
Registered: Feb 2007
Location: Sunny SoCal
Distribution: Fedora Core 6
Posts: 8

Rep: Reputation: 0
FC 6 vs Netgear W511T wireless adapter


Not sure if this has already been posted in another thread. I've recently installed FC 6 on a Dell Inspiron 5000. In a Windows environment, my old Netgear W511T wireless adapter works fine, however, I'm having trouble getting it recognized by FC6.

Already downloaded MadWifi and extracted the folder to the desktop. Followed the instructions per the MadWifi site but ran into an error (see outlined below).

** In the MadWifi directory, execute the following scripts to remove the current modules from your system and its memory.
cd scripts
./madwifi-unload.bash
./find-madwifi-modules.sh /lib/modules/
cd ..
** Build MadWifi
make
>> Here is where I get the error. Syntax is -
/bin/sh: line 0: cd: /lib/modules/2.6.181.2789.fc/build: No such file
or directory

Makefile.inc:89: *** /lib/modules/2.6.18-1.2789.fc/build is missing,
please set KERNELPATH. Stop.
Help? (Please bear with me if the solution is simple - still new to Linux, thanks...)
 
Old 02-20-2007, 04:52 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
This is common on the Redhat/Redhat clone distro families like Fedora.
Have you installed the kernel source files?

The are in rpm package format called kernel-devel-******.rpm. The ***** is the current running kernel version you are running.
To see if you have it run the command ' rpm -qa | grep kernel '. Post output.
Now you will see one called kernel and one should be called kernel-devel.

Now if you do not have it you need to install it.
First if you are using the default installed kernel from the install CD then the kernel-devel-******.rpm is on the CD. To install run the command as root ' rpm -ivh kernel-devel*.rpm '

Now if you have an upgraded kernel then you need to go where you got your current kernel and get the match version kerenl-devel-*****.rpm file and install the same as above.

If you installed using yum then you can use yum to download and install the rpm for you.

Now you will be able to compile the madwifi source files. Remember if you upgrade the kernel you will need to get the matching kernel-devel rpm to the new kernel and recompile the source madwifi again.

madwifi when compiled will only work on that kernel.

Brian
 
Old 02-21-2007, 11:47 PM   #3
Amersault
LQ Newbie
 
Registered: Feb 2007
Location: Sunny SoCal
Distribution: Fedora Core 6
Posts: 8

Original Poster
Rep: Reputation: 0
Hi, Brian - thanks for your reply. Ran,

** rpm -qa | grep kernel
kernel-headers-2.6.18-1.2798.fc6
kernel-2.6.18-2798.fc6
Checked CD1 and it had 2 versions of kernel-devel listed -
kernel-devel-2.6.18-1.2798.fc6.i586.rpm
kernel-devel-2.6.18-1.2798.fc6.i686.rpm
Tried installing the i586 version through the desktop and then went back to terminal and ran -

** rpm -ivh kernel-devel*.rpm

Got this error instead -
error: File not found by glob: kernel-devel*.rpm
Any suggestions?
 
Old 02-22-2007, 04:34 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
Were you in the same directory as where the kernel-devel file was?
Since there is two and you do the command at the location where both are then you need to define the name further.
rpm -ivh kernel-devel-2.6.18-1.2798.fc6.i586.rpm

Brian

Last edited by Brian1; 02-22-2007 at 04:36 PM.
 
Old 02-22-2007, 10:30 PM   #5
Amersault
LQ Newbie
 
Registered: Feb 2007
Location: Sunny SoCal
Distribution: Fedora Core 6
Posts: 8

Original Poster
Rep: Reputation: 0
guess i wasn't in the same directory. i copied both kernel-devel*.rpm files to the root home directory and extracted them in Desktop mode.

then went back to terminal just to be sure and ran -

** -ivh kernel-devel-2.6.18-1.2798.fc6.i586.rpm
warning: kernel-devel-2.6.18-1.2798.fc6.i586.rpm: HeaderV3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... 100%
package kernel-devel-2.6.18-1.2798.fc6. is already installed
same response when running the -ivh line for the kernel-devel*i686.rpm.

since the RPMs seemed to already be installed, i tried going through the MadWifi steps again in the Madwifi directory.

** cd scripts
** ./madwifi-unload.bash
** ./find-madwifi-modules.sh /lib/modules/
** cd ..
** make

>> ran into this error -
/bin/sh: line 0: cd: /lib/modules/2.6.18-1.2798.fc6/build: No such file or directory
Makefile.inc.:89: ***/lib/modules/2.6.18-1.2798.fc6/build is missing, please set KERNELPATH. Stop.
hmmm...
 
Old 02-23-2007, 03:36 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: 65
Post output from the following commands.
uname -r
ls /lib/modules/`uname -r`/build
ls /usr/src/redhat

Brian
 
Old 02-23-2007, 11:05 PM   #7
Amersault
LQ Newbie
 
Registered: Feb 2007
Location: Sunny SoCal
Distribution: Fedora Core 6
Posts: 8

Original Poster
Rep: Reputation: 0
** uname -r
2.6.18-1.2798.fc6
** ls /lib/modules/`uname -r`/build
ls: /lib/modules/`uname -r`: No such file or directory
ls: /build: No such file or directory
** ls /usr/src/redhat
ls: /usr/src/redhat: No such file or directory
 
Old 02-24-2007, 01:33 PM   #8
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
My miss take.
ls /usr/src
ls /lib/modules
ls /lib/modules/Put_Kernel_version_listed_from_above_command_here

Brian
 
Old 02-26-2007, 07:34 AM   #9
Amersault
LQ Newbie
 
Registered: Feb 2007
Location: Sunny SoCal
Distribution: Fedora Core 6
Posts: 8

Original Poster
Rep: Reputation: 0
hope this helps -

ls /usr/src
kernels
ls /lib/modules
2.6.18-1.2798.fc6
ls /lib/modules/2.6.18-1.2798.fc6
build modules.dep
modules.pcimap updates
extra modules.ieee1394map
modules.seriomap weak-updates
kernel modules.inputmap
modules.symbols
modules.alias
modules.isapnpmap
modules.usbmap
modules.ccwap
modules.ofmap source

Last edited by Amersault; 02-26-2007 at 09:34 AM.
 
Old 02-26-2007, 04:23 PM   #10
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
The way the rpm of the kernel and kernel-devel work is like this.
The file it mentions /lib/modules/2.6.181.2789.fc/build is a soft link to /usr/src/kernels/2.6.181.2789.fc/build.

Now after downloading the files of the kernel version you mentioned the file /usr/src/kernels/2.6.181.2789.fc/build does not exist in the rpm I found for the kernel-devel rpm. Why it is not there I am at a lost.

Now /lib/modules/2.6.181.2789.fc/build is a soft link from the kernel rpm file.

There must be something I am missing. Older versions seemed to have this but its been a few years since using precompiled kerneles for me. When I get a chance I will look into it. For now it might be best for you to search the forum about this. If you get post back.

Brian
 
Old 02-27-2007, 09:23 AM   #11
Amersault
LQ Newbie
 
Registered: Feb 2007
Location: Sunny SoCal
Distribution: Fedora Core 6
Posts: 8

Original Poster
Rep: Reputation: 0
thanks, Brian - i appreciate all the help.

i'll see if i can't sort things out w/ the old PMCIA card that came standard w/ the Dell. the model is listed in the drop down menu when i call up system-network-config so, in theory, it should work.

will let you know how things get on and will post my progress...
 
  


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
netgear wireless adapter Kiro9749 Linux - Software 5 03-14-2007 06:58 PM
need help installing netgear wireless adapter stani101 Linux - Wireless Networking 4 02-01-2007 02:03 PM
Wireless netgear MA111 adapter cayzar Linux - Laptop and Netbook 2 05-17-2006 03:21 PM
NETGEAR wireless PCI adapter yhus Linux - Hardware 3 09-21-2005 08:03 AM
Netgear vs Compex wireless adapter zathrus Linux - Wireless Networking 3 11-19-2004 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:14 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