FreeBSD ntpd

Aus Gude Systems GmbH
Version vom 7. März 2013, 20:01 Uhr von Mb (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „==This is a very short sketch covering ntpd installation using FreeBSD and '''Expert mouseCLOCK USB II'''== *replace ntpd daemon at /usr/sbin/ntpd with a new …“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

This is a very short sketch covering ntpd installation using FreeBSD and Expert mouseCLOCK USB II

  • replace ntpd daemon at /usr/sbin/ntpd with a new compiled ntpd v4.2.4 (or later) configured with option "--enable-RAWDCF"
  • link refclock-0 to cuaU0
# /etc/devfs.conf
link    cuaU0   refclock-0
  • setup rc configuration
ntpd_enable="YES"
  • setup ntp.conf
# /etc/ntp.conf anlegen
server 127.127.8.0 prefer mode 19
  • patch uftdi kernel module to support the Expert mouseCLOCK USB II
    • Kernel Patch for Expert mouseCLOCK USB II : freebsd.org
    • to all appearances the Patch get release in FreeBSD Realease 7 officially


  • recompile kernel module
cd /usr/src/sys/modules/uftdi
make
make install
  • setup /boot/loader.conf to make uftdi load on system startup
uftdi_load="YES"
ucom_load="YES"
  • check syslog if driver loads
ucom0: GUDEADS Expert mouseCLOCK USB II, rev 2.00/6.00, addr 2
  • now you should have /dev/cuaU0 with a symlik /dev/refclock-0, ntpd running and reading DCF77.



Mbachem 14:19, 5. Jun 2007 (CEST) with many thanks to Thorsten Trampisch