On Wed, 11 Apr 2007, James Hartley wrote:

> I have questionable ntp foo, & searching through the misc@ archives along
> with reading the FAQ has only gotten me so far.  I have a Garmin 18 GPS:
> 
> http://www.amazon.com/gp/product/B000196BW6/104-8542380-5084714
> 
> ...which is connected to the serial port of a Sun Ultra 10.  I am unable to
> determine whether I'm stylin' or out in the weeds when it comes to
> configuring ntp via GPS:
> 
> # nmeaattach cua00
> # ntpd -ds &
> [1] 30616
> # ntp engine ready
> sensor nmea0 added

Very likely you Sun uses different serial ports than cua00. Check your
dmesg to see which driver is uses, then use the driver man page to
determine the /dev node to use.

        -Otto
        
> 
> ...which appears fine as does ps' output:
> 
> USER       PID %CPU %MEM   VSZ   RSS TT   STAT STARTED       TIME COMMAND
> ...
> root     16741  0.0  0.0   320    80 ??  Is    11:50PM    0:00.00 nmeaattach
> cua00
> root     30616  0.0  0.2   536  1240 p0  I     11:50PM    0:00.06 ntpd:
> [priv] (ntpd)
> _ntp     12162  0.0  0.2   536  1136 p0  I     11:50PM    0:00.03 ntpd: ntp
> engine (ntpd)
> ...
> 
> However, searching for the associated sensor didn't generate any warm &
> fuzzies:
> 
> # sysctl hw
> hw.machine=sparc64
> hw.model=SUNW,UltraSPARC-IIi @ 440 MHz, version 0 FPU
> hw.ncpu=1
> hw.byteorder=4321
> hw.physmem=536870912
> hw.usermem=536403968
> hw.pagesize=8192
> hw.disknames=wd0,cd0
> hw.diskcount=2
> hw.vendor=Sun
> hw.product=Ultra 5/10 UPA/PCI
> #
> 
> ...and the only message emitted to stdout/stderr is:
> 
> # no reply received in time, skipping initial time setting
> 
> Looking at /var/log/daemon only shows:
> 
> Apr 10 22:36:42 shockley ntpd[21535]: ntp engine ready
> Apr 10 22:36:43 shockley savecore: no core dump
> 
> Can anyone help educate an ntp neophyte?
> 
> Thanks.

Reply via email to