Howto:Setting time and date without using an NTP: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Template:3rd Party Input}}
==Applies To==
==Applies To==
This information applies to
This information applies to
Line 14: Line 15:
===Configuration===
===Configuration===


====Set system time on running gateway====
Simply use the following syntax in your webbrowser:
Simply use the following syntax in your webbrowser:
'''<nowiki>http://</nowiki>'''''<ip-of-your-Innovaphone-gateway>'''''/!time%20'''''dd'''''.'''''mm'''''.'''''yyyy'''''-'''''hh''''':'''''mm'''''


http://<ip-of-your-Innovaphone-gateway>/!time%20%20dd.mm.yyyy-hh:mm
Example: '''<nowiki>http://10.10.10.120/!time%2021.02.2008-15:05</nowiki>'''


Example: http://10.10.10.120/!time%20%2021.02.2008-15:05
Please keep in mind that the time will be lost when rebooting


===Known Problems===
====Set static startup time====
None
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.


<!-- == Related Articles == -->
<code>config add NTP0 /ctime 21.02.2008-15:05</code>


http://wiki.innovaphone.com/index.php?title=Howto:How_to_obtain_the_current_time_for_innovaphone_devices_using_NTP
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]]


[[Category:Howto|{{PAGENAME}}]]
[[Category:Howto|{{PAGENAME}}]]

Latest revision as of 16:47, 8 January 2019

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