modprobe.conf is ignored
Christopher K. Johnson
ckjohnson at gwi.net
Sat Nov 18 12:52:50 UTC 2006
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
More information about the users
mailing list