[BusyBox] ifupdown package

Tony Saladino tsaladino at broadcom.com
Wed Jun 25 19:29:25 UTC 2003


I still don't have ifup and ifdown on my system.

I've re-built using buildroot from scratch.  I've attached the buildroot
Makefile, busybox.config, and busybox.links files.

I did some editting of the Makefile, but busybox.config and busybox.links
are automatically generated and I did not touch them.  busybox.config has
CONFIG_IFUPDOWN=y.  I also editted the system-linux.mk file, to have it
point to the kernel that I'm using.

After loading the rootfs, I checked "busybox ifup -a" and it returned:
"ifup: applet not found".

I'm assuming that there is something wrong in the way I set things up, but I
can't find it.  If no-one else is reporting problems like this, it must be
me.

I also assumed that since I never editted busybox.config, there was no
recompile, and doing an additional busybox --install -s would not help.  It
that a correct assumption?

Is there anything else I should look at?

I realize that I can load ifup/ifdown by hand into the rootfs, but I just
wanted to learn how to do it properly.

Tony

-----Original Message-----
From: Andrew Dennison [mailto:andrew.dennison at motec.com.au]
Sent: Tuesday, June 24, 2003 9:04 PM
To: andersen at codepoet.org; Tony Saladino
Cc: busybox at busybox.net
Subject: RE: [BusyBox] ifupdown package


I noticed recently that busybox.links is not regenerated if the .config is
changed and you run make. Therefore busybox.links may not match the busybox
binary if you add some features and recompile. Thus a make install could
leave out some links and cause this type of problem.

Maybe Tony has built a busybox with ifup/down support but the links are not
installed due to the above issue?

Try this to see if busybox supports ifup:
busybox ifup -a

Enabling CONFIG_FEATURE_INSTALLER=y and running
busybox --install -s
to add the links works as advertised.

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 7384 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20030625/c1a12835/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox.config
Type: application/octet-stream
Size: 9220 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20030625/c1a12835/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox.links
Type: application/octet-stream
Size: 1457 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20030625/c1a12835/attachment-0002.obj 


More information about the busybox mailing list