Add Huginn and Muninn web content
This commit is contained in:
parent
3869a3b212
commit
42a9e1e2e0
1
examples/webserver-ipv6-raven/Huginn/404.html
Normal file
1
examples/webserver-ipv6-raven/Huginn/404.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<html><body bgcolor="white"><center><h1>404 - file not found</h1><h3>Go <a href="/">here</a> instead.</h3></center></body></html>
|
BIN
examples/webserver-ipv6-raven/Huginn/favicon.png
Normal file
BIN
examples/webserver-ipv6-raven/Huginn/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 353 B |
5
examples/webserver-ipv6-raven/Huginn/files.shtml
Normal file
5
examples/webserver-ipv6-raven/Huginn/files.shtml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
%!: /header.html
|
||||||
|
<h1>File statistics</h1><br><table width="100%"><tr align="left"><th>Name</th><th>Accesses</th></tr>
|
||||||
|
%! file-stats *
|
||||||
|
</table>
|
||||||
|
%!: /footer.html
|
1
examples/webserver-ipv6-raven/Huginn/footer.html
Normal file
1
examples/webserver-ipv6-raven/Huginn/footer.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
</div></body></html>
|
6
examples/webserver-ipv6-raven/Huginn/header.html
Normal file
6
examples/webserver-ipv6-raven/Huginn/header.html
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html><head><title>Huginn</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/style.css"><link rel="icon" href="favicon.png" type="image/png">
|
||||||
|
</head><body bgcolor="#fffeec" text="black">
|
||||||
|
<div class="menublock"><div class="menu"><p class="border-title">Menu</p><p class="menu"><a href="/">Front page</a><br><a href="files.shtml">File statistics</a><br><a href="tcp.shtml">Network connections</a><br><a href="process.shtml">System processes</a><br><a href="sensor.shtml">Sensor Readings</a></p></div></div>
|
||||||
|
<div class="contentblock"><p class="border-title">Welcome to the <a href="http://www.sics.se/contiki/">Contiki</a> web server on Huginn!</p>
|
10
examples/webserver-ipv6-raven/Huginn/index.html
Normal file
10
examples/webserver-ipv6-raven/Huginn/index.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
%!:/header.html
|
||||||
|
<p class="intro">I am an <a href="http://www.atmel.com/dyn/products/tools_card.asp?family_id=676&family_name=MCU+Wireless&tool_id=4395">Atmel Raven</a>
|
||||||
|
running the <a href="http://www.sics.se/contiki/">Contiki</a> operating system. I have a small 150KB memory but I am very fast!
|
||||||
|
<br>I am named after <a href="http://en.wikipedia.org/wiki/Huginn_and_Muninn">a mythical raven</a> who gathered information for the <a href="http://en.wikipedia.org/wiki/Odin">Norse God Odin</a>.
|
||||||
|
<br><br>You might also want to visit my companion <a href=http://muninn.localhost>Muninn</a>.
|
||||||
|
<br>We share information using <a href="http://www.ipv6.org">ipv6</a>
|
||||||
|
through a low power <a href="http://www.google.com/search?q=6lowpan">6lowPAN</a> wireless <a href="http://en.wikipedia.org/wiki/IEEE_802.15.4">802.15.4</a> 10Kbps network.
|
||||||
|
<br>The <a href="http://www.sics.se/%7Eadam/contiki/docs-uipv6/a01108.html">Jackdaw</a> is our link to the Web. If he is offline you can't get to us!
|
||||||
|
<br><br>Thought rules! Awwk!</P>
|
||||||
|
%!file-stats .
|
7
examples/webserver-ipv6-raven/Huginn/makefsdata.h
Normal file
7
examples/webserver-ipv6-raven/Huginn/makefsdata.h
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#include <avr/eeprom.h>
|
||||||
|
|
||||||
|
/* Link layer ipv6 address will become fe80::11:22ff:fe33:4455 */
|
||||||
|
uint8_t mac_address[8] EEMEM = {0x02, 0x11, 0x22, 0xff, 0xfe, 0x33, 0x44, 0x55};
|
||||||
|
uint8_t server_name[16] EEMEM = "huginn";
|
||||||
|
uint8_t domain_name[30] EEMEM = "localhost";
|
||||||
|
|
5
examples/webserver-ipv6-raven/Huginn/process.shtml
Normal file
5
examples/webserver-ipv6-raven/Huginn/process.shtml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
%!: /header.html
|
||||||
|
<h1>System processes</h1><br><table width="100%"><tr><th>ID</th><th>Name</th><th>Thread</th><th>Process state</th></tr>
|
||||||
|
%! processes
|
||||||
|
</table>
|
||||||
|
%! file-stats .
|
2
examples/webserver-ipv6-raven/Huginn/robots.txt
Normal file
2
examples/webserver-ipv6-raven/Huginn/robots.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
user-agent: *
|
||||||
|
Disallow: /
|
4
examples/webserver-ipv6-raven/Huginn/sensor.shtml
Normal file
4
examples/webserver-ipv6-raven/Huginn/sensor.shtml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
%!: /header.html
|
||||||
|
<h1>Sensor Readings</h1><br>
|
||||||
|
%! sensors
|
||||||
|
%! file-stats .
|
22
examples/webserver-ipv6-raven/Huginn/style.css
Normal file
22
examples/webserver-ipv6-raven/Huginn/style.css
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
h1{text-align:center;font-size:14pt;font-family:arial,helvetica;font-weight:bold;padding:10px;}
|
||||||
|
body{background-color:#fffeec;color:black;font-size:8pt;font-family:arial,helvetica;}
|
||||||
|
.wrap{width:98%;margin:0 auto;text-align:left;font-family:arial,helvetica;}
|
||||||
|
.menublock{margin:4px;width:15%;float:left;padding:10px;border:solid 1px;background-color:#fffcd2;text-align:left;font-size:9pt;font-family:arial,helvetica;}
|
||||||
|
.contentblock{margin:4px;width:50%;float:left;padding:10px;border:1px dotted;background-color:white;font-size:8pt;font-family:arial,helvetica;}
|
||||||
|
.newsblock{margin:4px;width:24%;float:left;padding:10px;border:solid 1px;background-color:#fffcd2;text-align:left;font-size:8pt;font-family:arial,helvetica;}
|
||||||
|
.printable{margin:4px;width:24%;float:left;padding:10px;border:0;background-color:#fffeec;text-align:right;font-size:8pt;font-family:arial,helvetica;}
|
||||||
|
div.rfig{border:solid 1px; text-align:left;padding:10px;margin:10px;font-size:8pt;float:right;}
|
||||||
|
pre.example{border:solid 1px; padding:10px;margin:10px;text-align:left;font-size:8pt;font-family:arial,helvetica;white-space:pre;}
|
||||||
|
p.intro{margin-left:20px;margin-right:20px;font-size:10pt;font-family:arial,helvetica;}
|
||||||
|
p.clink{font-size:12pt;font-family:courier,monospace; text-align:center;}
|
||||||
|
p.clink9{font-size:9pt;font-family:courier,monospace;text-align:center;}
|
||||||
|
p.related{font-size:10pt;font-family:arial,helvetica;text-align:center;}
|
||||||
|
img.right{float:right;margin:10px;}
|
||||||
|
img.left{float:left;margin:10px;}
|
||||||
|
p.fig{border:solid 1px;text-align:center;padding:10px;margin:10px;font-size:7pt;}
|
||||||
|
p.rfig{border:solid 1px;text-align:center;padding:10px;margin:10px;font-size:7pt;float:right;}
|
||||||
|
p.lfig{border:solid 1px;text-align:center;padding:10px;margin:10px;font-size:7pt;float:left;}
|
||||||
|
p{padding-left:10px;}
|
||||||
|
p.mailaddr{padding-left:10px;font-size:7pt;font-family:courier,terminal;text-align:right;}
|
||||||
|
p.right{text-align:right;}
|
||||||
|
p.border-title{text-align:center;font-size:14pt;padding:0px;margin:4px;margin-bottom:10px;color:black;background-color:#fffcba;border:solid 1px;}
|
5
examples/webserver-ipv6-raven/Huginn/tcp.shtml
Normal file
5
examples/webserver-ipv6-raven/Huginn/tcp.shtml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
%!: /header.html
|
||||||
|
<h1>Current connections</h1><br><table width="100%"><tr><th>Local</th><th>Remote</th><th>State</th><th>Retransmissions</th><th>Timer</th><th>Flags</th></tr>
|
||||||
|
%! tcp-connections
|
||||||
|
</table>
|
||||||
|
%! file-stats .
|
5
examples/webserver-ipv6-raven/Huginn/upload.html
Normal file
5
examples/webserver-ipv6-raven/Huginn/upload.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<html><body>
|
||||||
|
<form action="upload.html" enctype="multipart/form-data" method="post">
|
||||||
|
<input name="userfile" type="file" size="50" />
|
||||||
|
<input value="Upload" type="submit" />
|
||||||
|
</form></body></html>
|
1
examples/webserver-ipv6-raven/Muninn/404.html
Normal file
1
examples/webserver-ipv6-raven/Muninn/404.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<html><body bgcolor="white"><center><h1>404 - file not found</h1><h3>Go <a href="/">here</a> instead.</h3></center></body></html>
|
BIN
examples/webserver-ipv6-raven/Muninn/favicon.png
Normal file
BIN
examples/webserver-ipv6-raven/Muninn/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 353 B |
5
examples/webserver-ipv6-raven/Muninn/files.shtml
Normal file
5
examples/webserver-ipv6-raven/Muninn/files.shtml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
%!: /header.html
|
||||||
|
<h1>File statistics</h1><br><table width="100%"><tr align="left"><th>Name</th><th>Accesses</th></tr>
|
||||||
|
%! file-stats *
|
||||||
|
</table>
|
||||||
|
%!: /footer.html
|
1
examples/webserver-ipv6-raven/Muninn/footer.html
Normal file
1
examples/webserver-ipv6-raven/Muninn/footer.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
</div></body></html>
|
6
examples/webserver-ipv6-raven/Muninn/header.html
Normal file
6
examples/webserver-ipv6-raven/Muninn/header.html
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html><head><title>Muninn</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/style.css"><link rel="icon" href="favicon.png" type="image/png">
|
||||||
|
</head><body bgcolor="#fffeec" text="black">
|
||||||
|
<div class="menublock"><div class="menu"><p class="border-title">Menu</p><p class="menu"><a href="/">Front page</a><br><a href="files.shtml">File statistics</a><br><a href="tcp.shtml">Network connections</a><br><a href="process.shtml">System processes</a><br><a href="sensor.shtml">Sensor Readings</a></p></div></div>
|
||||||
|
<div class="contentblock"><p class="border-title">Welcome to the <a href="http://www.sics.se/contiki/">Contiki</a> web server on Muninn!</p>
|
10
examples/webserver-ipv6-raven/Muninn/index.html
Normal file
10
examples/webserver-ipv6-raven/Muninn/index.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
%!:/header.html
|
||||||
|
<p class="intro">I am an <a href="http://www.atmel.com/dyn/products/tools_card.asp?family_id=676&family_name=MCU+Wireless&tool_id=4395">Atmel Raven</a>
|
||||||
|
running the <a href="http://www.sics.se/contiki/">Contiki</a> operating system. I have a small 150KB memory but I am very fast!
|
||||||
|
<br>I am named after <a href="http://en.wikipedia.org/wiki/Huginn_and_Muninn">a mythical raven</a> who gathered information for the <a href="http://en.wikipedia.org/wiki/Odin">Norse God Odin</a>.
|
||||||
|
<br><br>You might also want to visit my companion <a href=http://huginn.localhost>Huginn</a>.
|
||||||
|
<br>We share information using <a href="http://www.ipv6.org">ipv6</a>
|
||||||
|
through a low power <a href="http://www.google.com/search?q=6lowpan">6lowWPAN</a> wireless <a href="http://en.wikipedia.org/wiki/IEEE_802.15.4">802.15.4</a> 10Kbps network.
|
||||||
|
<br><br>The <a href="http://www.sics.se/%7Eadam/contiki/docs-uipv6/a01108.html">Jackdaw</a> is our link to the Web. If he is offline you can't get to us!
|
||||||
|
<br><br>Memory forever! Awwk!</P>
|
||||||
|
%!file-stats .
|
7
examples/webserver-ipv6-raven/Muninn/makefsdata.h
Normal file
7
examples/webserver-ipv6-raven/Muninn/makefsdata.h
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#include <avr/eeprom.h>
|
||||||
|
|
||||||
|
/* Link layer ipv6 address will become fe80::11:22ff:fe33:4455 */
|
||||||
|
uint8_t mac_address[8] EEMEM = {0x02, 0x11, 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56};
|
||||||
|
uint8_t server_name[16] EEMEM = "muninn";
|
||||||
|
uint8_t domain_name[30] EEMEM = "localhost";
|
||||||
|
|
5
examples/webserver-ipv6-raven/Muninn/process.shtml
Normal file
5
examples/webserver-ipv6-raven/Muninn/process.shtml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
%!: /header.html
|
||||||
|
<h1>System processes</h1><br><table width="100%"><tr><th>ID</th><th>Name</th><th>Thread</th><th>Process state</th></tr>
|
||||||
|
%! processes
|
||||||
|
</table>
|
||||||
|
%! file-stats .
|
2
examples/webserver-ipv6-raven/Muninn/robots.txt
Normal file
2
examples/webserver-ipv6-raven/Muninn/robots.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
user-agent: *
|
||||||
|
Disallow: /
|
4
examples/webserver-ipv6-raven/Muninn/sensor.shtml
Normal file
4
examples/webserver-ipv6-raven/Muninn/sensor.shtml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
%!: /header.html
|
||||||
|
<h1>Sensor Readings</h1><br>
|
||||||
|
%! sensors
|
||||||
|
%! file-stats .
|
22
examples/webserver-ipv6-raven/Muninn/style.css
Normal file
22
examples/webserver-ipv6-raven/Muninn/style.css
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
h1{text-align:center;font-size:14pt;font-family:arial,helvetica;font-weight:bold;padding:10px;}
|
||||||
|
body{background-color:#fffeec;color:black;font-size:8pt;font-family:arial,helvetica;}
|
||||||
|
.wrap{width:98%;margin:0 auto;text-align:left;font-family:arial,helvetica;}
|
||||||
|
.menublock{margin:4px;width:15%;float:left;padding:10px;border:solid 1px;background-color:#fffcd2;text-align:left;font-size:9pt;font-family:arial,helvetica;}
|
||||||
|
.contentblock{margin:4px;width:50%;float:left;padding:10px;border:1px dotted;background-color:white;font-size:8pt;font-family:arial,helvetica;}
|
||||||
|
.newsblock{margin:4px;width:24%;float:left;padding:10px;border:solid 1px;background-color:#fffcd2;text-align:left;font-size:8pt;font-family:arial,helvetica;}
|
||||||
|
.printable{margin:4px;width:24%;float:left;padding:10px;border:0;background-color:#fffeec;text-align:right;font-size:8pt;font-family:arial,helvetica;}
|
||||||
|
div.rfig{border:solid 1px; text-align:left;padding:10px;margin:10px;font-size:8pt;float:right;}
|
||||||
|
pre.example{border:solid 1px; padding:10px;margin:10px;text-align:left;font-size:8pt;font-family:arial,helvetica;white-space:pre;}
|
||||||
|
p.intro{margin-left:20px;margin-right:20px;font-size:10pt;font-family:arial,helvetica;}
|
||||||
|
p.clink{font-size:12pt;font-family:courier,monospace; text-align:center;}
|
||||||
|
p.clink9{font-size:9pt;font-family:courier,monospace;text-align:center;}
|
||||||
|
p.related{font-size:10pt;font-family:arial,helvetica;text-align:center;}
|
||||||
|
img.right{float:right;margin:10px;}
|
||||||
|
img.left{float:left;margin:10px;}
|
||||||
|
p.fig{border:solid 1px;text-align:center;padding:10px;margin:10px;font-size:7pt;}
|
||||||
|
p.rfig{border:solid 1px;text-align:center;padding:10px;margin:10px;font-size:7pt;float:right;}
|
||||||
|
p.lfig{border:solid 1px;text-align:center;padding:10px;margin:10px;font-size:7pt;float:left;}
|
||||||
|
p{padding-left:10px;}
|
||||||
|
p.mailaddr{padding-left:10px;font-size:7pt;font-family:courier,terminal;text-align:right;}
|
||||||
|
p.right{text-align:right;}
|
||||||
|
p.border-title{text-align:center;font-size:14pt;padding:0px;margin:4px;margin-bottom:10px;color:black;background-color:#fffcba;border:solid 1px;}
|
5
examples/webserver-ipv6-raven/Muninn/tcp.shtml
Normal file
5
examples/webserver-ipv6-raven/Muninn/tcp.shtml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
%!: /header.html
|
||||||
|
<h1>Current connections</h1><br><table width="100%"><tr><th>Local</th><th>Remote</th><th>State</th><th>Retransmissions</th><th>Timer</th><th>Flags</th></tr>
|
||||||
|
%! tcp-connections
|
||||||
|
</table>
|
||||||
|
%! file-stats .
|
5
examples/webserver-ipv6-raven/Muninn/upload.html
Normal file
5
examples/webserver-ipv6-raven/Muninn/upload.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<html><body>
|
||||||
|
<form action="upload.html" enctype="multipart/form-data" method="post">
|
||||||
|
<input name="userfile" type="file" size="50" />
|
||||||
|
<input value="Upload" type="submit" />
|
||||||
|
</form></body></html>
|
Loading…
Reference in a new issue