Results 1 to 6 of 6
Hey, i need help moving some driver files found in this location
/lib/modules/2.6.27-7-generic/kernel/drivers/net/wireless/rt2x00
I need to blacklist a driver in this folder by moving it elsewhere.
Could anybody help me?
...
- 03-23-2009 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 31
Moving drivers from one place to another
Hey, i need help moving some driver files found in this location
/lib/modules/2.6.27-7-generic/kernel/drivers/net/wireless/rt2x00
I need to blacklist a driver in this folder by moving it elsewhere.
Could anybody help me?
Thanks, Richard
- 03-23-2009 #2
Moving the module elsewhere is not the best way to blacklist it. If you don't want a module to load at boot, add a line to /etc/modprobe.d/blacklist, reading
Code:blacklist <module name>
- 03-23-2009 #3Just Joined!
- Join Date
- Oct 2007
- Posts
- 31
- 03-23-2009 #4
Basically, the linux kernel is, at least in part, modular, which means you can add functionality, often in the form of a device driver. http://en.wikipedia.org/wiki/Module_(Linux)
To temporarily add or remove a module, in this case a driver, you can use the modprobe command. For example to remove a driver using the command line, you use the "-r" option.Or to insert a driver, justCode:sudo modprobe -r <driver>
To blacklist a module everytime the computer boots, you add it to the file /etc/modprobe.d/blacklist. (At least in ubuntu. Distros can vary on this.) You need root privileges to do this. Open the file with a text editor as root.Code:sudo modprobe <driver> or sudo modprobe -i <driver>
Then add the linesCode:sudo gedit /etc/modprobe.d/blacklist
Code:blacklist <driver/module name>
- 03-23-2009 #5Just Joined!
- Join Date
- Oct 2007
- Posts
- 31
EXCELLENT!
Jeez things seem really difficult. However, ill stick it out.
Thanks for you time, i'm sorted now. Your help is much appreciated.
Richard
- 03-23-2009 #6lol I've been using linux for, oh, something like 15 months now, and you'd be surprised how quickly it all starts to make sense. I wouldn't go back to the windows way in a million years.Jeez things seem really difficult. However, ill stick it out.


Reply With Quote
