[ntp:questions] ntpd preplug for detachable gps or testing

Uwe Klein uwe at klein-habertwedt.de
Tue May 17 16:34:50 UTC 2011


DaveB wrote:
> In article <g7haa8-qa6.ln1 at klein-habertwedt.de>, uwe at klein-habertwedt.de 
> says...
> 
>>Hi,
>>
>>I needed to sync a box to gps/nmea.
>>
>>But GPS and all other incoming nmea messages pass
>>via socket connection into the main app.
>>
>>So I wrote a "pre"plug for ntp that indirects the
>>gps tty into a pty.
>>i.e. the pty behaves like the tty ( with attached gps )
>>
>>nmea sentences are handed in via udp socket
>>from either another app or via a helper script that
>>opens and reads a "real" gps device when available.
>>
>>	http://wiki.tcl.tk/28358
>>
>>uwe
> 
> 
> Nice....
A 2 hour hack. the existing shipboard ntp server was 4h off and unfixable.
   (i.e. the network/connectivity provider felt unable to fix it.)

> 
> On MS Win platforms (NT and later)
> Eterlogic's VSPE can do that sort of thing (and lots else too.)
> http://www.eterlogic.com/Products.VSPE.html
> The price is also right.

Most of their stuff seems to be a line of tcl code or two away ;-)

uwe





More information about the questions mailing list