From: Petter Reinholdtsen The last few days I have been experimenting with the batman-adv
+mech technology. I want to gain some experience to see if it will fit
+the Freedombox project, and try to build a mesh network around the
+park where I live together with my neighbors. Batman-adv is a layer 2
+mesh system ("ethernet" in other words), where the mesh network appear
+as if all the mesh clients are connected to the same switch. My hardware of choice were the Linksys WRT54GL routers I had lying
+around, but I've been unable to get them working with batman-adv. So
+instead, I started playing with a Raspberry Pi, and tried to get it
+working as a mesh node. My idea is to use it to create a mesh node
+which function as a switch port, where everything connected to the
+Raspberry Pi ethernet plug is connected to the mesh network. This
+allow me to hook a wifi base station like the Linksys WRT54GL to the
+mesh by plugging it into a Raspberry Pi, and thus allow non-mesh
+clients to hook up to the mesh. This in turn is useful for Android
+phones using To get this working, I've created a debian package
+ To create an image, run the following with a sudo enabled user
+after inserting the target SD card into the build machine:
+% wget -O build-rpi-mesh-node \
+ https://raw.github.com/petterreinholdtsen/meshfx-node/master/build-rpi-mesh-node
+% sudo bash -x ./build-rpi-mesh-node > build.log 2>&1
+% dd if=/root/rpi/rpi_basic_jessie_$(date +%Y%m%d).img of=/dev/mmcblk0 bs=1M
+%
+
Booting with the resulting SD card on a Raspberry PI with a USB
+wifi card inserted should give you a mesh node. The default mesh
+settings are the ones used by the Oslo mesh project at Hackeriet, as I
+mentioned in
+
Supplier | Model | NOK |
---|---|---|
Teknikkmagasinet | Raspberry Pi model B | 349.90 |
Clas Ohlson | Kingston 16 GB SD card | 199.- |
Total cost | 943.80 |
Now my mesh network at home consist of one laptop in the basement +connected to my production network, one Raspberry Pi node on the 1th +floor that can be seen by my neighbor across the park, and one +play-node I use to develop the image building script. I look forward +to figuring out what kind of latency the batman-adv setup will give, +and how much packet loss we will experience around the park. :)
+