Cannot automatically load modules
Yann E. MORIN
yann.morin.1998 at anciens.enib.fr
Wed Mar 1 17:24:15 UTC 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 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
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.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< °_° >==-- °---.----------------: X AGAINST | /e\ There is no |
| web: ymorin.free.fr | SETI at home 3808 | / \ HTML MAIL | """ conspiracy. |
°---------------------°----------------°------------------°--------------------°
More information about the busybox
mailing list