Changes between Version 58 and Version 59 of node-contiki
- Timestamp:
- Oct 7, 2010, 10:31:14 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
node-contiki
v58 v59 256 256 1. If you do not have any one these packages, install them first. 257 257 258 * $ sudo apt-get install g++ libssl-dev libxml2-dev258 * $ sudo apt-get install g++ libssl-dev libxml2-dev 259 259 260 260 2. Install socket++ library 261 261 262 * $cd gateway/lib/Socket-2.3.7263 * gateway/lib/Sockets-2.3.7$ make clean264 * gateway/lib/Sockets-2.3.7$ make265 * gateway/lib/Sockets-2.3.7$ sudo make install262 * $cd gateway/lib/Socket-2.3.7 263 * gateway/lib/Sockets-2.3.7$ make clean 264 * gateway/lib/Sockets-2.3.7$ make 265 * gateway/lib/Sockets-2.3.7$ sudo make install 266 266 267 267 3. Disable IPv6 firewall 268 * $sudo ip6tables –F268 * $sudo ip6tables –F 269 269 270 270 4. Compile gateway code 271 271 272 * gateway$ make273 274 * In case of errors in the compilation process:272 * gateway$ make 273 274 * Note: in case of errors in the compilation process: 275 275 {{{ 276 276 /gateway$ cd src/ … … 292 292 5. Run the SENSEI gateway. 293 293 294 * gateway$ ./bin/sensei-gateway -p 8000 -s sensei-oulu.broker.freenet6.net -d oulu.fi -w island294 * gateway$ ./bin/sensei-gateway -p 8000 -s sensei-oulu.broker.freenet6.net -d oulu.fi -w island 295 295 296 296 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.