<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.gude-systems.com/index.php?action=history&amp;feed=atom&amp;title=Ntpd_Centos7_mouseCLOCK_USB_II</id>
	<title>Ntpd Centos7 mouseCLOCK USB II - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gude-systems.com/index.php?action=history&amp;feed=atom&amp;title=Ntpd_Centos7_mouseCLOCK_USB_II"/>
	<link rel="alternate" type="text/html" href="https://wiki.gude-systems.com/index.php?title=Ntpd_Centos7_mouseCLOCK_USB_II&amp;action=history"/>
	<updated>2026-05-21T19:10:17Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Gude Systems GmbH</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.gude-systems.com/index.php?title=Ntpd_Centos7_mouseCLOCK_USB_II&amp;diff=426&amp;oldid=prev</id>
		<title>Mb am 9. Juli 2015 um 13:09 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.gude-systems.com/index.php?title=Ntpd_Centos7_mouseCLOCK_USB_II&amp;diff=426&amp;oldid=prev"/>
		<updated>2015-07-09T13:09:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 9. Juli 2015, 13:09 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This HOWTO was generated by a user trying to use the generic [Ntpd Installation|ntpd Howto] when using [[http://www.centos.org/download/ Centos7]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This HOWTO was generated by a user trying to use the generic &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;[Ntpd Installation|ntpd Howto&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;] when using [[http://www.centos.org/download/ Centos7]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mb</name></author>
	</entry>
	<entry>
		<id>https://wiki.gude-systems.com/index.php?title=Ntpd_Centos7_mouseCLOCK_USB_II&amp;diff=425&amp;oldid=prev</id>
		<title>Mb: Die Seite wurde neu angelegt: „This HOWTO was generated by a user trying to use the generic [Ntpd Installation|ntpd Howto] when using http://www.centos.org/download/ Centos7   =install N…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.gude-systems.com/index.php?title=Ntpd_Centos7_mouseCLOCK_USB_II&amp;diff=425&amp;oldid=prev"/>
		<updated>2015-07-09T13:08:51Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „This HOWTO was generated by a user trying to use the generic [Ntpd Installation|ntpd Howto] when using &lt;a href=&quot;/index.php?title=Http://www.centos.org/download/_Centos7&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Http://www.centos.org/download/ Centos7 (Seite nicht vorhanden)&quot;&gt;http://www.centos.org/download/ Centos7&lt;/a&gt;   =install N…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This HOWTO was generated by a user trying to use the generic [Ntpd Installation|ntpd Howto] when using [[http://www.centos.org/download/ Centos7]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=install NTP=&lt;br /&gt;
 sudo apt-get install ntp&lt;br /&gt;
or&lt;br /&gt;
 sudo yum install ntp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=generate persistent symlink=&lt;br /&gt;
If your system is using udevd, it is recommended to configure udevd to create the right symlink once a device appears. Try to insert one the following rules to /etc/udev/rules.d/ :&lt;br /&gt;
 KERNEL==&amp;quot;ttyUSB*&amp;quot;, ATTRS{idProduct}==&amp;quot;e88a&amp;quot;, SYMLINK+=&amp;quot;refclock-%m&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=integrate in NTP=&lt;br /&gt;
To tell ntpd which hardware is connected to which serial interface, add the following to /etc/ntp.conf and uncomment (remove preceeding #-sign).&lt;br /&gt;
 #################################&lt;br /&gt;
 # local clock as fallback&lt;br /&gt;
 server 127.127.1.0 &lt;br /&gt;
 fudge 127.127.1.0 stratum 10&lt;br /&gt;
 &lt;br /&gt;
 #################################&lt;br /&gt;
 # Expert mouseCLOCK USB II&lt;br /&gt;
 server 127.127.8.0 mode 19&lt;br /&gt;
 &lt;br /&gt;
 # logging&lt;br /&gt;
 logfile /var/log/ntp&lt;br /&gt;
 logconfig =all&lt;br /&gt;
&lt;br /&gt;
* Note: Lines beginning with # are remarks, so un-remark the '''# server''' line to match your hardware.&lt;br /&gt;
* Extra info : Server ''127.127.8.0 mode 14'' means : &lt;br /&gt;
** ''127.127'' : use hardware [http://www.eecis.udel.edu/~mills/ntp/html/refclock.html parse driver]&lt;br /&gt;
** ''.8'' : use [http://www.eecis.udel.edu/~mills/ntp/html/drivers/driver8.html parse driver 8]&lt;br /&gt;
** ''.0'' : use reflock-'''0''' to poll this device&lt;br /&gt;
** ''mode 14'' : use driver 8's clock type 14&lt;br /&gt;
&lt;br /&gt;
Now reboot your machine, wait for at least 3 minutes and check /var/log/ntp for errors. If the last line says SYNCHRONIZED, your device is up and running.&lt;br /&gt;
&lt;br /&gt;
=common errors=&lt;br /&gt;
==INCOMPLETE DATA==&lt;br /&gt;
Make sure you waited at least 3 minutes and your device is well aligned to receive it's signal. &lt;br /&gt;
&lt;br /&gt;
==no such file==&lt;br /&gt;
When systemd is used, it is likely that ntpd is started before symlink is created. In this case, simply restart ntpd after symlink is created. Open crontab&lt;br /&gt;
 sudo crontab -e&lt;br /&gt;
add&lt;br /&gt;
 @reboot sleep 60; systemctl restart ntpd&lt;br /&gt;
and save changes. &lt;br /&gt;
==permission denied==&lt;br /&gt;
If your system is running AppArmor or SELinux, it is likely that ntpd is not allowed to access your clock. &lt;br /&gt;
===AppArmor===&lt;br /&gt;
[http://support.ntp.org/bin/view/Support/KnownOsIssues#Section_9.2.4.3.1. known NTP issues with AppArmor]&lt;br /&gt;
&lt;br /&gt;
You can use Yast2. &lt;br /&gt;
*Open Yast2 -&amp;gt; Novell AppArmor -&amp;gt; Edit Profile&lt;br /&gt;
*Select profile /usr/sbin/ntpd&lt;br /&gt;
*Add entry: /dev/ttyS0 (or /dev/ttyUSB0 depending on your device)&lt;br /&gt;
*Mark allow for: Read, Write, Link&lt;br /&gt;
&lt;br /&gt;
This generates a new entry in the AppArmor profile file.&lt;br /&gt;
&lt;br /&gt;
===SELinux===&lt;br /&gt;
[http://support.ntp.org/bin/view/Support/KnownOsIssues#Section_9.2.4.3.2. known NTP issues with SELinux]&lt;br /&gt;
&lt;br /&gt;
By default SELinux runs in &amp;quot;enforced&amp;quot; mode which inhibits access to resources which have not explicitely been configured. In order to find out which kind of access shall be granted to a process SELinux can be temporarily switched to &amp;quot;permissive&amp;quot; mode which does not inhibit access but logs all accesses which would be inhibited in &amp;quot;enforced&amp;quot; mode:&lt;br /&gt;
&lt;br /&gt;
 setenforce Permissive&lt;br /&gt;
&lt;br /&gt;
Now start or restart the NTP daemon so it tries to access the required resources:&lt;br /&gt;
&lt;br /&gt;
 service ntpd restart&lt;br /&gt;
&lt;br /&gt;
Wait some time until the NTP daemon has opened all devices, created all log files, etc. The relevant log messages can then be found at the end of the SELinux logfile, and can be extracted using grep:&lt;br /&gt;
&lt;br /&gt;
 grep ntpd /var/log/audit/audit.log &amp;gt; ntpd-audit.log&lt;br /&gt;
&lt;br /&gt;
Finally set SELinux back to enforcing mode:&lt;br /&gt;
&lt;br /&gt;
 setenforce Enforcing&lt;br /&gt;
&lt;br /&gt;
The relevant log entries are now in our file ntpd-audit.log, and you may edit this file to see whether there are old/duplicate entries which can be removed.&lt;br /&gt;
&lt;br /&gt;
The following three commands are required to parse the log entries and create a .pp file which can be supplied to SELinux. In the example below we assume the basename of the generated files is ntpd, so the final target file is ntpd.pp:&lt;br /&gt;
&lt;br /&gt;
 audit2allow -m ntpd &amp;lt;ntpd-audit.log &amp;gt;ntpd.te&lt;br /&gt;
 checkmodule -M -m -o ntpd.mod ntpd.te&lt;br /&gt;
 semodule_package -o ntpd.pp -m ntpd.mod&lt;br /&gt;
&lt;br /&gt;
If all the commands above have been finished without error the new profile can be installed and loaded:&lt;br /&gt;
&lt;br /&gt;
 semodule -i ntpd.pp&lt;br /&gt;
&lt;br /&gt;
After this has been done once ntpd should run fine.&lt;/div&gt;</summary>
		<author><name>Mb</name></author>
	</entry>
</feed>