Changes between Version 52 and Version 53 of node-contiki


Ignore:
Timestamp:
Oct 7, 2010, 9:38:55 AM (14 years ago)
Author:
petsku
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • node-contiki

    v52 v53  
    249249
    250250
    251 == Run the Gateway ==
     251== Run the SENSEI Gateway ==
    252252
    253253It is assumed that the bridge is working as background process on the system. Do the following steps to run the gateway.
    254254
    255 * If you do not have any one these packages, install them first.
    256 
    257 {{{
    258 $sudo apt-get install g++ libssl-dev libxml2-dev
    259 
    260 >> Install socket++ library
     2551. If you do not have any one these packages, install them first.
     256
     257$ sudo apt-get install g++ libssl-dev libxml2-dev
     258
     2592. Install socket++ library
    261260
    262261$ cd gateway/lib/Socket-2.3.7
     
    265264gateway/lib/Sockets-2.3.7$ sudo make install
    266265
    267 $ sudo ip6tables –F     (disables IPv6 tables – firewall setting for IPv6)
    268 
    269 >> Compile gateway code
    270 
    271 /gateway$ make
    272 
    273 }}}
     2663. Disable IPv6 firewall
     267$ sudo ip6tables –F
     268
     2694. Compile gateway code
     270
     271gateway$ make
    274272
    275273* In case of errors in the compilation process:
     
    285283
    286284INCLUDES = -I/usr/local/include/Sockets -I./plugin-skeleton -I./libBWS -I/usr/include/libxml2
    287 }}}
    288 
    289 Save Makefile and try to make gateway again
    290 
    291 {{{
    292 /gateway$ ./bin/sensei-gateway -p 8000 -s sensei-oulu.broker.freenet6.net -d oulu.fi -w island
    293 }}}
    294 
    295 * Last command starts the gateway, keep it running in the terminal.
    296 
    297 Turn on the node(s) that you programmed in Section 3.5. Node sends its resource description after it receives router advertisements. This time depends on radvd.conf settings, in this tutorial it was set between 3 and 5 seconds. Gateway prints the resource description when it is received.
     285
     286Save Makefile and compile again.
     287
     288gateway$ make
     289}}}
     290
     2915. Run the SENSEI gateway.
     292
     293gateway$ ./bin/sensei-gateway -p 8000 -s sensei-oulu.broker.freenet6.net -d oulu.fi -w island
     294
     2956. Leave gateway running in the terminal. Turn on the node(s) that you programmed in Section 3.5. Node sends its resource description after it receives router advertisements. This time depends on radvd.conf settings, in this tutorial it was set between 3 and 5 seconds. Gateway prints the resource description when it is received.
    298296
    299297== Test the SENSEI components over the Web ==