Johan Swenker wrote:
> On Sat, 28 Jan 2006 12:07:50 -0800, John Pettitt wrote:
>
>>> OK, I did some testing!  I'd still like to know if you can select
>>> the COM port and baud rate without recompiling.
>>
>> Nope it's a hard define in refclock_nmea.c
>>
>> #define SPEED232        B4800   /* uart speed (4800 bps) */
>>
> On a unix-like system you can however use standard functionality to
> change the baudrate after ntpd set it to the default value.
>
> stty 9600 < /dev/ttyS1
>
> sets the baudrate of device /dev/ttyS1 to 9600.
>
> Succes, Johan

Indeed, however the issue is extending that to other operating systems, 
rather than relying on an external OS-specifc function.  Having a setting 
in the ntp.conf file would be more consistent.

David 


_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions

Reply via email to