[En-Nut-Discussion] Fwd: Problem with NutDhcpClient thread (\pro\dhcpc.c)
ennut at thezachariasgroup.com
ennut at thezachariasgroup.com
Mon May 19 17:26:39 CEST 2008
Andreas,
My solution was to create a separate thread to execute
NutDhcpIfConfig() until configured, sleeping 60 seconds between
tries. A global flag is set after properly configured.
BTW: This same thread handles registering the device and querying up
to ten time servers in a similar manner.
Zack
At 06:20 AM 5/19/2008, you wrote:
>On 15.05.2008 15:55, Arlind Cela wrote:
> > Hello all,
> >
> > I guess you have your DHCP leasetime set to a "Forever", or we should have
> > gotten some replies by now :)
> >
>I guess, you are right :)
>
> > Maybe my first e-mail was not clear enough, but we believe that this is an
> > issue that everyone who "really" uses DHCP comes accross.
> > When the lease time is other that "Forever"...renewing is
> supposed to happen
> > in certain intervals, but it never does. The reason for that is
> explained in
> > my first e-mail.
> >
> >
>Even worse: If NutDhcpIfConfig() does not get an IP-Address from a
>DHCP-Server within the first timeout it will never again ask for one.
>
>I have to find a solution for this and will be back here when I have one.
>
>Greetings
> Andreas
>
>_______________________________________________
>http://lists.egnite.de/mailman/listinfo/en-nut-discussion
More information about the En-Nut-Discussion
mailing list