This shows you the differences between two versions of the page.
hexabusdemosetup [2011/05/17 15:20] gonium |
hexabusdemosetup [2012/10/30 10:27] (current) |
||
---|---|---|---|
Line 19: | Line 19: | ||
Range: CC-B5-5A-0B-01-00 bis CC-B5-5A-0B-01-FF | Range: CC-B5-5A-0B-01-00 bis CC-B5-5A-0B-01-FF | ||
- | ^ Device ^ Address ^ | + | ^ Device ^ MAC Address ^ IPv6-Address (aaaa:: subnet) ^ |
- | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | + | |
| USB-Stick 1 | CC-B5-5A-0B-01-00 | | | USB-Stick 1 | CC-B5-5A-0B-01-00 | | ||
| USB-Stick 1 | CC-B5-5A-0B-01-01 | | | USB-Stick 1 | CC-B5-5A-0B-01-01 | | ||
- | | Raven1 | CC-B5-5A-0B-01-10 | | + | | Raven1 | CC-B5-5A-0B-01-10 | aaaa::b5:5aff:fe0b:110 | |
- | | Raven2 | CC-B5-5A-0B-01-11 | | + | | Raven2 | CC-B5-5A-0B-01-11 | aaaa::b5:5aff:fe0b:111 | |
- | | Raven3 | CC-B5-5A-0B-01-12 | | + | | Raven3 | CC-B5-5A-0B-01-12 | aaaa::b5:5aff:fe0b:112 | |
- | | Raven4 | CC-B5-5A-0B-01-13 | | + | | Raven4 | CC-B5-5A-0B-01-13 | aaaa::b5:5aff:fe0b:113 | |
+ | | Raven5 | CC-B5-5A-0B-01-14 | aaaa::b5:5aff:fe0b:114 | | ||
The MAC addresses are stored in the EEPROM storage, see also http://www.sics.se/contiki/tutorials/tutorial-running-contiki-with-uipv6-and-sicslowpan-support-on-the-atmel-raven.html . They can be modified by re-writing the EEPROM. First, extract the EEP file from the ELF: | The MAC addresses are stored in the EEPROM storage, see also http://www.sics.se/contiki/tutorials/tutorial-running-contiki-with-uipv6-and-sicslowpan-support-on-the-atmel-raven.html . They can be modified by re-writing the EEPROM. First, extract the EEP file from the ELF: | ||
Line 123: | Line 122: | ||
+ | === Battery-operated mobile box === | ||
+ | The mobile button runs on 9V, delivered by 2 9V block batteries. They are connected in parallel. The capacity of a 9V alkaline cell is approx. 500 mAh. The circuit draws 33mA. Therefore, the setup will run for (2*500mAh)/(33mA) = 30h. | ||
+ | |||
+ | |||
+ | === OpenWRT Router === | ||
+ | The DNSmasq daemon needs to be convinced to use another gateway. This can be done by adding | ||
+ | |||
+ | config dhcp lan | ||
+ | ..... | ||
+ | option dhcp_option "6,192.168.1.2" #dns server | ||
+ | option dhcp_option "3,192.168.1.2" #default route | ||
+ | |||
+ | or similar to /etc/config/dhcp. | ||
+ | |||
+ | Add to /etc/sysctl.conf | ||
+ | |||
+ | net.ipv6.conf.all.forwarding=1 | ||
+ | |||
+ | The /etc directory of demo router 2 is here: {{:etc-router-demo2.tar.gz|}} |