<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hallo,<br>
<br>
vielen Dank für die Antworten !<br>
Ich nutze das Image vom Rainer fast alle Eintrage waren schon
vorgenommen, in Modules musste nur die Änderung zum Rev 1 Board
vorgenommen und<br>
<br>
<pre style="font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin-top: 0px; margin-bottom: 0px; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="line" id="LC259" style="padding-left: 10px;"><span class="k" style="font-weight: bold;">if</span> <span class="p">(</span><span class="n" style="color: rgb(51, 51, 51);">fp</span> <span class="o" style="font-weight: bold;">!=</span> <span class="nb" style="color: rgb(0, 134, 179);">NULL</span><span class="p">)</span></div><div class="line" id="LC260" style="padding-left: 10px;"> <span class="n" style="color: rgb(51, 51, 51);">fclose</span> <span class="p">(</span> <span class="n" style="color: rgb(51, 51, 51);">fp</span> <span class="p">);
</span><tt><span class="p">in 1wirevz</span>.c</tt>
<span class="p"></span><span class="p">
</span></div></pre>
<br>
Die einzige Abweichung die ich sehe ist diese:<br>
<br>
<i>$ sudo vim /etc/init.d/rc.local ( replace '$ALL' with
'$remote_fs $syslog $network' )</i><br>
<br>
in meiner rc.local gibt es kein "$ALL" an welcher Stelle muss nun
das "$remote_fs $syslog $network" einfügen ?<br>
<br>
<br>
Gruß Thomas<br>
<br>
<br>
Am 11.08.2013 15:51, schrieb W3ll Schmidt:<br>
</div>
<blockquote
cite="mid:CAKOLWjTiG_4nLW9Nay8OzkK5UkCVsx+K94qYLyAyGdizxwRveg@mail.gmail.com"
type="cite">
<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><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>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
moz-do-not-send="true" href="mailto:corny_marius@web.de">corny_marius@web.de</a>
<span dir="ltr"><<a moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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>
</blockquote>
<br>
</body>
</html>