From: Robert Riches on 7 Dec 2009 22:24 On 2009-12-07, Rahul <nospam(a)nospam.invalid> wrote: > Bill Marcum <marcumbill(a)bellsouth.net> wrote in news:h620v6-5u.ln1 > @marcumbill.bellsouth.net: > >> /etc/modules, at least in Debian and Ubuntu. >> > > I have CentOS. Doesn't seem to have the file. Does it have /etc/modprobe.preload ? -- Robert Riches spamtrap42(a)verizon.net (Yes, that is one of my email addresses.)
From: Rahul on 8 Dec 2009 10:50 Robert Riches <spamtrap42(a)verizon.net> wrote in news:slrnhhrhnc.19b.spamtrap42(a)one.localnet: > Does it have /etc/modprobe.preload ? > Nope. -- Rahul
From: pk on 8 Dec 2009 15:43 Rahul wrote: > modprobe ipmi_devintf > modprobe ipmi_si > modprobe ipmi_msghandler > > How do I make this happen automatically on each reboot? Of course, I can > just put it in some shell init file but that seems like a hack. > > Googling seems to point to "modprobe.conf" but that seems more by way of > setting aliases it seems. What's the best way out? The purpose of those "aliases" is exactly to autoload the modules the first time they are needed.
From: marrgol on 8 Dec 2009 19:46 On 2009-12-07 01:24, Rahul wrote: > I know how to load modules using modprobe. But these are lost on a > reboot. How does one make this permanant? In CentOS add your "modprobe modulename" commands to /etc/rc.modules file. Create it and make executable if it does not exist. But... > e.g. for IPMI I usually load: > > modprobe ipmi_devintf > modprobe ipmi_si > modprobe ipmi_msghandler > > How do I make this happen automatically on each reboot? Of course, I can > just put it in some shell init file but that seems like a hack. for IPMI someone has already hacked it - you should have a service named ipmi ready to be started manually, and to start a service automatically on each reboot all you have to do is to enable it for the runlevels you wish it to run in using system-config-services in GUI or chkconfig on the command line. -- mrg
From: Rahul on 8 Dec 2009 20:26 marrgol <marspamrgol(a)gspammail.com> wrote in news:hfms1j$olg$1 @inews.gazeta.pl: > for IPMI someone has already hacked it - you should have a service > named ipmi ready to be started manually, and to start a service > automatically on each reboot all you have to do is to enable it for > the runlevels you wish it to run in using system-config-services > in GUI or chkconfig on the command line. > I don't seem to have this service. Maybe I have the wrong ipmi package installed? THere are several matching "ipmi" under yum and I wasn't really sure which ones I needed. I just know that ipmitool comes under "OpenIPMI-tools" so I installed that one. service ipmi status ipmi: unrecognized service yum info OpenIPMI-tools Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: www.ontime1405.com * base: centos.cs.wisc.edu * extras: mirror.unl.edu * updates: mirror.unl.edu Installed Packages Name : OpenIPMI-tools Arch : x86_64 Version : 2.0.16 Release : 5.el5_4.1 Size : 980 k Repo : installed Summary : OpenIPMI utilities and scripts from ipmitool URL : http://sourceforge.net/projects/openipmi/ License : GPL Description: The OpenIPMI-tools package contains the addon utilities and script from the : ipmitool project. -- Rahul
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: Is there a PAUSE pid like KILL pid? Next: wget - which port number(s)? |