<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=6050&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Infinite Noise TRNG daedalus]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=6050</link>
		<description><![CDATA[The most recent posts in Infinite Noise TRNG daedalus.]]></description>
		<lastBuildDate>Wed, 04 Oct 2023 06:35:41 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Infinite Noise TRNG daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44672#p44672</link>
			<description><![CDATA[<p>I own a usb infnoise TRNG device and had the idea of using it with devuan. I was surprised to see there is a package for it (infnoise_0.3.3%2bdfsg-1_amd64.deb) for my architecture in daedalus.<br />Fortunately I tried to use it before on a chimera installed box and had to intstall the software manually.<br />The maintainer for this package is stated as skitt@debian.org.<br />But I dare to doubt that he placed that (on first sight very nice) sysV startup file <strong>/etc/init.d /infnoise</strong>&#160; there .</p><p>From my point of view that init.d file badly needs a.</p><div class="codebox"><pre><code>--- infnoise    2023-10-03 18:18:39.908014899 +0000
+++ infnoise.orig       2023-10-04 07:48:39.115944604 +0000
@@ -23,11 +23,6 @@
 
 set -e
 
-if [ -e /etc/infnoise.conf ]; then
-  . /etc/infnoise.conf
-fi
-
-
 case &quot;$1&quot; in
        status)
                status_of_proc $DAEMON $NAME</code></pre></div><p>to source the <strong>/etc/infnoise.conf</strong> file for sourcing the environment variables that the binary needs for proper working.</p><p>Imho</p><div class="codebox"><pre><code>INFNOISE_SERIAL=DO0032ZA</code></pre></div><p>with the correct serial number of the device should be set for the infnoise binary to work properly.</p><p>(The TRNG device user can read that number from the labels printed on that device or read it with <span class="bbc">infnoise --list-devices</span>. )</p><p>Another issue that puzzled me - was the content of the file <strong>/lib/udev/rules.d/60-infnoise.rules</strong> .</p><p>The second line</p><div class="codebox"><pre><code>ACTION==&quot;add&quot;, SUBSYSTEM==&quot;usb&quot;, ATTRS{idVendor}==&quot;0403&quot;, ATTRS{idProduct}==&quot;6015&quot; ,TAG+=&quot;systemd&quot;, ENV{SYSTEMD_WANTS}=&quot;infnoise.service&quot;</code></pre></div><p>does what I would have expected it to do in Devuan - nothing. <br />I changed it for</p><div class="codebox"><pre><code>ACTION==&quot;add&quot;, SUBSYSTEM==&quot;usb&quot;, ATTRS{idVendor}==&quot;0403&quot;, ATTRS{idProduct}==&quot;6015&quot;, OPTIONS:=&quot;nowatch&quot;, RUN+=&quot;/etc/init.d/infnoise start&quot;</code></pre></div><p>and it starts the infnoise binary as it is supposed to do - when inserting the TRNG usb device.<br />(As a side effect this hack temporarily generates a &quot;[infnoise] &lt;defunct&gt;&quot; init.d process - which (to me mysteriously) gets killed after some time.) </p><p>Imho there is&#160; legacy files contained in that package too.<br />I have no clue what the file <strong>/lib/systemd/system/infnoise.service</strong> is good for - in that package.</p><p>Also to help inexperienced users to run that device there should be a mentioning of adding the serial number to&#160; <strong>/etc/infnoise.conf</strong> in the man pages.</p><p>Jan</p>]]></description>
			<author><![CDATA[dummy@example.com (devujan)]]></author>
			<pubDate>Wed, 04 Oct 2023 06:35:41 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44672#p44672</guid>
		</item>
	</channel>
</rss>
