Changes between Version 52 and Version 53 of node-contiki
- Timestamp:
- Oct 7, 2010, 9:38:55 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
node-contiki
v52 v53 249 249 250 250 251 == Run the Gateway ==251 == Run the SENSEI Gateway == 252 252 253 253 It is assumed that the bridge is working as background process on the system. Do the following steps to run the gateway. 254 254 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 255 1. If you do not have any one these packages, install them first. 256 257 $ sudo apt-get install g++ libssl-dev libxml2-dev 258 259 2. Install socket++ library 261 260 262 261 $ cd gateway/lib/Socket-2.3.7 … … 265 264 gateway/lib/Sockets-2.3.7$ sudo make install 266 265 267 $ sudo ip6tables –F (disables IPv6 tables – firewall setting for IPv6) 268 269 >> Compile gateway code 270 271 /gateway$ make 272 273 }}} 266 3. Disable IPv6 firewall 267 $ sudo ip6tables –F 268 269 4. Compile gateway code 270 271 gateway$ make 274 272 275 273 * In case of errors in the compilation process: … … 285 283 286 284 INCLUDES = -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 286 Save Makefile and compile again. 287 288 gateway$ make 289 }}} 290 291 5. Run the SENSEI gateway. 292 293 gateway$ ./bin/sensei-gateway -p 8000 -s sensei-oulu.broker.freenet6.net -d oulu.fi -w island 294 295 6. 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. 298 296 299 297 == Test the SENSEI components over the Web ==