[Dibbler] Dibbler client sleeps way too long

Plamen Doykov patanassov at vmware.com
Fri Jan 10 16:03:48 CET 2014


Thanks for the answer. I'll try to build the new version to see what
happens.

Regards,
Plamen

-----Original Message-----
From: Dibbler [mailto:dibbler-bounces at klub.com.pl] On Behalf Of Tomasz
Mrugalski
Sent: Thursday, January 09, 2014 7:30 PM
To: dibbler at klub.com.pl
Subject: Re: [Dibbler] Dibbler client sleeps way too long

On 09.01.2014 18:12, Plamen Doykov wrote:
> I am trying to make a ttylinux derived Linux connect to a DHCPv6 
> server (Windows 2k8R2 in my current setup).
> Since busybox' udhcpc6 is not working, I tried using Dibbler client 
> and downloaded an rpm to give it a try 
> (dibbler-0.7.3-3mdv2011.0.i586.rpm). It works fine if I start the 
> service manually after logging (dibbler-client start), but if started 
> at startup, it hangs (it is started by rc.sysinit after all other
services).
> When I try to run it (dibbler-client run), it starts sleeping for a 
> very large amount of time (see below). The configuration file is the 
> default one (except for "log-level 8").
> I've downloaded version 0.8.2, too but couldn't try it because of libc 
> versions incompatibility. This is not trivial to sort out, so I wanted 
> to ask before going that way.
> My question is - is this a known issue, that is eventually fixed in a 
> newer version? Or is there something I can try without diving deep 
> (like debugging the client)?
It is not an issue. The code works as expected. The problem (or rather -
configuration peculiarity) is with your server. It sets T1 (the timer
after the client is supposed to wake up and start renewing) to 345600
seconds, which happens to be 4 days. I would say that such overly long
timers are not really apropriate even for very fixed networks (like cable
modems). The largest values I saw was lease lifetime of 1 week, with the
renewal happening once every 3,5 days.

Please don't use 0.7.3. It's several years old. There were tons of
critical bugfixes since then. Please use 1.0.0RC1 or better yet, git
version. I also plan to release 1.0.0RC2 very soon (next couple days).

I can't help you with the run vs. start issue. Start should just switch to
background as a daemon and immediately return. Quick look at the CHANGELOG
(https://urldefense.proofpoint.com/v1/url?u=https://github.com/tomaszmruga
lski/dibbler/blob/master/CHANGELOG&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=i
Ga5QRfMRW9TaXha%2BqKLCA59dXeHG6DK42Yhqnk7bBQ%3D%0A&m=jWpb9wk%2Fywg8dpPKvuC
HnC2KKQMIglnl2lrdGjkQ0Tc%3D%0A&s=d08a377213cfa201ba76c340983e68e0048d8ad06
f1f41a55119a72a65418f93),
you'll find some fixes in the area since the version you're using.

If you're going to use the newer version, you may take a look a section
2.17 of Dibbler Developer's Guide. In particular, now you can compile the
code without DDNS, without auth and without link-state change detection,
which should make the resulting code considerably smaller.

Hope that helps,
Tomek

_______________________________________________
https://urldefense.proofpoint.com/v1/url?u=http://klub.com.pl/cgi-bin/mail
man/listinfo/dibbler&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=iGa5QRfMRW9TaXh
a%2BqKLCA59dXeHG6DK42Yhqnk7bBQ%3D%0A&m=jWpb9wk%2Fywg8dpPKvuCHnC2KKQMIglnl2
lrdGjkQ0Tc%3D%0A&s=b2b115e8c66aff1fd53d526c6f66133950ad0745061f5ba7a112537
542b3a3d2


More information about the Dibbler mailing list