SUN Solaris Paket fuer HOPF Industriefunkuhren mit serieller Schnittstelle ========================================================================== Das Paket ist fuer HOPF Funkuhren mit serieller Schnittstelle vorkonfiguriert. Die Funkuhr muss einen Standard 6021 kompatiblen String mit Uhrzeit und Datum in UTC liefern. Installation ------------ - Die Datei HOPFntp_Solaris_SPARC.tar.Z in einem temporaeren Verzeichnis auspacken und mit "pkgadd -d . HOPFntp" installieren. - Die Links /dev/hopfclock0 auf /dev/ttya und /dev/hopfclock1 auf /dev/ttyb werden automatisch angelegt. Standardmaessig wird /dev/hopfclock0, also Serielle Schnittstelle A, verwendet. Soll stattdessen die Uhr an der Schnittstelle B angeschlossen werden, muss im Konfigurationsfile /opt/HOPFntp/etc/ntp.conf der entsprechende Eintrag (mit "# Serial B" gekennzeichnet) auskommentiert werden. - Nach Installation und einem Neustart des Systems wird der NTP Daemon automatisch gestartet. Manuelles Starten und Stoppen ist mit dem Script /etc/init.d/ntpd moeglich ("/etc/init.d/ntpd start" bzw. "/etc/init.d/ntpd stop"). Serielle Kommunikation ---------------------- Die serielle Schnittstelle ist wie folgt zu konfigurieren: Uebertragungsparameter: 9600 Baud, 8 Datenbits, 1 Stopbit, keine Paritaet Datenstring: *) Hopf Standard 6021 *) Ausgabe jede Sekunde *) Zeitbasis: UTC *) mit Sekundenvorlauf *) Steuerzeichen ETX zum Sekundenwechsel mit Verzoegerung *) LF->CR Die Funkuhren werden ueblicherweise genau mit diesen Einstellungen ausgeliefert; falls bereits Aenderungen vorgenommen wurden, koennen diese entweder ueber die mitgelieferte Remotesoftware (z.B. Modelle 4465, 6870, 6875) oder ueber die Tastatur an der Frontblende (z.B. Modelle 6842, 6855) angepasst werden. ACHTUNG: Das Verbindungskabel sollte nur die RX und TX Leitungen verwenden! Logging ------- Ein Logfile /var/opt/HOPFntp/ntpd.log wird angelegt. Soll stattdessen mit dem Syslog mitprotokolliert werden, muss der Eintrag "logfile /var/opt/HOPFntp/ntpd.log" in /opt/HOPFntp/etc/ntp.conf auskommentiert oder geloescht werden. Anmerkungen zum korrekten Betrieb --------------------------------- - Damit der NTP daemon korrekt funktioniert, darf die Differenzzeit des Systems und der Funkuhr nicht groesser als 1000s sein! Eventuell mit date die Systemzeit anpassen und anschliessend den Daemon starten. Bei Fragen oder Installationsproblemen wenden Sie sich bitte an unser Support-Team unter der eMail-Adresse: support-hopf@rdcs.at Aktualisierte Versionen erhalten Sie auf unserer WWW-Seite: http://www.rdcs.at/ ------------------------------------------------------------------------------- SUN Solaris package for HOPF radio controlled clocks with a serial interface ============================================================================ This is a preconfigured package for HOPF radio controlled clock systems with a serial interface. The clock has to send a standard 6021 compatible string with time and date in UTC format. Installation ------------ - extract HOPFntp_Solaris_SPARC.tar.Z into a temporary directory and install it using "pkgadd -d . HOPFntp". - the necessary links /dev/hopfclock0 (points to /dev/ttya) and /dev/hopfclock1 (points to /dev/ttyb) are created automatically. Per default /dev/hopfclock0 (serial interface A) is used. To use serial interface B you have to edit the configuration file /opt/HOPFntp/etc/ntp.conf and uncomment the corresponding lines (marked by "# Serial B"). - after installation and reboot of the system the NTP daemon is started automatically. To manually start and stop the daemon you have to call the script /etc/init.d/ntpd ("/etc/init.d/ntpd start", "/etc/init.d/ntpd stop"). Serial Communication -------------------- The serial interface has to be configured as follows: Communication parameters: 9600 bauds, 8 data bits, 1 stop bit, no parity Data string: *) Hopf Standard 6021 string *) transmission every second *) timebase: UTC *) with second forerun enabled *) Control Character ETX on second change with string delay *) LF->CR The radio controlled clocks are usually shipped with the required configuration. If already changes have been made, configuration can be done using the shipped remote software (e.g. models 4465, 6870, 6875) or the keypad at the front panel (e.g. models 6842, 6855). ATTENTION: You have to use a serial cable with only RX and TX connected! Logging ------- A logfile /var/opt/HOPFntp/ntpd.log will be created. To utilize the syslog facility just erase or comment "logfile /var/opt/HOPFntp/ntpd.log" in the NTP configuration file /opt/HOPFntp/etc/ntp.conf. Comments for proper use of NTP ------------------------------ - the NTP daemon only works properly if the time difference between the system clock and the radio controlled clock is not greater then 1000 seconds! Set the system time if necessary before starting the daemon. If you do have any questions or encounter any installation troubles please feel free to contact our support team using the following e-mail address: support-hopf@rdcs.at You also can get new versions on our WWW site: http://www.rdcs.at/