R7800 with Voxel Image V1.0.2.50SF system time not valid after reboot

4 posts / 0 new
Last post
sunmenone
sunmenone's picture
R7800 with Voxel Image V1.0.2.50SF system time not valid after reboot

Hello,

I am using the R7800 with Voxel Image V1.0.2.50SF. When I am restarting the R7800 the system time is lost and the VPN is not working due to the certificates. I need to manually set the system time again. Is there a way to do this automatically?

Thanks

kamoj
kamoj's picture
NOTE: you can add your own

The R7800 has no HW clock, so it relies on internet ntp-time from Netgears servers.

From Voxels readme.docx, chapter 8:

NOTE: you can add your own delay for starting OpenVPN client after reboot by the command from telnet:

nvram set vpn_client_delay=120

(to set 120 sec. delay)

 

sunmenone
sunmenone's picture
Thank you, do you think this

Thank you, do you think this delay should be enough for getting the system time?

kamoj
kamoj's picture
Yes.

Yes 200 seconds should be enough.
But if you don't want to have a hard-coded delay you can add edit the file /etc/init.d/openvpn-client like this:
After the line "START=99"
you add this line:
while [ ! -e /tmp/ntp_updated ]; do sleep 1; done

This will pause the start of the openvpn client until time is synchronized.