04-02-2013 12:45 PM - edited 03-18-2019 12:52 AM
I have a C60 codec with TC5.1.4.software and overall all is well...
However we noticed that the time was incorrect. (Time Zone is set correctly)
The system is configured for DHCP and works fine......
When I do a "xstatus network" command I get the Mac, speed, IP addr, Mask, DNS etc, but does not tell me the NTP address
(See I figure our DHCP is not configured to send NTP server address)
In the web interface under network services / ntp I have it configured for Auto... and for the NTP address I have the DHCP issued gateway address
(From API Guide)
Auto: The system will use the NTP server, by which address is supplied from the DHCP server in
the network. If no DHCP server is used, or the DHCP server does not provide the system with a NTP
server address, the system will use the static defined NTP server address specified by the user.
My question is: How do I see the status of the NTP sync?
Is this a root only function?
Our network is setup to allow the IP gateway address to be a NTP source so even if the DHCP server does not provide the NTP address the C60 should try to manually connect to the addrress I specified under network services.
Before I engage the network folks, I want to be able to see the sync status..
Any help would be appreciated
Thanks
04-02-2013 01:05 PM
Hi Steven, check out the following dicussion.
04-03-2013 12:58 AM
In the release I have running (TC6.1.0Beta4) I have a sys command which I can run within tsh, i.e. logging in as admin into the codec.
sys-help
- System Commands -
sys-help sys-eventlog sys-auditlog sys-die sys-rtos
sys-lhan sys-ldev sys-svn sys-pingpong sys-fsm-test
sys-tipc sys-connect sys-ttpar sys-broadcast sys-ntp
sys-bluetest sys-bluetooth sys-marvell sys-icc sys-net
OK
sys-ntp
remote refid st t when poll reach delay offset jitter
==============================================================================
127.127.1.0 LOCL 10 l 5784 16 0 0.000 0.000 0.000
*72.251.251.11 91.216.162.15 3 u 41 128 377 41.446 0.260 0.252
Current time in UTC is: Wed Apr 3 07:56:26 2013
Current time in CEST is: Wed Apr 3 09:56:26 2013
OK
So sys-ntp is present in later releases. Can you check on your codec whether you have the command?
04-03-2013 01:20 AM
Checked when/where this command was added and found following ddts :
CSCtx89895 - No way to view current NTP status via xstat
This got implemented in TC5.1.0 so you should be able to execute the command.
04-03-2013 07:31 AM
Danny
Thanks for the reply
I tried to login via SSH to two differant codecs (TC6.0.1 and the TC5.1.2 shown below)
When I do a sys help, I get the below... no sys ntp
login as: admin
Using keyboard-interactive authentication.
Password:
Welcome to ###################
TANDBERG Codec Release TC5.1.2.289652
SW Release Date: 2012-05-23
OK
sys help
authorizedkeys
license
network
pairing
passwd
pki
rootsettings
securitysettings
securitystatus
When I try a sys-help... I get command not recognized
I do really like the new TC6 web interface.... There is a system status / Network services section (Screenshot)
On this codec I get nothing listed, but on another TC6 system I do get an IP address... is this intened to be NTP sync status?
I logged in as root and used the "ntpq peers" command... so the good news is I can see the status in root, just not tsh or web
ntpq> peers
remote refid st t when poll reach delay offset jitter
==============================================================================
LOCAL(0) .LOCL. 10 l 15h 16 0 0.000 0.000 0.000
*V1818TNCYT207.a 82.254.210.209 5 u 810 1024 377 5.088 2.633 12.849
Is there a way to see the status in the log files or by use of the Config/API portion of the web interface
Thanks
04-03-2013 09:21 AM
In the WEB interface I do not get anything in the networkservices screen either.
xconfiguration //ntp
*c xConfiguration Network 1 QoS Diffserv NTP: 0
*c xConfiguration NetworkServices NTP Mode: Manual
*c xConfiguration NetworkServices NTP Address: "be.pool.ntp.org"
** end
OK
xstatus //ntp
*s NetworkServices NTP Address: ""
** end
OK
[dderidde-ex90-home:~] $ ntpservers
be.pool.ntp.org
[dderidde-ex90-home:~] $
[dderidde-ex90-home:~] $ ntpq
ntpq> lpeers
remote refid st t when poll reach delay offset jitter
==============================================================================
LOCAL(0) .LOCL. 10 l 78 16 360 0.000 0.000 0.000
*s02.be.it2go.eu 193.190.230.65 2 u 13 16 377 64.305 0.901 1.603
ntpq>
Let me check why the sys-ntp does not work in your case.
Danny.
04-04-2013 03:55 AM
Hello,
I found another ddts in our database which is a request to have an xstatus command to reflect the ntp overal status.
Something like :
xstatus ntp status:
xstatus ntp server:
The ddts is not in our CDETS database yet. Have asked to get it exported so customer's can find the ddts using bugtoolkit.
Regards,
Danny.
04-04-2013 06:00 AM
Hello,
the ddts to get the status of ntp is CSCtx89895 - No way to view current NTP status via xstat.
The fix will be to have a command like this :
systemtools ntp
The former syntax, sys-ntp required root to be enabled, that's why it did not work when you tried it.
systemtools does not require root to be enabled.
Asked whether we could also get ntp status info in Web/GUI. Maybe I need another ddts to get that implemented.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide