From 42a9e1e2e041729a268a9c75448ae4fcb9840127 Mon Sep 17 00:00:00 2001 From: dak664 Date: Thu, 23 Jul 2009 16:21:56 +0000 Subject: [PATCH] Add Huginn and Muninn web content --- examples/webserver-ipv6-raven/Huginn/404.html | 1 + .../webserver-ipv6-raven/Huginn/favicon.png | Bin 0 -> 353 bytes .../webserver-ipv6-raven/Huginn/files.shtml | 5 ++++ .../webserver-ipv6-raven/Huginn/footer.html | 1 + .../webserver-ipv6-raven/Huginn/header.html | 6 +++++ .../webserver-ipv6-raven/Huginn/index.html | 10 ++++++++ .../webserver-ipv6-raven/Huginn/makefsdata.h | 7 ++++++ .../webserver-ipv6-raven/Huginn/process.shtml | 5 ++++ .../webserver-ipv6-raven/Huginn/robots.txt | 2 ++ .../webserver-ipv6-raven/Huginn/sensor.shtml | 4 ++++ .../webserver-ipv6-raven/Huginn/style.css | 22 ++++++++++++++++++ .../webserver-ipv6-raven/Huginn/tcp.shtml | 5 ++++ .../webserver-ipv6-raven/Huginn/upload.html | 5 ++++ examples/webserver-ipv6-raven/Muninn/404.html | 1 + .../webserver-ipv6-raven/Muninn/favicon.png | Bin 0 -> 353 bytes .../webserver-ipv6-raven/Muninn/files.shtml | 5 ++++ .../webserver-ipv6-raven/Muninn/footer.html | 1 + .../webserver-ipv6-raven/Muninn/header.html | 6 +++++ .../webserver-ipv6-raven/Muninn/index.html | 10 ++++++++ .../webserver-ipv6-raven/Muninn/makefsdata.h | 7 ++++++ .../webserver-ipv6-raven/Muninn/process.shtml | 5 ++++ .../webserver-ipv6-raven/Muninn/robots.txt | 2 ++ .../webserver-ipv6-raven/Muninn/sensor.shtml | 4 ++++ .../webserver-ipv6-raven/Muninn/style.css | 22 ++++++++++++++++++ .../webserver-ipv6-raven/Muninn/tcp.shtml | 5 ++++ .../webserver-ipv6-raven/Muninn/upload.html | 5 ++++ 26 files changed, 146 insertions(+) create mode 100644 examples/webserver-ipv6-raven/Huginn/404.html create mode 100644 examples/webserver-ipv6-raven/Huginn/favicon.png create mode 100644 examples/webserver-ipv6-raven/Huginn/files.shtml create mode 100644 examples/webserver-ipv6-raven/Huginn/footer.html create mode 100644 examples/webserver-ipv6-raven/Huginn/header.html create mode 100644 examples/webserver-ipv6-raven/Huginn/index.html create mode 100644 examples/webserver-ipv6-raven/Huginn/makefsdata.h create mode 100644 examples/webserver-ipv6-raven/Huginn/process.shtml create mode 100644 examples/webserver-ipv6-raven/Huginn/robots.txt create mode 100644 examples/webserver-ipv6-raven/Huginn/sensor.shtml create mode 100644 examples/webserver-ipv6-raven/Huginn/style.css create mode 100644 examples/webserver-ipv6-raven/Huginn/tcp.shtml create mode 100644 examples/webserver-ipv6-raven/Huginn/upload.html create mode 100644 examples/webserver-ipv6-raven/Muninn/404.html create mode 100644 examples/webserver-ipv6-raven/Muninn/favicon.png create mode 100644 examples/webserver-ipv6-raven/Muninn/files.shtml create mode 100644 examples/webserver-ipv6-raven/Muninn/footer.html create mode 100644 examples/webserver-ipv6-raven/Muninn/header.html create mode 100644 examples/webserver-ipv6-raven/Muninn/index.html create mode 100644 examples/webserver-ipv6-raven/Muninn/makefsdata.h create mode 100644 examples/webserver-ipv6-raven/Muninn/process.shtml create mode 100644 examples/webserver-ipv6-raven/Muninn/robots.txt create mode 100644 examples/webserver-ipv6-raven/Muninn/sensor.shtml create mode 100644 examples/webserver-ipv6-raven/Muninn/style.css create mode 100644 examples/webserver-ipv6-raven/Muninn/tcp.shtml create mode 100644 examples/webserver-ipv6-raven/Muninn/upload.html diff --git a/examples/webserver-ipv6-raven/Huginn/404.html b/examples/webserver-ipv6-raven/Huginn/404.html new file mode 100644 index 000000000..394788cfc --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/404.html @@ -0,0 +1 @@ +

404 - file not found

Go here instead.

\ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Huginn/favicon.png b/examples/webserver-ipv6-raven/Huginn/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..1b592d1b6f130b7c7d63f49f5792587f464d2646 GIT binary patch literal 353 zcmV-n0iOPeP)9`d?g`{eSPi zz1R)-{{8#^mbRY%*KXef8`jd*^WV_M^1qX-)BmX0p#R0C+5gX-J_eS<>4ogVVxVnN z|Gh$^{%aa&f^E&tP5!@j)lw7}Vi<7m{`3D!SFHs*S5ZR~j4gq-XBPsUylX4|Km-Mh zlcyKhxrQc&K#fj7+YSFGXJ-HZ{`oupSb%G`0Q%Jz9VCj|9S!a>GeN3HTi!}A20x~Ujr*>>1u(x#`1p;Ffg$i0P@?ENj?9!0%>%o zE?qVU9O}uL$-wwOMqWbt4op1QoIgbK0y+QyBWRKGGxX*x00000NkvXXu0mjff;z8I literal 0 HcmV?d00001 diff --git a/examples/webserver-ipv6-raven/Huginn/files.shtml b/examples/webserver-ipv6-raven/Huginn/files.shtml new file mode 100644 index 000000000..8ef7b6ad7 --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/files.shtml @@ -0,0 +1,5 @@ +%!: /header.html +

File statistics


+%! file-stats * +
NameAccesses
+%!: /footer.html diff --git a/examples/webserver-ipv6-raven/Huginn/footer.html b/examples/webserver-ipv6-raven/Huginn/footer.html new file mode 100644 index 000000000..d655f2e51 --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/footer.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Huginn/header.html b/examples/webserver-ipv6-raven/Huginn/header.html new file mode 100644 index 000000000..388fe5267 --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/header.html @@ -0,0 +1,6 @@ + +Huginn + + + +

Welcome to the Contiki web server on Huginn!

\ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Huginn/index.html b/examples/webserver-ipv6-raven/Huginn/index.html new file mode 100644 index 000000000..c9007862b --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/index.html @@ -0,0 +1,10 @@ +%!:/header.html +

I am an Atmel Raven + running the Contiki operating system. I have a small 150KB memory but I am very fast! +
I am named after a mythical raven who gathered information for the Norse God Odin. +

You might also want to visit my companion Muninn. +
We share information using ipv6 + through a low power 6lowPAN wireless 802.15.4 10Kbps network. +
The Jackdaw is our link to the Web. If he is offline you can't get to us! +

Thought rules! Awwk!

+%!file-stats . \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Huginn/makefsdata.h b/examples/webserver-ipv6-raven/Huginn/makefsdata.h new file mode 100644 index 000000000..2721e06c1 --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/makefsdata.h @@ -0,0 +1,7 @@ +#include + +/* 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"; + diff --git a/examples/webserver-ipv6-raven/Huginn/process.shtml b/examples/webserver-ipv6-raven/Huginn/process.shtml new file mode 100644 index 000000000..0f620fbde --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/process.shtml @@ -0,0 +1,5 @@ +%!: /header.html +

System processes


+%! processes +
IDNameThreadProcess state
+%! file-stats . diff --git a/examples/webserver-ipv6-raven/Huginn/robots.txt b/examples/webserver-ipv6-raven/Huginn/robots.txt new file mode 100644 index 000000000..dd33f956a --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/robots.txt @@ -0,0 +1,2 @@ +user-agent: * +Disallow: / \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Huginn/sensor.shtml b/examples/webserver-ipv6-raven/Huginn/sensor.shtml new file mode 100644 index 000000000..1e5066be8 --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/sensor.shtml @@ -0,0 +1,4 @@ +%!: /header.html +

Sensor Readings


+%! sensors +%! file-stats . \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Huginn/style.css b/examples/webserver-ipv6-raven/Huginn/style.css new file mode 100644 index 000000000..412c48edd --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/style.css @@ -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;} \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Huginn/tcp.shtml b/examples/webserver-ipv6-raven/Huginn/tcp.shtml new file mode 100644 index 000000000..635d958f2 --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/tcp.shtml @@ -0,0 +1,5 @@ +%!: /header.html +

Current connections


+%! tcp-connections +
LocalRemoteStateRetransmissionsTimerFlags
+%! file-stats . \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Huginn/upload.html b/examples/webserver-ipv6-raven/Huginn/upload.html new file mode 100644 index 000000000..11e421127 --- /dev/null +++ b/examples/webserver-ipv6-raven/Huginn/upload.html @@ -0,0 +1,5 @@ + +
+ + +
\ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Muninn/404.html b/examples/webserver-ipv6-raven/Muninn/404.html new file mode 100644 index 000000000..394788cfc --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/404.html @@ -0,0 +1 @@ +

404 - file not found

Go here instead.

\ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Muninn/favicon.png b/examples/webserver-ipv6-raven/Muninn/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..1b592d1b6f130b7c7d63f49f5792587f464d2646 GIT binary patch literal 353 zcmV-n0iOPeP)9`d?g`{eSPi zz1R)-{{8#^mbRY%*KXef8`jd*^WV_M^1qX-)BmX0p#R0C+5gX-J_eS<>4ogVVxVnN z|Gh$^{%aa&f^E&tP5!@j)lw7}Vi<7m{`3D!SFHs*S5ZR~j4gq-XBPsUylX4|Km-Mh zlcyKhxrQc&K#fj7+YSFGXJ-HZ{`oupSb%G`0Q%Jz9VCj|9S!a>GeN3HTi!}A20x~Ujr*>>1u(x#`1p;Ffg$i0P@?ENj?9!0%>%o zE?qVU9O}uL$-wwOMqWbt4op1QoIgbK0y+QyBWRKGGxX*x00000NkvXXu0mjff;z8I literal 0 HcmV?d00001 diff --git a/examples/webserver-ipv6-raven/Muninn/files.shtml b/examples/webserver-ipv6-raven/Muninn/files.shtml new file mode 100644 index 000000000..8ef7b6ad7 --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/files.shtml @@ -0,0 +1,5 @@ +%!: /header.html +

File statistics


+%! file-stats * +
NameAccesses
+%!: /footer.html diff --git a/examples/webserver-ipv6-raven/Muninn/footer.html b/examples/webserver-ipv6-raven/Muninn/footer.html new file mode 100644 index 000000000..d655f2e51 --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/footer.html @@ -0,0 +1 @@ +
\ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Muninn/header.html b/examples/webserver-ipv6-raven/Muninn/header.html new file mode 100644 index 000000000..ba06d9f7d --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/header.html @@ -0,0 +1,6 @@ + +Muninn + + + +

Welcome to the Contiki web server on Muninn!

\ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Muninn/index.html b/examples/webserver-ipv6-raven/Muninn/index.html new file mode 100644 index 000000000..244929afa --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/index.html @@ -0,0 +1,10 @@ +%!:/header.html +

I am an Atmel Raven + running the Contiki operating system. I have a small 150KB memory but I am very fast! +
I am named after a mythical raven who gathered information for the Norse God Odin. +

You might also want to visit my companion Huginn. +
We share information using ipv6 + through a low power 6lowWPAN wireless 802.15.4 10Kbps network. +

The Jackdaw is our link to the Web. If he is offline you can't get to us! +

Memory forever! Awwk!

+%!file-stats . \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Muninn/makefsdata.h b/examples/webserver-ipv6-raven/Muninn/makefsdata.h new file mode 100644 index 000000000..137ff1f78 --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/makefsdata.h @@ -0,0 +1,7 @@ +#include + +/* 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"; + diff --git a/examples/webserver-ipv6-raven/Muninn/process.shtml b/examples/webserver-ipv6-raven/Muninn/process.shtml new file mode 100644 index 000000000..0f620fbde --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/process.shtml @@ -0,0 +1,5 @@ +%!: /header.html +

System processes


+%! processes +
IDNameThreadProcess state
+%! file-stats . diff --git a/examples/webserver-ipv6-raven/Muninn/robots.txt b/examples/webserver-ipv6-raven/Muninn/robots.txt new file mode 100644 index 000000000..dd33f956a --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/robots.txt @@ -0,0 +1,2 @@ +user-agent: * +Disallow: / \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Muninn/sensor.shtml b/examples/webserver-ipv6-raven/Muninn/sensor.shtml new file mode 100644 index 000000000..1e5066be8 --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/sensor.shtml @@ -0,0 +1,4 @@ +%!: /header.html +

Sensor Readings


+%! sensors +%! file-stats . \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Muninn/style.css b/examples/webserver-ipv6-raven/Muninn/style.css new file mode 100644 index 000000000..412c48edd --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/style.css @@ -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;} \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Muninn/tcp.shtml b/examples/webserver-ipv6-raven/Muninn/tcp.shtml new file mode 100644 index 000000000..635d958f2 --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/tcp.shtml @@ -0,0 +1,5 @@ +%!: /header.html +

Current connections


+%! tcp-connections +
LocalRemoteStateRetransmissionsTimerFlags
+%! file-stats . \ No newline at end of file diff --git a/examples/webserver-ipv6-raven/Muninn/upload.html b/examples/webserver-ipv6-raven/Muninn/upload.html new file mode 100644 index 000000000..11e421127 --- /dev/null +++ b/examples/webserver-ipv6-raven/Muninn/upload.html @@ -0,0 +1,5 @@ + +
+ + +
\ No newline at end of file