udhcp parameters when called from interfaces file
Joel Lindsay
joel at waveteq.com
Wed Oct 4 20:49:05 UTC 2006
THanks,
That was exactly what I was looking for.
Much appreciated,
Joel
----- Original Message -----
From: "Gabriel L. Somlo" <somlo at cmu.edu>
To: <busybox at busybox.net>
Sent: Wednesday, October 04, 2006 10:45 AM
Subject: Re: udhcp parameters when called from interfaces file
>> From: "Joel Lindsay" <joel at waveteq.com>
>> What I mean is that when I set my interface to use DHCP within the
>> interfaces file, I do not set the udhcp command line, it is set somewhere
>> else and automatically started for me. I am trying to locate where this
>> is set. I thought it was at compile time, but not sure if was in the
>> udhcp compilation or the busybox compilation.
>
> Joel,
>
> The interfaces file is the config file for ifup/ifdown
> (networking/ifupdown.c).
>
> The command line for udhcpc is hard coded in there:
>
> "udhcpc -R -n -p /var/run/udhcpc.%iface%.pid -i %iface% "
> "[[-H %hostname%]] [[-c %clientid%]] [[-s %script%]]"
>
> So, currently (as of svn 16294) you get to set the following options
> after 'iface foo inet dhcp':
>
> hostname
> clientid
>
> and most recently:
>
> script (which lets you tell udhcpc where to look for its script file)
>
>
> HTH,
> Gabriel
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
More information about the busybox
mailing list