Cannot automatically load modules
Yann E. MORIN
yann.morin.1998 at anciens.enib.fr
Wed Mar 1 09:24:15 PST 2006
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 h=
as
> 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
You'll need modprobe and insmod support in your busybox, or you'll need the
stock version from modutils/module-init-tools.
That shall do the trick. At least I guess so.
Regards,
Yann E. MORIN.
=2D-=20
=2E-----------------.--------------------.------------------.--------------=
=2D-----.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspira=
cy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ =
|
| --=3D=3D< =A2X_=A2X >=3D=3D-- =A2X---.----------------: X AGAINST =
| /e\ There is no |
| web: ymorin.free.fr | SETI at home 3808 | / \ HTML MAIL | """ conspirac=
y. |
=A2X---------------------=A2X----------------=A2X------------------=A2X----=
=2D---------------=A2X
More information about the busybox
mailing list