View Full Version : how to write a file in /etc/modprobe.d/?

25th January 2009, 12:33 AM
I am using the i8k plugin for gkrellm. However, every time I have to use the command "modprobe i8k" to make it work.

I saw somewhere saying that I can put a file in /etc/modprobe.d/ so that it probes the i8k automatically.

But, how to make this file? I made a file named "i8k" in that directory and put the following line in it:

options i8k force=1

but it seems does not work. How on earth shall this file be written? Thanks!

25th January 2009, 01:55 AM
I'm not familiar with i8k plugin thing?

If it is a a kernel module then you should be able to add

alias i8k

to your /etc/modprobe.conf file.

see the man page for modprobe.conf or do some googling.

If it is actually a command that you want to run, say at boot time, then add it to your



25th January 2009, 10:09 PM
Thanks. But I don't have a /etc/modprobe.conf file ...

25th January 2009, 10:40 PM
Thanks. But I don't have a /etc/modprobe.conf file ...
Then just go ahead and create one.


26th January 2009, 01:26 AM
To load the appropriate kernel modules on my system for system hardware monitoring, they are loaded in /etc/rc.d/rc.local, as Seve first suggested.

# Chip drivers
modprobe lm90
modprobe eeprom
modprobe it87

26th January 2009, 08:46 AM
Thanks! This one works.