See also the Procedures to have useful information about how to set up the cubes at Imara. The most fearless would also be interested to have some hints about Hacking the Cubes. 4G cube with OpenWrt
Most cubes are used as access routers. They provide connectivity to the network plugged on their ethernet interface (eth0
) via the mesh network built on their OLSR-enabled WiFi interface (wlan0
). The mesh network ESSID is cube-mesh
and is configured as a ad-hoc network on channel 3 (not the default from 4G).
Both the external IP and the internal network prefix are derived from the CubeID.
In the following, replace CB
and ID
by (resp.) the two first and last digits of the cube ID.
For example, given CubeID 1715, CB
=17 and ID
=15.
In case someone would like to add a non-cube node to the mesh-network, one should use the 10.0.1.0/24 subnetwork. For example,
geococcyx
(a road runner laptop) is using IP 10.0.1.42 (the last digit is arbitrary) on the mesh network and, if needed, provides a reachable network with range 10.1.42.0/24.
The cubes MAY additionally provide a managed network, with ESSID cube-CBID
on their other wireless interface (if present), with IP 172.CB.ID.1 and a DHCP daemon serving the 172.CB.ID.0/24 address range.
The IP addressing plan of the OLSR network can be sumarized as follows (X, Y and Z denote variable bytes):
Most significant byte | Second byte | Third byte | Least significant byte | Address type |
---|---|---|---|---|
10 | 0 | Y | Z | Directly reachable on the mesh network |
10 | 0 | 0 | Z | OLSR Gateway |
10 | 0 | 1 | Z | OLSR Node (non-cube) |
10 | 0 | 2 | Z | VPN users (not yet implemented) |
10 | 0 | 16-17 | Z | OLSR Cube |
10 | X (non-0) | Y | Z | Node in the HNA accessible via 10.0.X.Y |
172 | X (16-17) | Y | 1 | OLSR Cube-XY on its managed network |
172 | X (16-17) | Y | Z (non-1) | Host on Cube-XY's managed network |
The current network plot is also available as textual data and DOT data (only the Content-Type varies). More complete information is available from the gateway.
Two non-cube gateways are currently part of the network: imara-olsr-gw
(IP 10.0.0.1) which is a NAT gateway to the IPv4 internet, and imara-olsr-gw-garage
(IP 10.0.0.2) which is providing cube like functionnalities to computers in the garage for them to get internet access via the OLSR network. Both have an olsr
use who can login via ssh
(usual password…) and has sudo
access.
Ntop, a network usage reporting tool, has been installed on the internet gateway. It provides immediate (1-minute) detailed traffic reports and keeps a graphic history.
Impossible to register with reseau-roc
Impossible to register with reseau-roc
Impossible to register with reseau-roc
Installation of the ath1
Wi-Fi card:
A1
on the card;