On Thursday 07 August 2008 17:58, DKT - Thomas Fransson wrote: > I have a problem / question regarding lease time using busybox / udhcpc > on an embedded arm9 platform. > > The udchp version is 0.9.8 > > When I set the server lease to, for example 5 minutes, and then runs > udhcpc at first all looks fine according to wireshark. After 5 minutes > there is a renewal request -again this looks fine, but according to one > of my more knowledgeable friends this is not correct behaviour according > to RFC 2131. > > According to this the renewal request should arrive after about 50% of > the lease period have expired, and then again after approx 75% expired > lease time. > > Then why is my udhcpc client not sending these additional requests?
Try newer version. Latest one works as you describe: 2008-08-08 23:08:47.776688500 Sending discover... 2008-08-08 23:08:48.344783500 Sending select for 89.103.91.47... 2008-08-08 23:08:48.484219500 Lease of 89.103.91.47 obtained, lease time 21600 2008-08-09 02:08:48.830670500 Sending renew... 2008-08-09 02:08:48.874318500 Lease of 89.103.91.47 obtained, lease time 21600 21600 seconds = 6 hours -- vda _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
