Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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 have D-link pci wireless card that user the atheros chip. I found a driver that which supports my chip but it is unlike anything I have seen befor. The file is madwifi-20030802.gz I decompressed but it appears to be a script not a directory. When I run make I get an error about there being no source. The file itself says that the Makefile may need to be edited to reflect the source directory. The only Makefile I am familiar with is the on where my kernel source files are located. I know this needs to be compiled but I do not know where to begin.
Is it possible that this file is missing some necessary components?
When I tried this it said "cannot execute binary file". sh seems to be the equivalent of ./fieletoexecute. Learn something every day. I wonderd how I could run a file from a script. I may have misled you on this, in saying I thought it was a script, I do not know what it is. It does not have the #!/bin/sh I have become accustomed to seeing. I will attach one of the sections labeled makefile of wich ther are many in the file. Possibly someone can tell me what to do with it.
# Makefile for the Atheros HAL Module.
# NB: we can't support MODVERSIONS because it requires building
# from source which may not be available
edit the Makefile.inc file to point to your kernel .config. He points to a directory of default redhat kernel configs that you would typically copy to the /usr/src/linux(-2.4?) dir, and then run make oldconfig from the kernel source dir.
Wierd though he says its no longer neccessary to edit the file, and then in his instructions it says to edit the file, go figure. But since your source says to edit the file, go ahead and do it.
Ok if this ia a Makefile shouldn't there be something else to run aginst it? When I downloaded the .gz file I gzip -dv and got a single file madwifi-20030802 not a directory. My experiences have been extracting a tar or gzip and then cd to that directory and running make from within.
This is wher I am confused, all I have is this one file, nothing else; no Makefile, build, build.conf or anything. Do I copy this one file into a directory which contains the other elements and rename to Makefile and run make or is there a way to compile one file?