User Tools

Site Tools


mesh:implementation_overwork

Implementation overwork

Because of different feedback I need to rework the current implementation of PirateBox' mesh feature.

The new implementation will span the mesh across the Wifi-Clients & wired connected systems.. the plan is to enable more flexible configurations.

IPv6 & IPv4 configuration

The normal IPv4 configuration stays untouched. The network client recieves its normal IPv4 IP address in 192.168.1.x range. The dnsmasq service always delivers 192.168.1.1 to the requests, as long there is no different configuration in the hosts file. On each piratebox runs a radvd service delivering a static prefix like fd00:1111::/64 Each PirateBox will get a static interface name called fd00:1111::1/64 so the box, you are directly connected to, ca be statically accessed. Additional one per-box random 1) generated ipv6 suffix will be attached to the box. That box is reachable via ::1 and ::-random suffix-.

Mesh

For enabling each box to be mesh ready, the piratebox-mesh package, including scripts, will be preinstalled but stay optional. If you enable the mesh-wifi mode, you the mesh interface will be included into br-lan of the default openwrt-config.

FIXME

Hostnames

The normal hostname will be piratebox.lan , and additional a node specific prefix will be generated, like:

 piratebox.lan
 rtkeR3456.piratebox.lan

FIXME

Service-Anouncements / Namelists

FIXME

Other issues

On RPi P2P interface together with AP mode is not possible on usb wifi cards. .. driver issues. Scripts will be primary made for openwrt in the first place. IPv6 without node-specific-configuration should work in both cases.

1)
not really random, it will take the suffix from the os generated fe80 ipv6 address will be used
mesh/implementation_overwork.txt · Last modified: 2013/10/06 15:14 by matthias