On 21-1-2013 18:06, Kent A. Reed wrote: > On 1/21/2013 6:18 AM, Bas Laarhoven wrote: >> <...> >> >> This is not the definite solution of course, but if confirmed we can >> work on a better fix (and don't forget to put the ntpdate file back >> where it was). >> > Bas: > > From the dhclient man page: > >> The DHCP client will normally run in the foreground until it has >> configured an interface, and then will revert to running in the >> background. > That's the process running in the background Charles mentioned. > > I can prevent lock-up by killing this process as soon as I log in but > this is brain surgery done with a meat axe. > > I didn't see an obvious usage described in the man page that could be > exploited to update the leases via dhclient. There is mention of an api > into a running client. > > I haven't tried experimenting with editing the leases file to correct > timestamps. > > Regards, > Kent
There's a partial solution that involves passing the fixrtc flag to the kernel at boot. The kernel will then set the rtc (during boot) to the time of the last rootfs mount. The TI arago and angstrom systems use this, but it doesn't solve anything if the system down time is bigger than half the lease duration (or something like that). I'm looking into the the OMAPI interface for a better solution. -- Bas > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
