FreeBSD ntpd
Version vom 7. März 2013, 20:25 Uhr von Mb (Diskussion | Beiträge)
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.