Koozali.org: home of the SME Server

Timesync via GPS ?

Offline fpausp

  • *
  • 728
  • +0/-0
Timesync via GPS ?
« 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
Viribus unitis

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Timesync via GPS ?
« Reply #1 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Timesync via GPS ?
« Reply #2 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
Viribus unitis

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Timesync via GPS ?
« Reply #3 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

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Timesync via GPS ?
« Reply #4 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.


Regards,
William

IF I give advise.. It's only if it was me....