Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to install the MADWIFI drivers on a Red Hat Enterprise Linux 3, kernel 2.4.21-27 and I am having some trouble. I am using a Pentium M on an Intel motherboard. I've tried to read thru the instructions but they seem confusing as I'm new to Linux. I have 2 options to install:
1. download the RPMs--when I tried to install those, I got some dependency errors. (not sure how to fix them)
2. use the .TGZ file I downloaded.
Going with option 2 for now, I've read thru the Readme and Install text files and here's what I saw:
o sharutils (especially uudecode tool)
o kernel sources of running kernel
o Wireless Extensions support (14 or later, 17 preferred)
o Sysctl support
o Crypto API support (AES support is used if present, otherwise the
AES-CCMP cipher module falls back to a private implementation)
o gcc in same version as the compiled kernel, or you get problems
during module load (Invalid module format)
1. How can I check to make sure I have all the requirements met? (I am running Red Hat Enterprise Linux 3 kernel 2.4.21-27)
The driver is built using the Linux kernel build mechanism. This means you must have some part of the kernel source distribution installed on the machine where you want to build the driver. In particular, the kernel include files and configuration must be available as well as the build scripts. If you built your kernel
from source then this will be present. Otherwise you may need to install some materials from your distribution.
Most people can just type:
at the top level to build all the modules for the system where you are building.
2. I've tried to run that but it says "command not found".
thank you. that worked but it gave me a different error.
/lib/modules/2.4.21-27.EL/build/.config does not exist...Stop.
I even tried to type make KERNELPATH=/usr/src/linux-2.4.21-27.EL and I get the same error. I tried to type KERNELPATH=/usr/src/linux-2.4, same thing.
I looked in /usr/src/linux2.4.21-27.EL and there's a configs directory. If I look in there I see a lot of config files named "kernel-2.4.21-i686.config, etc"
I read about changing the KERNELRELEASE variable but not exactly sure how to use it. I edited the makefile.inc in the directory where I unzipped the .TGZ file and I see the variable there but I don't know what I'm supposed to put in there. I did a google search on Kernelrelease and I did find some articles on it. However, it seems that there's extra stuff in the Kernelrelease line referencing madwifi: i.e.
KERNELRELEASE ?=$(shell echo -e 'madwifi_$$_'date +%s':\n\t@echo \044(KERNELRELEASE)\ninclude Makefile' | make -C $(KERNELPATH) -s -f-)
I found this article referencing a kernel devel update but it's for Fedora Core 3. I'm running Red Hat Enterprise Linux 3. Does it make a difference?
1. I installed a kernel update from RedHat ...upgraded to 2.4.21-32
2. installed MadWiFi from RPMs (i.e. rpm -iv kmdl*.rpm)
3. installed the Madwifi patches by going to the patch directory and typing
sh install.sh /usr/src/linux-2.4
sh install.sh /usr/src/linux-2.4.21-32.el
patch -Np1 -i madwifi-cvs-20050814.patch (as per Aircrack readme)
Then when I tried to run MAKE, I got this error:
Makefile.inc:122: ***KERNELCONF: /lib/modules/2.4.21-32.0.1.EL/build/.config does not exist... Stop.
Also, in the Aircrack documentation it says this: if your card appears to hang (no packets captured or injected), disable the interface, reload the drivers and re-insert the card.
All drivers must be patched so as to support injection in Monitor mode. You will need linux headers that match your current running kernel; if not, you will have to download the linux source and compile a custom kernel.
1. How can I fix that error?
2. How do I reload the drivers? (I know how to down the interface)
3. How can I check that the Linux headers match my current running kernel? (I'm running a stock kernel)
The authors of such articles always make it sound like any moron with 20 mins of Windows XP experience can crack a WEP code whilst juggling chainsaws, the angst thus generated leads to greater readership.
before you tried to make the new module?
What mirrored you to 100.h? I can't find any on-tree documentation for their patch; I'm downloading Slack 10.2, so I don't want to waste bandwidth slurping packages if I don't have to.
You patched that onto madwifi, not your kernel, right?