[ntp:questions] prblm to sync time with modem

Johansson, Fredrik fjohansson at emea.att.com
Wed Feb 23 13:16:30 UTC 2005


Hi list,

Hope someone can help me with this plbm.
I'm trying to sync time with modem to a timeserver in Sweden.
But it fails..
I'm using version 4.2.0 compiled on Debian Sarge.

My /etc/ntp.conf

server 127.127.18.1 prefer
phone ATDT033415783

output from # ntpd -d
ntpd 4.2.0 at 1.1161-r Wed Feb 23 11:31:12 CET 2005 (2)
addto_syslog: ntpd 4.2.0 at 1.1161-r Wed Feb 23 11:31:12 CET 2005 (2)
addto_syslog: signal_no_reset: signal 13 had flags 4000000
addto_syslog: precision = 3.000 usec
create_sockets(123)
addto_syslog: no IPv6 interfaces found
addto_syslog: bind() fd 4, family 2, port 123, addr 0.0.0.0, in_classd=0 flags=8 fails: Address already in use
addto_syslog: bind() fd 4, family 2, port 123, addr 127.0.0.1, in_classd=0 flags=0 fails: Address already in use
addto_syslog: bind() fd 4, family 2, port 123, addr 192.168.0.193, in_classd=0 flags=8 fails: Address already in use
init_io: maxactivefd 0
local_clock: at 0 state 0
peer_clear: at 0 assoc ID 44100 refid INIT
refclock_open: fd 5 modem status 0x4126
refclock_ioctl: fd 5 flags 0x4
acts: state 0 send 20 ATB1&C1&D2E0L1M1Q0V1
newpeer: 127.0.0.1->127.127.23.1 mode 3 vers 4 poll 10 18 flags 0x21 0x1 ttl 0 key 00000000
report_event: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)
acts: state 0 timecode 2 OK
auth_agekeys: at 1 keys 1 expired 0
refclock_transmit: at 2 127.127.23.1
acts: state 0 send 13 ATDT033415783
acts: state 1 timecode 14 PROTOCOL: NONE
acts: state 1 timecode 12 CONNECT 1200
acts: state 2 timecode 78 2005-02-23 13:21:30 VIN 230805403270220050223122153424-50000502              *
acts: state 3 timecode 78 2005-02-23 13:21:31 VIN 230805403270220050223122153424-50000503              *
acts: state 3 timecode 78 2005-02-23 13:21:32 VIN 230805403270220050223122153424-50000500              *
acts: state 3 timecode 27 2005-02-23 13:2x$H        *
acts: state 3 timecode 78 2005-02-23 13:21:35 VIN 230805403270220050223122153424-50000503              *
acts: state 3 timecode 78 2005-02-23 13:21:36 VIN 230805403270220050223122153424-50000500              *
acts: state 3 timecode 78 2005-02-23 13:21:37 VIN 230805403270220050223122153424-50000501              *
acts: state 3 timecode 78 2005-02-23 13:21:38 VIN 230805403270220050223122153424-50000502              *
acts: state 3 timecode 78 2005-02-23 13:21:39 VIN 230805403270220050223122153424-50000503              *
acts: state 3 timecode 78 2005-02-23 13:21:40 VIN 230805403270220050223122153424-50000500              *
acts: state 3 timecode 78 2005-02-23 13:21:41 VIN 230805403270220050223122153424-50000501              *
refclock_receive: at 29 127.127.23.1
peer ACTS_PTB(1) event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)
refclock_sample: n 10 offset 62.502742 disp 0.000000 jitter 1.129995
clock_filter: n 1 off 62.502742 del 0.000000 dsp 8.576435 jit 0.000004, age 29
addto_syslog: too many recvbufs allocated (40)
addto_syslog: too many recvbufs allocated (40)
addto_syslog: too many recvbufs allocated (40)


Mvh / Regards
Fredrik Johansson



More information about the questions mailing list