Re: Hibernation and time and dhcp

From: Denis Vlasenko
Date: Thu Oct 21 2004 - 07:47:33 EST


On Wednesday 20 October 2004 21:45, Michal Semler wrote:
> Hi guys,
>
> with 2.6.9 hibernation to disk finally works! Thanks
> To ram it still don't work, system starts with lcd disabled - but it is
> another story.
>
> I have now this problem - when I hibernate and then system is started up in
> other company, it don't update time and shows still for example 14:00 - when
> I rehibernate for example in 20:00 - could you ask bios for current time?
> It's better to have bad time about few seconds instead of hours.
>
> Same problem with dhcp - it should ask for IP when rehibernate.

These should be handled in userspace. You can put together
some simple shell script to do it with (hwclock or ntpdate) and [u]dhcp*
--
vda

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/