EFW Support

Support => General Support => Topic started by: tkbeat on Friday 04 December 2009, 09:51:03 pm



Title: Endian 2.1 increasing intervall syncronising with external time server
Post by: tkbeat on Friday 04 December 2009, 09:51:03 pm
Hello,

my Endian 2.1 Firewall is running in a VM and the time is running to fast in it since last reboot .
Each day the endian is running 2-3 minutes in the future,
if i syncronise it manual with an external time server in the time server menu.
time will go back to the right time for this moment.

Is there a way to tell the endian firewall to syncronise it each hour per day ?


best regards
tkbeat


Title: Re: Endian 2.1 increasing intervall syncronising with external time server
Post by: NavSol on Friday 04 December 2009, 10:13:26 pm
Hi
I have just asked a question about a cron job for time syncing! I am running a script that does what you would like
Code:
#!/bin/bash

/etc/init.d/ntpd stop

wait ${!}

echo Syncing Time...



/usr/sbin/ntpdate 130.88.200.4
wait ${!}

/etc/init.d/ntpd start

wait ${!}
so if you put it in a folder in the /etc/cron.hourly folder, ours is called settime.sh, make it executable, and it should run every hour, syncing from an external time source. (in this case a manchester university NTP server)


Title: Re: Endian 2.1 increasing intervall syncronising with external time server
Post by: tkbeat on Saturday 05 December 2009, 01:18:22 am
thanx a lot , i will try it !!

greets tkbeat :)