Re: [ros-users] ntp and multi-machines

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Enea Scioni
Date:  
To: ros-users
Subject: Re: [ros-users] ntp and multi-machines

Sure!
On my laptop the output is:
$ ntpdate -q 127.0.0.1
server 127.0.0.1, stratum 3, offset -0.000012, delay 0.02565
5 May 19:22:28 ntpdate[5000]: adjust time server 127.0.0.1 offset -0.000012
sec

and

$ ntpdate -q 134.58.255.1
server 134.58.255.1, stratum 2, offset -0.000195, delay 0.02599
5 May 19:22:57 ntpdate[5001]: adjust time server 134.58.255.1 offset
-0.000195 sec

where 134.58.255.1 is the server ip.

Instead, on embedded board:
$ ntpdate -q 127.0.0.1
server 127.0.0.1, stratum 0, offset 0.000000, delay 0.00000
1 Jan 01:08:09 ntpdate[1535]: no server suitable for synchronization found

(expected, because there isn't the ntp deamon running on embedded board),
and
$ ntpdate -q 10.8.30.30
server 10.8.30.30, stratum 3, offset 1273079765.187633, delay 0.02666
1 Jan 01:09:58 ntpdate[1541]: step time server 10.8.30.30 offset
1273079765.187633 sec

where 10.8.30.30 is the ip assigned at my pc on LAN.

Enea Scioni

--
View this message in context: http://ros-users.122217.n3.nabble.com/ntp-and-multi-machines-tp765453p779546.html
Sent from the ROS-Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
ros-users mailing list

https://lists.sourceforge.net/lists/listinfo/ros-users