Howto:Setting time and date without using an NTP

From innovaphone wiki
Jump to navigation Jump to search
3rd party input
this is 3rd party content not provided by innovaphone, see history for authors.

Applies To

This information applies to

  • All gateways, V6


Problem Details

Sometimes it is temporarely impossible to access a NTP-server. Here' s a short possibility to set time and date via the web interface.

System Requirements

In the simpliest manner a working PBX - or any other accessible Innovaphone gateway running under V6

Configuration

Set system time on running gateway

Simply use the following syntax in your webbrowser: http://<ip-of-your-Innovaphone-gateway>/!time%20dd.mm.yyyy-hh:mm

Example: http://10.10.10.120/!time%2021.02.2008-15:05

Please keep in mind that the time will be lost when rebooting

Set static startup time

If you don't care about the correct time but just need the box to have a valid time, you can add the ctime argument to NTP0 in your config file.

config add NTP0 /ctime 21.02.2008-15:05

This way, your box will always start with this (probably wrong but valid) time.

Manual time and TLS

Remark about TLS certificates "not before" date. All certificates have a date "not before" so if you chose a date before the "not before" date, your certificate is not valid and cannot be used for example for "TLS only" device registration. So you should choose a date "after" the most recent certificate date of device you in your system.


Related Articles

Howto:How to obtain the current time for innovaphone devices using NTP