Zeile 36: |
Zeile 36: |
| | | |
| === Linux === | | === Linux === |
− | * Camorama | + | ==== Camorama ==== |
| + | * installieren: apt-get install camorama |
| + | |
| + | |
| + | == Anzeigen auf dem Router == |
| + | Anlegen eines Links: |
| + | <pre> |
| + | cd /www |
| + | vi 20-cgi-bin-webcam |
| + | </pre> |
| + | |
| + | Text einfügen: |
| + | |
| + | <pre> |
| + | <TR><TD> |
| + | <DIV CLASS="plugin"><A CLASS="plugin" HREF="cgi-bin-webcam.html">Webcam</A></DIV></TD> |
| + | </TR> |
| + | </pre> |
| + | |
| + | Dann noch die Site anlegen |
| + | |
| + | <pre> |
| + | cd /www |
| + | vi cgi-bin-webcam.html |
| + | </pre> |
| + | |
| + | und Text einfügen: |
| + | |
| + | |
| + | === Anzeigen als Bild === |
| + | <pre> |
| + | #!/bin/sh |
| + | |
| + | export DATE="18.11.2006";SCRIPT=${0#/rom} |
| + | export TITLE="Webcam" |
| + | . ${SCRIPT%/*}/cgi-bin-pre.sh |
| + | |
| + | cat<<EOF |
| + | <html><head> |
| + | <meta http-equiv="expires" content="0"> |
| + | <meta http-equiv="pragma" content="no-cache"> |
| + | <meta http-equiv="refresh" content="30"> |
| + | <center> |
| + | <H1>Webcam</H1><br> |
| + | <img src="cam.jpg" name="Webcambild" width="480" hight="360"><br> |
| + | Images refreshed every 30 seconds. |
| + | </center> |
| + | </body></html> |
| + | EOF |
| + | |
| + | . ${SCRIPT%/*}/cgi-bin-post.sh |
| + | </pre> |
| | | |
| [[Kategorie:Howto]] | | [[Kategorie:Howto]] |
| + | [[Kategorie:Hardware]] |