<div dir="ltr"><p>1. Deamon kompilieren -><br></p><p>1wirevz.c -> 'sudo gcc -o /usr/local/sbin/1wirevz /usr/local/src/1wirevz/1wirevz.c -lconfig -lcurl'</p><p></p><p><br></p><p>2. Config file anlegen</p>
<p>1wirevz.cfg -> /etc/</p><p><br></p><p>3. Startup-Script anlegen</p>
<p>rc.local -> /etc/ ( ! add this settings, dont overwrite your exisiting rc.local ! ) <br></p><p><br></p><p>4. Modules anpassen<br></p>
<p>modules -> /etc/ ( ! add this settings, dont overwrite your exisiting modules ! )</p><p><br></p><p>5. Init.Script anlegen<br></p><p></p>
<p>1wirevz -> /etc/init.d/ (Start/Stop-Script!)</p><p><br></p><p>---</p><p>6. rc.local anpassen<br></p><p>$ sudo vim /etc/init.d/rc.local ( replace '$ALL' with '$remote_fs $syslog $network' )</p>
<p><br></p><p>5. Autostartbar machen<br></p>
<p>$ sudo insserv 1wirevz ( make deamon autostart )</p><p><br></p><p>6. Config anpassen!<br></p>
<p>$ sudo vim /etc/1wirevz.cfg ( edit your config )</p><p><br></p><p>7. ReBoot<br></p>
<p>Reboot and check '/var/log/syslog' for outputs!</p></div><div class="gmail_extra"><br><br><div class="gmail_quote">Am 11. August 2013 13:22 schrieb <a href="mailto:corny_marius@web.de">corny_marius@web.de</a> <span dir="ltr"><<a href="mailto:corny_marius@web.de" target="_blank">corny_marius@web.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Die Änderungen in /etc/modules und /etc/rc.local gemacht und danach den Raspi neu gestartet?</div>
<div><br></div><div>Grüße Marius <br><br>Von meinem iPhone gesendet</div><div><br>Am 11.08.2013 um 13:16 schrieb "Thomas Janz" <<a href="mailto:janz.thomas@gmail.com" target="_blank">janz.thomas@gmail.com</a>>:<br>
<br></div><div><div class="h5"><blockquote type="cite"><div>
Hallo,<br>
<br>
Ich habe die Raspi Erweiterung vom Udo Rev1 <a href="http://wiki.volkszaehler.org/hardware/controllers/raspberry_pi_erweiterung" style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:25px;color:rgb(65,131,196);text-transform:none;font-size:15px;white-space:normal;text-decoration:none;font-family:Helvetica,arial,freesans,clean,sans-serif;word-spacing:0px" target="_blank">http://wiki.volkszaehler.org/hardware/controllers/raspberry_pi_erweiterung</a>
und habe folgende Fehlermeldung nach der Instatalltion von 1 wire.<br>
<i><br>
</i><i> Aug 11 12:54:16 raspberrypi 1wirevz: No such file or
directory</i><br>
<br>
Ich habe keine Ahnung welches <i>file or directory</i> hier
erwartet wird.<br>
<br>
Hier die komplette Ausgabe mit <span style="color:rgb(166,23,23);background-color:rgb(227,210,210);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18px;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px">cat</span><span> </span><span style="color:rgb(166,23,23);background-color:rgb(227,210,210);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18px;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px">/var/log/syslog|grep</span><span> </span><span style="color:rgb(166,23,23);background-color:rgb(227,210,210);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18px;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px">1wirevz</span><br>
<br>
Aug 11 12:54:16 raspberrypi 1wirevz: VzServer: 127.0.0.1<br>
Aug 11 12:54:16 raspberrypi 1wirevz: VzPort: 80<br>
Aug 11 12:54:16 raspberrypi 1wirevz: VzPath: middleware.php<br>
Aug 11 12:54:16 raspberrypi 1wirevz: Metering interval: 60 sec<br>
Aug 11 12:54:16 raspberrypi 1wirevz: No such file or directory<br>
<br>
Die Installation habe ich nach <a href="https://github.com/w3llschmidt/1wirevz" target="_blank">https://github.com/w3llschmidt/1wirevz</a>
vorgenommen<br>
<br>
Danke !<br>
<br>
Gruß Thomas
</div></blockquote></div></div></div></blockquote></div><br></div>