Cannot automatically load modules

Rob Landley rob at landley.net
Wed Mar 1 09:28:12 PST 2006


On Wednesday 01 March 2006 12:24 pm, Yann E. MORIN wrote:
> Colin,
> All,
>
> On Wednesday 01 March 2006 123, colin wrote:
> > How do I set up my embedded system to let it automatically load modules?
> > I try to edit /etc/modules.conf like this:
> >     alias eth0 8139cplus
> > When I do "ifconfig eth0 192.168.0.2 netmask 255.255.0.0", it fails and
> > has below message:
> >     SIOCSIFADDR: No such device
> >     SIOCSIFNETMASK: No such device
>
> Make sure you have a startup script do this (You'll obviously need /proc be
> mounted!) :
> echo "/sbin/modprobe" >/proc/sys/kernel/modprobe

I believe that's the default value.  (cat /proc/sys/kernel/modprobe 
spits /sbin/modprobe back, anyway.)

Do you have to write it even if it's the default value?

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list