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.
Am I correct in assuming that cac is your normal user? If so, that is the cause of your trouble. Usually you need to be root to properly run make install. Once your done with make, use su -l to switch to root and then it should work.
By the way, if you are compiling programs from source, you owe it to yourself to look at checkinstall . This program replaces the make install step and creates an RPM that you can then install/remove as you would any other RPM. I find it one of the most useful tools I've found as you get the benefits of a custom compile plus the ease of your usual package management. And you sill have to run it as root.
Um, you don't have gcc installed? If you don't, odds are you need to install more than just gcc. When you installed RH, did you install everything? If I remember correctly (it has been a long time since I used RH), there is a "programming" option that installs gcc and all of the necessary libraries. You're also going to need to install your kernel source code for ndiswrapper to compile. That should be available either on your RH disks or at the RH web site. Be sure to get the source code that matches your kernel version.
I tried installing checkinstall but I couldn't get it to install right. I tried make install and it wouldn't work. I had downloaded the .rpm version of ndiswrapper but for some reason after it checked dependances, the window closed.
I just got an idea. I'll go to install/remove programs and I'll try installing the programming option then try it again..
I saw devolpment tool and I checked it...I'm installing them now..I'll let you know the results
Actually, if you get into the directory you compiled ndiswrapper there should be a drivers sub-directory. If you open Makefile in a text editor, you should be able to find what directory it was installed to. Otherwise you can use the find command to locate the file. If I'm reading things correctly, make install should have put it in the correct place, but maybe something else happened.
Well, it needs to be some place that modprobe knows to look. On a Slackware system that is in the /lib/modules/kernelversion directory. However, Redhat may differ so you may want to go look on your system where the modules reside. Once you find that, copy the compiled ndiswrapper module into a folder in that directory (mine is in a misc directory). You also need to edit the modules.dep file and enter a line pointing to the exact location of the file. In my system there is a line like this: