Restarting GPS Clocks

Need to change hostnames and IPs for both clocks before running the commands below:


mount 10.1.1.101:/NAS/common /common
mount 10.1.1.101:/NAS/backup /backup
mount 10.1.1.101:/NAS/log/hcpi003 /var/log
mount 10.1.1.101:/NAS/admin /admin
/etc/init.d/rsyslog restart

/etc/init.d/ntp stop
/usr/sbin/ntpdate 0.pool.ntp.org

/bin/echo -e '$PMTK314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0*29\r\n' > /dev/ttyAMA0

/etc/init.d/ntp start
watch ntpq -p 127.0.0.1