-   Linux - Newbie (
-   -   how do I add or get rid of drivers? (

mjewell 01-15-2004 01:12 AM

how do I add or get rid of drivers?
These are rookie rtfm questions, but I still seem to need help.

1. How do I get a driver from the web into my system? (and)

2. How do I get rid of all drivers from my system except for only the ones that I want?

Evilone 01-15-2004 05:05 AM

Drivers work in two ways, either :

A) Loaded directly into your kernel (heart of your os)

B) As modules (seperate files that are only loaded when you request them

For the kernel drivers, you would have to recompile your kernel, which if your a newbie, can be a little daunting at first.

For The module's there really is no point deleteing the files as they are only small. If you type lsmod it will show you what's loaded. If you decide you don't want one or more modules loaded, edit the file /etc/rc.d/rc.modules and comment out with a # the lines that correspond to the modules you do not want loaded anymore.

Be carefull, and only comment out modules you KNOW you don't need. You can of course allways uncomment them later.

What driver do you need from the web?? It's usually just a case of compiling the driver and installing it :

1) Unpack the source with a command like tar or bunzip
2) ./configure
3) make
4) make install
5) Add a line to modules.conf as mentioned above to load said module.

There are usually good instructions either on the site you got it from or in a readme file that comes with the driver.

Hope that helped,

(Another happy slacker)

mjewell 01-15-2004 10:40 PM

That did the trick. Thanks!!

Evilone 01-16-2004 03:41 AM

Nice to know i helped... Happy slacking :D

All times are GMT -5. The time now is 04:22 PM.