[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: netcfg: using udhcpc to get dhcp lease fails



On Sunday 31 January 2010, Otavio Salvador wrote:
> > Probably worth adding/fixing for udhcpc is:
> > - missing option host-name
>
> I've added it but I can't test it right now. Please see if it works for
> you.
>
> > - missing option domain-name-servers
> > - missing option dhcp-server-identifier
> > - strange leading slash for subnet-mask
> > - typo option domain-nam (missing e)
> > The other differences are probably not that relevant.
>
> I've fixed/added them all.

Looks better now. There a few last minor issues.

dhcp3 gives:
  option domain-name-servers 10.19.66.2,10.19.66.1;
udhcpc gives:
  option domain-name-servers 10.19.66.2 10.19.66.1;

I.e, multiple IP addresses should be comma-separated. This also goes for 
ntp-servers, which probably should not have quotes as it's similar to dns.

I've also tested ntp-servers now. Works correctly.


Reply to: