Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: fpausp on July 15, 2008, 06:17:39 PM

Title: Timesync via GPS ?
Post by: fpausp on July 15, 2008, 06:17:39 PM
Hi All,

I like to sync my systemtime via GPS like this:

http://www.punknix.com/?q=node/116

but i can not install the packages, i try to install it with that commands:

yum install gpsd gpsd-clients ntp ntp-simple --enablerepo=*

Can anybody help me please ?



Regards
fpausp
Title: Re: Timesync via GPS ?
Post by: cactus on July 15, 2008, 08:15:53 PM
Hi All,

I like to sync my systemtime via GPS like this:

http://www.punknix.com/?q=node/116

but i can not install the packages, i try to install it with that commands:

yum install gpsd gpsd-clients ntp ntp-simple --enablerepo=*

Can anybody help me please ?
Since the gpsd packages can not be found using http://rpm.pbone.net for CentOS 4/RHEL 4 you can almost be sure that there are no pre-built packages for these architectures available on the net. I guess you will have to try and build them yourself. On the gpsd site (http://gpsd.berlios.de/) should be more information on that topic.
Title: Re: Timesync via GPS ?
Post by: fpausp on July 15, 2008, 10:07:00 PM
Hi,

What i found is this:

http://rpm.pbone.net/index.php3/stat/4/idpl/5630292/com/perl-Net-GPSD-0.36-1.el4.rf.noarch.rpm.html

I dont know if that can do it ?


regards
fpausp
Title: Re: Timesync via GPS ?
Post by: Stefano on July 15, 2008, 10:14:47 PM
no.. you can't do anything with that.. it's a perl module to use gpsd..

HTH
Ciao

Stefano
Title: Re: Timesync via GPS ?
Post by: william_syd on July 16, 2008, 10:50:25 AM
Hi All,

I like to sync my systemtime via GPS like this:

http://www.punknix.com/?q=node/116

but i can not install the packages, i try to install it with that commands:

yum install gpsd gpsd-clients ntp ntp-simple --enablerepo=*

Can anybody help me please ?



Regards
fpausp


Try this on a test system.

  608  wget http://download.berlios.de/gpsd/gpsd-2.30-1.i386.rpm
  609  yum localinstall gpsd-2.30-1.i386.rpm
  610  yum localinstall gpsd-2.30-1.i386.rpm
  611  wget http://download.berlios.de/gpsd/gpsd-clients-2.30-1.i386.rpm
  612  yum localinstall gpsd-clients-2.30-1.i386.rpm
  613  signal-event post-upgrade; signal-event reboot
  614  gpsd -N -D2 -p /dev/ttyUSB0


It's an older version. I don't have a suitable GPS device to test it with.