[BusyBox] ifupdown package

Erik Andersen andersen at codepoet.org
Mon Jun 23 21:23:59 UTC 2003


On Mon Jun 23, 2003 at 04:05:37PM -0400, Tony Saladino wrote:
> In both methods of building the rootfs, the busybox.config file had
> CONFIG_IFUPDOWN=y.
> 
> The root file systems I've built seem to work fine, except I would like to
> get ifup and ifdown utilities working.

So what exactly is the problem?  I _know_ it works since I have
several systems using busybox's ifup/ifdown and they work.  If
busybox compiles and is installed correctly, you just need to
supply a proper /etc/network/interfaces file and run 'ifup -a'...

Here is a simple example showing some of the things
you can do with your interfaces file....

    # /etc/network/interfaces configuration file
    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet static
	address 10.0.0.2
	netmask 255.255.255.0
	network 10.0.0.0
	broadcast 10.0.0.255
	gateway 10.0.0.1
	up /etc/init.d/firewall start
	down /etc/init.d/firewall stop

    noauto eth1
    iface eth1 inet dhcp

    auto tun0
    iface tun0 inet static
	up   /etc/init.d/S85vtun start
	down /etc/init.d/S85vtun stop

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--


More information about the busybox mailing list