Re: modprobe.conf is ignored



Joachim Selke wrote:
Hi,

I own a notebook that has an Intel 3945ABG wireless network adapter. For
this I use the ipw3945 kernel module from ATrpms. To operate properly,
after loading the kernel module a daemon (ipw3945d) has to be started.
According to the documentation this is done by adding the following
lines to /etc/modprobe.conf:

install ipw3945 /sbin/modprobe --ignore-install ipw3945; \
sleep 0.5; /usr/local/sbin/ipw3945d --timeout=-1 --quiet

This works fine when I load the module manually via "modprobe ipw3945".

At boot time the module gets loaded but the daemon does not get started.
I also tested the following line in /etc/modprobe.conf (instead of the
other one):

install ipw3945 /sbin/modprobe --ignore-install ipw3945; \
touch /test

Chances are it is a matter of the environment during boot processing versus under your root logon.
It is probably failing to execute the sleep and never getting to the daemon.

Use fully qualified paths for executables:

install ipw3945 /sbin/modprobe --ignore-install ipw3945; \
/bin/sleep 0.5; /usr/local/sbin/ipw3945d --timeout=-1 --quiet

install ipw3945 /sbin/modprobe --ignore-install ipw3945; \

/bin/touch /test

Chris

--
"Spend less! Do more! Go Open Source..." -- Dirigo.net
Chris Johnson, RHCE #804005699817957

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: modprobe.conf is ignored
    ... I own a notebook that has an Intel 3945ABG wireless network adapter. ... after loading the kernel module a daemon has to be started. ... At boot time the module gets loaded but the daemon does not get started. ... There's several wireless services in there that can be started ...
    (Fedora)
  • modprobe.conf is ignored
    ... after loading the kernel module a daemon has to be started. ... At boot time the module gets loaded but the daemon does not get started. ... So I think the install command does not get executed at all. ...
    (Fedora)
  • Re: modprobe.conf is ignored
    ... the filesystem to be mounted read-write and then starts the daemon. ... You could use this simple init script as a basis for an ipw3945d ... with the kernel module. ... sleep 1; \ ...
    (Fedora)
  • Re: Mouse sometimes freezes using a KVM switch with a 2.6.x Kernel
    ... On Mon, 14 Feb 2005 11:08:05 GMT, Mark Hobley ... > Is the mouse being driven from a kernel module or something now? ... > a mouse daemon. ... You probably had gpm with the 2.4 kernel. ...
    (comp.os.linux)
  • Re: Mouse sometimes freezes using a KVM switch with a 2.6.x Kernel
    ... On Mon, 14 Feb 2005 11:08:05 GMT, Mark Hobley ... > Is the mouse being driven from a kernel module or something now? ... > a mouse daemon. ... You probably had gpm with the 2.4 kernel. ...
    (alt.os.linux)