[BusyBox] Re: [BusyBox-cvs] busybox/networking/udhcp Config.in,1.2,1.3 README.udhcpc,1.2,1.3 dhcpc.c,1.4,1.5 dumpleases.c,1.2,1.3 files.c,1.2,1.3 options.c,1.2,1.3 options.h,1.2,1.3 script.c,1.2,1.3 version.h,1.1,1.2

Russ Dill Russ.Dill at asu.edu
Wed Dec 11 14:19:04 UTC 2002


> -config CONFIG_FEATURE_UDHCPC_IP
> -	bool "  Compile udhcpc with ip support"
> -	default n
> -	depends on CONFIG_UDHCPC
> -	help
> -	  Say yes if you are using the ip command instead of route and ifconfig
> -	  in your scripts to bring up the interface.
> -	  This is needed as ip wants the subnet as a bitprefix not an ip value.
> -

if anyone was using this before, replace $subnet with:

> +	mask		- The number of bits in the netmask (ie: 24)

be aware, if the dhcp server passes no subnet mask. $mask will not be
set.

>  
> [...138 lines suppressed...]

hmm...don't like the suppressing lines thing...anyway, the part it
suppressed was that enviromental variables no longer have the trailing
space (ie: ip="21.5.2.1 "). So if you scripts expect this, you'll need
to make a few minor modifications (s/$ip/$ip /)




More information about the busybox mailing list