Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...)
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:
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.
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:
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
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.
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:
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.