On 11/13/06, Peter Kelly <[EMAIL PROTECTED]> wrote:
What I can't do is
/etc/init.d/net.eth1 restart

If I shut it down, then I need to either reboot or kill the ipw3945d, then
start it again.  I put the ipw3956d call in /etc/conf.d/local.start, which
brings it up fine.

Rather than starting ipw3945d in local.start, it is probably better to
start/stop it with the module.  You should have a
/etc/modules.d/ipw3945 file that contains:

----
install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; sleep 0.2;
/sbin/ipw3945d --quiet
remove ipw3945 /sbin/ipw3945d --kill ; sleep 0.2; /sbin/modprobe -r
--ignore-remove ipw3945

alias pci:v00008086d00004222sv*sd*bc*sc*i* off
alias pci:v00008086d00004227sv*sd*bc*sc*i* off
----

If so, run "modules-update" to regenerate /etc/modules.conf and
activate the instructions.

Note: I'm not sure which of the above lines I modified myself and
which ones came from the ipw3945 package.  But the first line starts
the daemon when the module is loaded, the second stops it when the
module is unloaded, but only if you use "modprobe -r ipw3945".  It
will _not_ work correctly if you do "rmmod ipw3945".

The third and fourth lines prevent the module from being loaded
automatically by udev, and are necessary because /var on my system
isn't mounted when udev starts.

HTH,
-Richard
--
gentoo-user@gentoo.org mailing list

Reply via email to