osd-contiki/examples/webserver-ipv6-raven
2009-07-23 23:51:36 +00:00
..
Huginn Add Huginn and Muninn web content 2009-07-23 16:21:56 +00:00
Muninn Add documentation 2009-07-23 23:51:36 +00:00
Makefile *** empty log message *** 2009-07-23 16:13:48 +00:00
Makefile.webserver *** empty log message *** 2009-07-23 16:13:48 +00:00
README Add documentation 2009-07-23 23:51:36 +00:00
webserver6.c Forgot these files! 2008-10-14 22:04:16 +00:00

This example features a simple webserver running on top of the IPv6
contiki stack.

For this example to run properly the UIP_CONF_TCP compilation flag
must be set to 1 in the contiki-conf.h file of the platform.

If you are using the minimal-net platform on linux you can test the
code as follows:
- First do 'ifconfig tap0 inet6 3ffe:0501:ffff:0100:0206:98ff:fe00:0231'
  or 'ip -6 address add 3ffe:0501:ffff:0100:0206:98ff:fe00:0231' dev tap0.
- You might need to add a route 'ip -6 route add 
  aaaa:0000:0000:0000:0206:98ff:fe00:0232/64 dev tap0' 
- Then configure a global address by sending a router advertisement (RA)
  with a prefix option. You can use radvd for example to generate such a
  packet. 
  Assume the prefix in the RA is:
  3ffe:0501:ffff:0100:0000:0000:0000:0000/64.
  and that the resulting address created by the contiki stack is: 
  3ffe:0501:ffff:0100:0206:98ff:fe00:0232
- Finally you can use 'wget http://[3ffe:0501:ffff:0100:0206:98ff:fe00:0232]' 
  to get the web page (index.html file)
  
Two alternate servers Huginn and Muninn are included in this directory.
Use e.g. $make WEBDIR=Huginn to generate a webserver6-huginn.elf file.
The ipv6 address suffix and server names are specified in the makefsdata.h file.

$make COFFEE_FILES=1 or 3 uses a static coffee file system in eeprom or program
flash memory.  Files can not be created, but existing files can be rewritten
using http POST via upload.html. When switching coffee types a $make clean
should be done to ensure all c source is on the same page (ahem).
-->This is under development and rewrites are not working yet.

Future plans are for $make COFFEE_FILES=2 or 4 for a full coffee file system.