From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MSGIB-0000pf-EF for garchives@archives.gentoo.org; Sat, 18 Jul 2009 20:14:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6475E055F; Sat, 18 Jul 2009 20:13:57 +0000 (UTC) Received: from casey.tjhsst.edu (casey.tjhsst.edu [198.38.16.130]) by pigeon.gentoo.org (Postfix) with ESMTP id D1C6FE055F for ; Sat, 18 Jul 2009 20:13:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by casey.tjhsst.edu (Postfix) with ESMTP id 57D22130014 for ; Sat, 18 Jul 2009 16:13:57 -0400 (EDT) Received: from [192.168.125.12] (bvargo.tjhsst.edu [198.38.22.1]) by casey.tjhsst.edu (Postfix) with ESMTP id 210C7130013 for ; Sat, 18 Jul 2009 16:13:57 -0400 (EDT) Subject: Re: [gentoo-user] wakeup in virtualbox vm? From: Brandon Vargo To: gentoo-user@lists.gentoo.org In-Reply-To: <1247906999.224777@rumba> References: <1247906999.224777@rumba> Content-Type: text/plain Date: Sat, 18 Jul 2009 16:13:56 -0400 Message-Id: <1247948036.14959.18.camel@venus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit X-Archives-Salt: 7544e895-f316-4d0b-9167-7dec730569a4 X-Archives-Hash: 2316ee832a825c8f01dcb098784e6b9d On Sat, 2009-07-18 at 08:49 +0000, Konstantinos Agouros wrote: > I have a gentoo-guest in a virtualbox vm that is running on a mac. When I do > not use it I just put it to sleep and wake it up, when needed. Is there a > way that the guest recognizes the wakeup and than sets the time using ntpdate > or based on the clock of the host-os which is ntp-synchronized? If you install the virtualbox guest additions in your Gentoo guest, virtualbox can take care of syncing your guest's clock with the host's clock. I use app-emulation/virtualbox-guest-additions on a development VM at work that I suspend every night, and the clock is always correct when I resume the machine in the morning. If I remember correctly, it is only necessary to start the virtualbox-guest-additions service for the clock syncing to work. My host machine is an XP box, but I suspect it should work the same for a Mac host. I do not have access to the machine from home, but if you cannot get it working, respond back and I would be happy to check my setup on Monday. Regards, Brandon Vargo