VMware Communities
FoxGrey
Contributor
Contributor

How to keep the time synced in guest with no vmware tools installed?

Hi,

Evidently VMware Tools does not install into my Fedora 9 Guest running on my MacOSX mbp and

Fusion 1.3.

I just noticed that the date was screwed up pretty badly ( I suspend a lot...).

I have ntpd running but it does not seem to be able to 'catch up'.

I really don't like the idea of having to manually reset the time every time

I un-suspend the vm. I am afraid that I might screw up my subversion

database running on another system if I forget ;(

Doing something like:

/usr/sbin/ntpdate 1.fedora.pool.ntp.org

will do the job.

perhaps a cron job every couple of minutes might work...

Any suggestions? Is it possible to kick ntpd to make it adjust

the time?

Jerry

0 Kudos
2 Replies
FoxGrey
Contributor
Contributor

Well,

I checked the doc at ntp.org and it appears that if there is a difference of more than

1000 seconds ntpd will not adjust the time.

I have created a root crontab with the following:

0-59/2 * * * * /usr/sbin/ntpdate 0.fedora.pool.ntp.org 1.fedora.pool.ntp.org > /dev/null 2>&1

This is supposed to fire the ntpdate program every two minutes...

I had to disable the ntpd program so that ntpdate would run but

the fix seems to be working.

0 Kudos
FoxGrey
Contributor
Contributor

Sigh,

I went back and tried to install the VMware Tools from the tarball...

None of the kernel modules would build but after I configured the tools

the mouse was no longer confined to the guest window, I could drag

files from the guest and on startup/wake from suspension the clock

will sync,

Too bad the kernel modules won't build in Fedora 9.

Jerry

0 Kudos