User Tools

Site Tools


hexabusdemosetup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hexabusdemosetup [2011/05/24 17:23]
gonium
hexabusdemosetup [2012/10/30 10:27] (current)
Line 124: Line 124:
 === Battery-operated mobile box === === 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. 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|}}
hexabusdemosetup.1306250605.txt.gz ยท Last modified: 2012/10/30 10:39 (external edit)