<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://tmplab.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aaron</id>
		<title>Tmplab - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://tmplab.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aaron"/>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php/Special:Contributions/Aaron"/>
		<updated>2026-05-03T01:27:15Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.1</generator>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1419</id>
		<title>Wireless Battle Mesh</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1419"/>
				<updated>2009-04-12T18:43:19Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: upload measurement script iwconfig&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:DSC00007.JPG|400px]]&lt;br /&gt;
hackers preparing&lt;br /&gt;
&lt;br /&gt;
[[Image:DSC00008.JPG|400px]] and flashing linksyses&lt;br /&gt;
&lt;br /&gt;
== Call for Participants ==&lt;br /&gt;
&lt;br /&gt;
We are pleased to announce that the /tmp/lab will be organizing a Spring Wireless OpenWrt Mesh Contest called “Wireless Battle Mesh” during 2 days (April 11-12th) with the goal of building 3 wireless mesh networks based on embedded hardware running OpenWrt and different concurrent mesh routing protocols.&lt;br /&gt;
&lt;br /&gt;
The targeted architecture will be 3 networks of 25nodes + 1 wireless management network (10-20 nodes) to achieve realistic size of nodes number, data traffic, configuration problems. The architecture will be set-up indoor and outdoor around the building of the /tmp/lab.&lt;br /&gt;
&lt;br /&gt;
OpenWrt will be the selected for the BoardSupportPackage running on the different hardware nodes and a core network configuration will be built on Linux servers with user-friendly features such as :&lt;br /&gt;
* VLANs&lt;br /&gt;
* Captive portal&lt;br /&gt;
* Authentication&lt;br /&gt;
* Admin portal&lt;br /&gt;
&lt;br /&gt;
Concerning the mesh-protocols, selected targeted protocols are :&lt;br /&gt;
* OLSR : IP-based mesh routing platform (http://olsr.org and OpenWrt package available)&lt;br /&gt;
* BATMAN : Layer2-based mesh protocol (http://open-mesh.org) and available as a kernel module for Linux and packaged in OpenWrt&lt;br /&gt;
* BABEL : Layer-3 mesh protocol developed by University Paris 6, available for Linux and packaged in OpenWrt (http://www.pps.jussieu.fr/~jch/software/babel/)&lt;br /&gt;
&lt;br /&gt;
Concerning the hardware node, we are looking for hardware sponsors that could enjoy this “real-case” contest by providing 50-100 nodes to the event. This sponsor will be actually displayed on the organization website as well as during the event. The feedbacks for the hardware manufacturers can be not only from the users but also from the network community running real-case test (academic- or community-wide).&lt;br /&gt;
&lt;br /&gt;
The TMPLAB core team.&lt;br /&gt;
&lt;br /&gt;
== Agenda ==&lt;br /&gt;
&lt;br /&gt;
* Friday, April 10th, 8 pm : welcoming of the first people coming and flashing of the node and configuration of the nodes&lt;br /&gt;
* Sat, April 11th : &lt;br /&gt;
** Morning : setting up the nodes on-site and validation of the different subnets&lt;br /&gt;
** Afternoon : first series of tests and measurements with fixed nodes&lt;br /&gt;
* Sun 12th : &lt;br /&gt;
** Morning : second series of tests and measurement with fixed and mobile nodes (laptops)&lt;br /&gt;
** Afternoon : Optimization of the protocols and Conclusion&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
&lt;br /&gt;
=== Criterion ===&lt;br /&gt;
We will evaluate the routing protocols using the following criterion :&lt;br /&gt;
&lt;br /&gt;
* time to setup a node&lt;br /&gt;
* CPU activity&lt;br /&gt;
* network activity&lt;br /&gt;
* convergence time&lt;br /&gt;
* scalability&lt;br /&gt;
* mobile devices handling&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
&lt;br /&gt;
The evaluation platform consits of a SNMP agent which collects graphs from the different nodes using Cacti.&lt;br /&gt;
&lt;br /&gt;
== Hardware platforms ==&lt;br /&gt;
&lt;br /&gt;
We managed to get sponsoring for such hardware :&lt;br /&gt;
&lt;br /&gt;
* Linksys WRT54G/GS&lt;br /&gt;
* Asus WL500G Deluxe/Premium&lt;br /&gt;
* Fon Fonera&lt;br /&gt;
&lt;br /&gt;
For each protocol 25 nodes will be setup, with the following quantities :&lt;br /&gt;
&lt;br /&gt;
* FON : 25 nodes&lt;br /&gt;
* HSB : 32 nodes&lt;br /&gt;
* Wireless-fr : 6 nodes&lt;br /&gt;
* Tmplab : 15 nodes&lt;br /&gt;
* BATMAN : 10 nodes&lt;br /&gt;
* Thus0 : 5 nodes&lt;br /&gt;
&lt;br /&gt;
Total : 93 nodes. In case of problems, spare nodes are highly wanted.&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
&lt;br /&gt;
For each and every single node in the network, please prepare stickers containing the following informations :&lt;br /&gt;
&lt;br /&gt;
* routing protocol in use&lt;br /&gt;
* MAC address of the Wi-Fi interface&lt;br /&gt;
* IP address in the management network&lt;br /&gt;
* Owner&lt;br /&gt;
* hostname (e.g: node 1-babel)&lt;br /&gt;
&lt;br /&gt;
=== Node parts ===&lt;br /&gt;
&lt;br /&gt;
Each and every single node consists of the following physical parts:&lt;br /&gt;
&lt;br /&gt;
* A wireless router (Linksys, Fon, Asus ...)&lt;br /&gt;
* Antennas screwed on the router (no external unless specified)&lt;br /&gt;
* Power supply unit&lt;br /&gt;
* (Battery)&lt;br /&gt;
&lt;br /&gt;
== Software platform ==&lt;br /&gt;
&lt;br /&gt;
The different software versions in use during the Wireless Battle Mesh are :&lt;br /&gt;
&lt;br /&gt;
* babel-0.94 (and not 0.93 as previously announced), there's also a page about [[Babel]]&lt;br /&gt;
* olsrd-0.5.6-r4&lt;br /&gt;
* batman-adv-r1220&lt;br /&gt;
&lt;br /&gt;
OpenWrt should be Kamikaze 8.09. Broadcom-based hardware should be using the '''brcm-2.4''' image while Atheros-based hardware should be using the '''atheros''' target. If you need help flashing your devices do not hesitate to poke Florian and Nico about this.&lt;br /&gt;
&lt;br /&gt;
=== Software configuration ===&lt;br /&gt;
&lt;br /&gt;
Every node should be configured with the following settings :&lt;br /&gt;
&lt;br /&gt;
* hostname: node&amp;lt;N&amp;gt;-&amp;lt;routing protocol&amp;gt; (where N can be found using the plan/map and the routing protocol is babel, olsr or batman)&lt;br /&gt;
* user: root&lt;br /&gt;
* password: wbm2009&lt;br /&gt;
&lt;br /&gt;
We would like to be able to monitor the activity of every node, therefore an aditional SNMP configuration should be done with the following settings :&lt;br /&gt;
&lt;br /&gt;
* version: 2&lt;br /&gt;
* community: wbm2009&lt;br /&gt;
* permissions: ro&lt;br /&gt;
* allow graph disk/flash activity (e.g: disk /)&lt;br /&gt;
&lt;br /&gt;
=== Package list and repositories ===&lt;br /&gt;
&lt;br /&gt;
A mirror of the OpenWrt kamikaze 8.09 package repository will be available during the WBM2009. Additionnal packages that we recommend to install are :&lt;br /&gt;
&lt;br /&gt;
* ntpclient (or busybox's rdate)&lt;br /&gt;
* wprobe&lt;br /&gt;
* snmpd&lt;br /&gt;
&lt;br /&gt;
== Wireless configuration ==&lt;br /&gt;
&lt;br /&gt;
Each node will be working in '''Ad-hoc''' mode using the following settings.&lt;br /&gt;
&lt;br /&gt;
=== For babel ===&lt;br /&gt;
&lt;br /&gt;
* SSID: babel&lt;br /&gt;
* Channel: 1&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For Batman ===&lt;br /&gt;
&lt;br /&gt;
* SSID: batman&lt;br /&gt;
* Channel: 5&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For OLSR ===&lt;br /&gt;
&lt;br /&gt;
* SSID: olsr&lt;br /&gt;
* Channel: 11&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
The resulting '''/etc/config/wireless''' is then for Broadcom devices and for a Babel node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wl0&lt;br /&gt;
        option type     broadcom&lt;br /&gt;
        option channel  1&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wl0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     adhoc&lt;br /&gt;
        option ssid     babel&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an OLSR node on an Atheros board:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wifi0&lt;br /&gt;
        option type     atheros&lt;br /&gt;
        option channel  11&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wifi0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     sta&lt;br /&gt;
        option ssid     olsr&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: we unbridge the LAN interface with the Wi-Fi interface in order to be able to define specific networks on the LAN interface.&lt;br /&gt;
&lt;br /&gt;
== Network topology ==&lt;br /&gt;
&lt;br /&gt;
There will be different subnets corresponding to different purposes.&lt;br /&gt;
&lt;br /&gt;
=== Protocol wide subnet ===&lt;br /&gt;
&lt;br /&gt;
This subnet is required for the nodes running a given protocol to work, meaning that the wireless interface in ad-hoc mode must be configured with an address falling within the range defined below:&lt;br /&gt;
&lt;br /&gt;
* Babel: 192.168.40.0/24&lt;br /&gt;
* Batman: 192.168.30.0/24&lt;br /&gt;
* OLSR: 192.168.20.0/24&lt;br /&gt;
&lt;br /&gt;
An '''/etc/config/network''' file for a Babel node looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#### VLAN configuration&lt;br /&gt;
config switch eth0&lt;br /&gt;
        option vlan0    &amp;quot;1 2 3 4 5*&amp;quot;&lt;br /&gt;
        option vlan1    &amp;quot;0 5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Loopback configuration&lt;br /&gt;
config interface loopback&lt;br /&gt;
        option ifname   &amp;quot;lo&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   127.0.0.1&lt;br /&gt;
        option netmask  255.0.0.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### LAN configuration&lt;br /&gt;
config interface lan&lt;br /&gt;
        option type     bridge&lt;br /&gt;
        option ifname   &amp;quot;eth0.0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.2.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&lt;br /&gt;
#### Wi-Fi configuration&lt;br /&gt;
config interface wifi&lt;br /&gt;
        option ifname   &amp;quot;wl0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.40.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
Nodes have been flashed with custom firmware images:&lt;br /&gt;
 - root password is set to 'wbm2009' (but not on all routers *g)&lt;br /&gt;
 - pubkey ssh authentication is enabled, keys are available here: http://ska.lan.tmplab.org/ssh/&lt;br /&gt;
 - to do passwordless login from one node to the next, you may use [[Image:Battle_ssh.tgz]] (contains above key in dropbear format)&lt;br /&gt;
 - LAN configuration was not changed and default to 192.168.1.1/24&lt;br /&gt;
 - Default wireless configuration is:&lt;br /&gt;
   - ssid: wbm2009&lt;br /&gt;
   - mode: adhoc&lt;br /&gt;
   - encryption: none&lt;br /&gt;
&lt;br /&gt;
When using ssh with same key and different hosts, it might be convenient to add the following in /etc/ssh/ssh_config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
StrictHostKeyChecking no&lt;br /&gt;
UserKnownHostsFile /dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wireless IP adresses ===&lt;br /&gt;
&lt;br /&gt;
you can set the addres this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@OpenWrt:~# uci set network.wifi.ipaddr=&amp;quot;192.168.44.x&amp;quot;; uci commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
00:18:84:21:6B:8C&lt;br /&gt;
(LAN MAC, WiFi MAC, WiFi IP)&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:24:E9:D0, 00:0F:66:24:E9:D2, 192.168.20.1, WRT54G v1.1&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.20.2, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.20.3, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.20.4, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.20.5, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.20.6, WRT54GS v4&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.20.7, WRT54GS v1.1&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.20.8, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.20.9, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.20.10, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.20.11, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.20.12, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.20.13, WRT54GL&lt;br /&gt;
 * 00:11:D8:58:9E:92,                  , 192.168.20.14, ASUSWLHDD&lt;br /&gt;
 * 00:11:D8:43:6B:5D,                  , 192.168.20.15, ASUSWLHDD&lt;br /&gt;
 * 00:11:D8:58:9C:84,                  , 192.168.20.16, ASUSWLHDD&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.20.17, WRT54GL&lt;br /&gt;
 * 00:11:D8:58:9D:94,                  , 192.168.20.18, ASUSWLHDD&lt;br /&gt;
 * 00:11:D8:58:A0:A0,                  , 192.168.20.19, ASUSWLHDD&lt;br /&gt;
 * 00:11:D8:58:9D:7B,                  , 192.168.20.20, ASUSWLHDD&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.20.21, WRT54GL&lt;br /&gt;
 * 00:13:D4:D2:09:24,                  , 192.168.20.22, ASUSWLHDD&lt;br /&gt;
 * 00:18:84:00:70:13,                  , 192.168.20.23, FONERA&lt;br /&gt;
 * 00:18:84:22:A2:DC,                  , 192.168.20.24, FONERA&lt;br /&gt;
 * 00:18:84:27:19:5C,                  , 192.168.20.25, FONERA&lt;br /&gt;
 * 00:18:84:21:6B:8C,                  , 192.168.20.26, FONERA&lt;br /&gt;
 * 00:18:84:21:6B:8C,                  , 192.168.20.26, FONERA&lt;br /&gt;
 * 00:18:84:1C:EB:28,                  , 192.168.20.27, FONERA&lt;br /&gt;
 * XX:XX:XX:XX:XX:XX,                  , 192.168.20.166, LAPTOP&lt;br /&gt;
&lt;br /&gt;
==== Channel: 6, ESSID: wbm2009-babel, BSSID: CA:CA:FE:CA:CA:30, IP: 192.168.30.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.30.2, Fonera (dzeta)&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.30.3, Fonera (eta)&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.30.4, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.30.5, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.30.6, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.30.7, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.30.8, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:DB, 00:16:B6:40:F2:DD, 192.168.30.9, WRT54GL&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.30.10, WRT54GS&lt;br /&gt;
 * 00:14:bf:d2:65:86,                  , 192.168.30.11, WRT54GL&lt;br /&gt;
 * 00:14:bf:d2:65:9e,                  , 192.168.30.12, WRT54GL&lt;br /&gt;
 * 00:11:D8:43:6A:27,                  , 192.168.30.14, ASUSWLHDD&lt;br /&gt;
 * 00:11:2F:9D:1B:E4,                  , 192.168.30.15, ASUSWLHDD&lt;br /&gt;
 * 00:11:D8:58:9D:9A,                  , 192.168.30.16, ASUSWLHDD&lt;br /&gt;
 * 00:14:bf:d2:6c:04,                  , 192.168.30.17, WRT54GL&lt;br /&gt;
 * 00:11:D8:58:9D:10,                  , 192.168.30.18, ASUSWLHDD&lt;br /&gt;
 * 00:11:D8:43:6A:C9,                  , 192.168.30.19, ASUSWLHDD&lt;br /&gt;
 * 00:11:D8:13:D4:D2,                  , 192.168.30.20, ASUSWLHDD&lt;br /&gt;
 * 00:11:D8:58:9F:1D,                  , 192.168.30.22, ASUSWLHDD&lt;br /&gt;
 * 00:18:84:25:69:50,                  , 192.168.30.23, Fonera&lt;br /&gt;
 * 00:18:84:25:df:50,                  , 192.168.30.24, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78,                  , 192.168.30.26, Fonera&lt;br /&gt;
 * 00:18:84:25:1A:60,                  , 192.168.30.27, Fonera&lt;br /&gt;
 * XX:XX:XX:XX:XX:XX,                  , 192.168.20.166, LAPTOP&lt;br /&gt;
&lt;br /&gt;
CONFLICTING (find it and change ip) :&lt;br /&gt;
 * 00:1F:C6:62:28:0F, 00:1F:C6:62:28:0F, 192.168.30.25, Asus WL-500Gpv2&lt;br /&gt;
&lt;br /&gt;
==== Channel: 11, ESSID: wbm2009-batman, BSSID: CA:CA:FE:CA:CA:40, IP: 192.168.40.0/24  ====&lt;br /&gt;
&lt;br /&gt;
 * 192.168.40.1, 00:0F:66:24:EE:2F, WRT54G&lt;br /&gt;
 * 192.168.40.2, 00:10:72:88:7F:BE, WRT54GS&lt;br /&gt;
 * 192.168.40.3, 00:12:17:26:EB:84, WRT54G v2&lt;br /&gt;
 * 192.168.40.5, 00:13:10:30:21:9G, WRT54GS 1.1&lt;br /&gt;
 * 192.168.40.6, 00:16:B6:40:F9:F2, WRT54GLgl 1.1&lt;br /&gt;
 * 192.168.40.7, 00:14:BF:D2:65:A1, WRT54GL&lt;br /&gt;
 * 192.168.40.8, 00:16:B6:40:F2:C6, WRT54GL&lt;br /&gt;
 * 192.168.40.9, 00:0F:66:C7:B9:6F, WRT54GS&lt;br /&gt;
 * 192.168.40.10, 00:16:B6:40:F2:C3, WRT54GL&lt;br /&gt;
 * 192.168.40.11, 00:16:B6:40:F2:D8, WRT54GL&lt;br /&gt;
 * 192.168.40.13, 00:16:B6:40:F2:D2, WRT54GL&lt;br /&gt;
 * 192.168.40.14, 00:15:f2:32:f0:84, ASUSWLHDD&lt;br /&gt;
 * 192.168.40.15, 00:11:D8:58:9F:6E, ASUSWLHDD&lt;br /&gt;
 * 192.168.40.16, 00:13:D4:D2:09:01, ASUSWLHDD&lt;br /&gt;
 * 192.168.40.18, 00:11:D8:58:A0:9F, ASUSWLHDD&lt;br /&gt;
 * 192.168.40.19, 00:11:D8:58:9E:b9, ASUSWLHDD&lt;br /&gt;
 * 192.168.40.20, 00:11:D8:58:9e:75, ASUSWLHDD&lt;br /&gt;
 * 192.168.40.21, 00:11:2F:9D:15:86, ASUS WL500GD&lt;br /&gt;
 * 192.168.40.23, 00:18:84:1C:F7:4C, Fonera&lt;br /&gt;
 * 192.168.40.24, 00:18:84:25:28:E4, Fonera&lt;br /&gt;
 * 192.168.40.25, 00:18:84:13:A5:50, Fonera&lt;br /&gt;
 * 192.168.40.26, 00:18:84:12:F7:2C, Fonera&lt;br /&gt;
 * 192.168.40.27, 00:18:84:11:A1:E4, Fonera&lt;br /&gt;
 * XX:XX:XX:XX:XX:XX,                  , 192.168.20.166, LAPTOP&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009, IP: 192.168.44.x/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.44.101, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:F2:C6, 00:16:B6:40:F2:C8, 192.168.44.102, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:A1, 00:14:BF:D2:65:A3, 192.168.44.103, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.44.104, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.44.105, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.44.107, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F9:F2, 00:16:B6:40:F9:F4, 192.168.44.108, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CF, 00:16:B6:40:F2:D1, 192.168.44.109, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:6C:04, 00:14:BF:D2:6C:06, 192.168.44.110, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D2, 00:16:B6:40:F2:D4, 192.168.44.111, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.44.112, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.44.113, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C3, 00:16:B6:40:F2:C5, 192.168.44.114, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.44.115, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.44.116, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.44.117, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.44.118, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.44.119, WRT54GL&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.44.120, WRT54GL&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.44.121, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.44.122, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.44.123, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.44.124, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.44.125, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.44.126, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.44.127, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.44.128, WRT54GS v4&lt;br /&gt;
 * 00:0F:66:C7:B9:6F, 00:0F:66:C7:B9:71, 192.168.44.129, WRT54GS&lt;br /&gt;
 * 00:13:10:07:EE:FC, 00:13:10:07:EE:FE, 192.168.44.130, WRT54GS v1.1&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.44.131, WRT54GS v1.1&lt;br /&gt;
 * 00:0F:66:24:EE:2F, 00:0F:66:24:EE:31, 192.168.44.133, WRT54G v1.1&lt;br /&gt;
 * 00:14:BF:BF:E6:5A, 00:14:BF:BF:E6:5C, 192.168.44.134, WRT54G v3.1&lt;br /&gt;
 * 00:12:17:26:EB:84, 00:12:17:26:EB:86, 192.168.44.135, WRT54G v2&lt;br /&gt;
 * 00:18:84:25:69:50, 00:18:84:25:69:51, 192.168.44.136, Fonera&lt;br /&gt;
 * 00:18:84:10:2F:7C, 00:18:84:10:2F:7D, 192.168.44.137, Fonera&lt;br /&gt;
 * 00:18:84:1C:EB:28, 00:18:84:1C:EB:29, 192.168.44.138, Fonera&lt;br /&gt;
 * 00:18:84:13:A5:50, 00:18:84:13:A5:51, 192.168.44.139, Fonera&lt;br /&gt;
 * 00:18:84:12:F7:2C, 00:18:84:12:F7:2D, 192.168.44.140, Fonera&lt;br /&gt;
 * 00:18:84:21:6B:8C, 00:18:84:21:6B:8D, 192.168.44.141, Fonera&lt;br /&gt;
 * 00:18:84:27:19:5C, 00:18:84:27:19:5D, 192.168.44.142, Fonera&lt;br /&gt;
 * 00:18:84:1C:F7:4C, 00:18:84:1C:F7:4D, 192.168.44.143, Fonera&lt;br /&gt;
 * 00:18:84:25:28:E4, 00:18:84:25:28:E5, 192.168.44.144, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.44.145, Fonera&lt;br /&gt;
 * 00:18:84:25:DF:50, 00:18:84:25:DF:51, 192.168.44.146, Fonera&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.44.147, Fonera&lt;br /&gt;
 * 00:11:2F:9D:15:86, 00:11:2F:9D:15:86, 192.168.44.148, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:98, 00:11:2F:9D:15:98, 192.168.44.149, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:43, 00:11:2F:9D:15:43, 192.168.44.150, WL500GD&lt;br /&gt;
 * XX:XX:XX:XX:XX:XX,                  , 192.168.20.166, LAPTOP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Layer 2 measurement ==&lt;br /&gt;
&lt;br /&gt;
As with '''any''' Wifi Network - layer 2 is the most important. If layer 2 does not work properly, there is little sense in working with any layer 3 routing protocol: it would not work anyway.&lt;br /&gt;
So here is a script which can interpret the iwconfig command on broadcom based systems (linksys WRT54G* etc):&lt;br /&gt;
&lt;br /&gt;
How to use the script:&lt;br /&gt;
  while $TRUE; do&lt;br /&gt;
    for h in $hosts; do&lt;br /&gt;
      ssh $h iwconfig wl0 &amp;gt;&amp;gt; $outfile&lt;br /&gt;
    done&lt;br /&gt;
    sleep 1&lt;br /&gt;
  done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== script for broadcom iwconfig ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/perl &lt;br /&gt;
# Copyright 2009 (C) by L. Aaron Kaplan &amp;lt;aaron@lo-res.org&amp;gt; all rights reserved&lt;br /&gt;
# &lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use Time::HiRes;&lt;br /&gt;
&lt;br /&gt;
# format iwconfig&lt;br /&gt;
#wl0       IEEE 802.11-DS  ESSID:&amp;quot;wbm2009-olsr&amp;quot;  &lt;br /&gt;
#          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: CA:CA:FE:CA:CA:20   &lt;br /&gt;
#          Bit Rate=54 Mb/s   Tx-Power:32 dBm   &lt;br /&gt;
#          Retry min limit:7   RTS thr:off   Fragment thr:off&lt;br /&gt;
#          Power Management:off&lt;br /&gt;
#          Link Quality=5/5  Signal level=-49 dBm  Noise level=-94 dBm&lt;br /&gt;
#          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0&lt;br /&gt;
#          Tx excessive retries:2  Invalid misc:0   Missed beacon:0&lt;br /&gt;
&lt;br /&gt;
my $essid;&lt;br /&gt;
my $mode;&lt;br /&gt;
my $cell;&lt;br /&gt;
my $freq;&lt;br /&gt;
my $bitrate;&lt;br /&gt;
my $txpower;&lt;br /&gt;
my $radio_lq;&lt;br /&gt;
my $signal;&lt;br /&gt;
my $noise;&lt;br /&gt;
my $ts;&lt;br /&gt;
&lt;br /&gt;
my $debug = 0;&lt;br /&gt;
$ts = Time::HiRes::time;&lt;br /&gt;
print &amp;quot;ts = $ts, localtims(ts)=&amp;quot; . localtime($ts) . &amp;quot;\n&amp;quot; if $debug;&lt;br /&gt;
&lt;br /&gt;
while (&amp;lt;&amp;gt;) {&lt;br /&gt;
    my $line = $_;&lt;br /&gt;
    chomp($line);&lt;br /&gt;
&lt;br /&gt;
#       if ($line =~ /^$/) { last; }        # done&lt;br /&gt;
&lt;br /&gt;
        if ($line =~ /ESSID:\&amp;quot;([^\&amp;quot;]+)/) {&lt;br /&gt;
                $essid = $1;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
        if ($line =~ /Mode:\s*([^ ]+)/) {&lt;br /&gt;
                $mode = $1;&lt;br /&gt;
        }&lt;br /&gt;
        if ($line =~ /Frequency:\s*([^ ]+)\s*GHz/) {&lt;br /&gt;
                $freq = $1;&lt;br /&gt;
        }&lt;br /&gt;
        if ($line =~ /Cell:\s*([^ ]+)/) {&lt;br /&gt;
                $cell = $1;&lt;br /&gt;
        }&lt;br /&gt;
        if ($line =~ /Bit Rate=\s*([^ ]+)\s*Mb\/s/) {&lt;br /&gt;
                $bitrate = $1;&lt;br /&gt;
        }&lt;br /&gt;
        if ($line =~ /Tx-Power:\s*([^ ]+)\s*dBm/) {&lt;br /&gt;
                $txpower = $1;&lt;br /&gt;
        }&lt;br /&gt;
        if ($line =~ /Link Quality=\s*([^ ]+)/) {&lt;br /&gt;
                $radio_lq = $1;&lt;br /&gt;
        }&lt;br /&gt;
        if ($line =~ /Signal level=\s*([^ ]+)/) {&lt;br /&gt;
                $signal = $1;&lt;br /&gt;
        }&lt;br /&gt;
        if ($line =~ /Noise level=\s*([^ ]+)/) {&lt;br /&gt;
                $noise = $1;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
print &amp;lt;&amp;lt;EOT;&lt;br /&gt;
timestamp;ESSID;mode;cell;freq;bitrate;txpower;radio_lq;signal;noise&lt;br /&gt;
$ts;$essid;$mode;$cell;$freq;$bitrate;$txpower;$radio_lq;$signal;$noise&lt;br /&gt;
EOT&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=File:Install_olsrd.tgz&amp;diff=1411</id>
		<title>File:Install olsrd.tgz</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=File:Install_olsrd.tgz&amp;diff=1411"/>
				<updated>2009-04-12T14:17:10Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1373</id>
		<title>Wireless Battle Mesh</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1373"/>
				<updated>2009-04-11T17:02:07Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: /* Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:DSC00007.JPG|400px]]&lt;br /&gt;
hackers preparing&lt;br /&gt;
&lt;br /&gt;
[[Image:DSC00008.JPG|400px]] and flashing linksyses&lt;br /&gt;
&lt;br /&gt;
== Call for Participants ==&lt;br /&gt;
&lt;br /&gt;
We are pleased to announce that the /tmp/lab will be organizing a Spring Wireless OpenWrt Mesh Contest called “Wireless Battle Mesh” during 2 days (April 11-12th) with the goal of building 3 wireless mesh networks based on embedded hardware running OpenWrt and different concurrent mesh routing protocols.&lt;br /&gt;
&lt;br /&gt;
The targeted architecture will be 3 networks of 25nodes + 1 wireless management network (10-20 nodes) to achieve realistic size of nodes number, data traffic, configuration problems. The architecture will be set-up indoor and outdoor around the building of the /tmp/lab.&lt;br /&gt;
&lt;br /&gt;
OpenWrt will be the selected for the BoardSupportPackage running on the different hardware nodes and a core network configuration will be built on Linux servers with user-friendly features such as :&lt;br /&gt;
* VLANs&lt;br /&gt;
* Captive portal&lt;br /&gt;
* Authentication&lt;br /&gt;
* Admin portal&lt;br /&gt;
&lt;br /&gt;
Concerning the mesh-protocols, selected targeted protocols are :&lt;br /&gt;
* OLSR : IP-based mesh routing platform (http://olsr.org and OpenWrt package available)&lt;br /&gt;
* BATMAN : Layer2-based mesh protocol (http://open-mesh.org) and available as a kernel module for Linux and packaged in OpenWrt&lt;br /&gt;
* BABEL : Layer-3 mesh protocol developed by University Paris 6, available for Linux and packaged in OpenWrt (http://www.pps.jussieu.fr/~jch/software/babel/)&lt;br /&gt;
&lt;br /&gt;
Concerning the hardware node, we are looking for hardware sponsors that could enjoy this “real-case” contest by providing 50-100 nodes to the event. This sponsor will be actually displayed on the organization website as well as during the event. The feedbacks for the hardware manufacturers can be not only from the users but also from the network community running real-case test (academic- or community-wide).&lt;br /&gt;
&lt;br /&gt;
The TMPLAB core team.&lt;br /&gt;
&lt;br /&gt;
== Agenda ==&lt;br /&gt;
&lt;br /&gt;
* Friday, April 10th, 8 pm : welcoming of the first people coming and flashing of the node and configuration of the nodes&lt;br /&gt;
* Sat, April 11th : &lt;br /&gt;
** Morning : setting up the nodes on-site and validation of the different subnets&lt;br /&gt;
** Afternoon : first series of tests and measurements with fixed nodes&lt;br /&gt;
* Sun 12th : &lt;br /&gt;
** Morning : second series of tests and measurement with fixed and mobile nodes (laptops)&lt;br /&gt;
** Afternoon : Optimization of the protocols and Conclusion&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
&lt;br /&gt;
=== Criterion ===&lt;br /&gt;
We will evaluate the routing protocols using the following criterion :&lt;br /&gt;
&lt;br /&gt;
* time to setup a node&lt;br /&gt;
* CPU activity&lt;br /&gt;
* network activity&lt;br /&gt;
* convergence time&lt;br /&gt;
* scalability&lt;br /&gt;
* mobile devices handling&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
&lt;br /&gt;
The evaluation platform consits of a SNMP agent which collects graphs from the different nodes using Cacti.&lt;br /&gt;
&lt;br /&gt;
== Hardware platforms ==&lt;br /&gt;
&lt;br /&gt;
We managed to get sponsoring for such hardware :&lt;br /&gt;
&lt;br /&gt;
* Linksys WRT54G/GS&lt;br /&gt;
* Asus WL500G Deluxe/Premium&lt;br /&gt;
* Fon Fonera&lt;br /&gt;
&lt;br /&gt;
For each protocol 25 nodes will be setup, with the following quantities :&lt;br /&gt;
&lt;br /&gt;
* FON : 25 nodes&lt;br /&gt;
* HSB : 32 nodes&lt;br /&gt;
* Wireless-fr : 6 nodes&lt;br /&gt;
* Tmplab : 15 nodes&lt;br /&gt;
* BATMAN : 10 nodes&lt;br /&gt;
* Thus0 : 5 nodes&lt;br /&gt;
&lt;br /&gt;
Total : 93 nodes. In case of problems, spare nodes are highly wanted.&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
&lt;br /&gt;
For each and every single node in the network, please prepare stickers containing the following informations :&lt;br /&gt;
&lt;br /&gt;
* routing protocol in use&lt;br /&gt;
* MAC address of the Wi-Fi interface&lt;br /&gt;
* IP address in the management network&lt;br /&gt;
* Owner&lt;br /&gt;
* hostname (e.g: node 1-babel)&lt;br /&gt;
&lt;br /&gt;
=== Node parts ===&lt;br /&gt;
&lt;br /&gt;
Each and every single node consists of the following physical parts:&lt;br /&gt;
&lt;br /&gt;
* A wireless router (Linksys, Fon, Asus ...)&lt;br /&gt;
* Antennas screwed on the router (no external unless specified)&lt;br /&gt;
* Power supply unit&lt;br /&gt;
* (Battery)&lt;br /&gt;
&lt;br /&gt;
== Software platform ==&lt;br /&gt;
&lt;br /&gt;
The different software versions in use during the Wireless Battle Mesh are :&lt;br /&gt;
&lt;br /&gt;
* babel-0.94 (and not 0.93 as previously announced), there's also a page about [[Babel]]&lt;br /&gt;
* olsrd-0.5.6-r4&lt;br /&gt;
* batman-adv-r1220&lt;br /&gt;
&lt;br /&gt;
OpenWrt should be Kamikaze 8.09. Broadcom-based hardware should be using the '''brcm-2.4''' image while Atheros-based hardware should be using the '''atheros''' target. If you need help flashing your devices do not hesitate to poke Florian and Nico about this.&lt;br /&gt;
&lt;br /&gt;
=== Software configuration ===&lt;br /&gt;
&lt;br /&gt;
Every node should be configured with the following settings :&lt;br /&gt;
&lt;br /&gt;
* hostname: node&amp;lt;N&amp;gt;-&amp;lt;routing protocol&amp;gt; (where N can be found using the plan/map and the routing protocol is babel, olsr or batman)&lt;br /&gt;
* user: root&lt;br /&gt;
* password: wbm2009&lt;br /&gt;
&lt;br /&gt;
We would like to be able to monitor the activity of every node, therefore an aditional SNMP configuration should be done with the following settings :&lt;br /&gt;
&lt;br /&gt;
* version: 2&lt;br /&gt;
* community: wbm2009&lt;br /&gt;
* permissions: ro&lt;br /&gt;
* allow graph disk/flash activity (e.g: disk /)&lt;br /&gt;
&lt;br /&gt;
=== Package list and repositories ===&lt;br /&gt;
&lt;br /&gt;
A mirror of the OpenWrt kamikaze 8.09 package repository will be available during the WBM2009. Additionnal packages that we recommend to install are :&lt;br /&gt;
&lt;br /&gt;
* ntpclient (or busybox's rdate)&lt;br /&gt;
* wprobe&lt;br /&gt;
* snmpd&lt;br /&gt;
&lt;br /&gt;
== Wireless configuration ==&lt;br /&gt;
&lt;br /&gt;
Each node will be working in '''Ad-hoc''' mode using the following settings.&lt;br /&gt;
&lt;br /&gt;
=== For babel ===&lt;br /&gt;
&lt;br /&gt;
* SSID: babel&lt;br /&gt;
* Channel: 1&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For Batman ===&lt;br /&gt;
&lt;br /&gt;
* SSID: batman&lt;br /&gt;
* Channel: 5&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For OLSR ===&lt;br /&gt;
&lt;br /&gt;
* SSID: olsr&lt;br /&gt;
* Channel: 11&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
The resulting '''/etc/config/wireless''' is then for Broadcom devices and for a Babel node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wl0&lt;br /&gt;
        option type     broadcom&lt;br /&gt;
        option channel  1&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wl0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     adhoc&lt;br /&gt;
        option ssid     babel&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an OLSR node on an Atheros board:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wifi0&lt;br /&gt;
        option type     atheros&lt;br /&gt;
        option channel  11&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wifi0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     sta&lt;br /&gt;
        option ssid     olsr&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: we unbridge the LAN interface with the Wi-Fi interface in order to be able to define specific networks on the LAN interface.&lt;br /&gt;
&lt;br /&gt;
== Network topology ==&lt;br /&gt;
&lt;br /&gt;
There will be different subnets corresponding to different purposes.&lt;br /&gt;
&lt;br /&gt;
=== Protocol wide subnet ===&lt;br /&gt;
&lt;br /&gt;
This subnet is required for the nodes running a given protocol to work, meaning that the wireless interface in ad-hoc mode must be configured with an address falling within the range defined below:&lt;br /&gt;
&lt;br /&gt;
* Babel: 192.168.40.0/24&lt;br /&gt;
* Batman: 192.168.30.0/24&lt;br /&gt;
* OLSR: 192.168.20.0/24&lt;br /&gt;
&lt;br /&gt;
An '''/etc/config/network''' file for a Babel node looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#### VLAN configuration&lt;br /&gt;
config switch eth0&lt;br /&gt;
        option vlan0    &amp;quot;1 2 3 4 5*&amp;quot;&lt;br /&gt;
        option vlan1    &amp;quot;0 5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Loopback configuration&lt;br /&gt;
config interface loopback&lt;br /&gt;
        option ifname   &amp;quot;lo&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   127.0.0.1&lt;br /&gt;
        option netmask  255.0.0.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### LAN configuration&lt;br /&gt;
config interface lan&lt;br /&gt;
        option type     bridge&lt;br /&gt;
        option ifname   &amp;quot;eth0.0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.2.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&lt;br /&gt;
#### Wi-Fi configuration&lt;br /&gt;
config interface wifi&lt;br /&gt;
        option ifname   &amp;quot;wl0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.40.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
Nodes have been flashed with custom firmware images:&lt;br /&gt;
 - root password is set to 'wbm2009'&lt;br /&gt;
 - pubkey ssh authentication is enabled, keys are available here: http://ska.lan.tmplab.org/ssh/&lt;br /&gt;
 - LAN configuration was not changed and default to 192.168.1.1/24&lt;br /&gt;
 - Default wireless configuration is:&lt;br /&gt;
   - ssid: wbm2009&lt;br /&gt;
   - mode: adhoc&lt;br /&gt;
   - encryption: none&lt;br /&gt;
&lt;br /&gt;
When using ssh with same key and different hosts, it might be convenient to add the following in /etc/ssh/ssh_config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
StrictHostKeyChecking no&lt;br /&gt;
UserKnownHostsFile /dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wireless IP adresses ===&lt;br /&gt;
&lt;br /&gt;
you can set the addres this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@OpenWrt:~# uci set network.wifi.ipaddr=&amp;quot;192.168.44.x&amp;quot;; uci commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
00:18:84:21:6B:8C&lt;br /&gt;
(LAN MAC, WiFi MAC, WiFi IP)&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:24:E9:D0, 00:0F:66:24:E9:D2, 192.168.20.1, WRT54G v1.1&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.20.2, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.20.3, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.20.4, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.20.5, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.20.6, WRT54GS v4&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.20.7, WRT54GS v1.1&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.20.8, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.20.9, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.20.10, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.20.11, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.20.12, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.20.13, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.20.14, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.20.15, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.20.16, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.20.17, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.20.18, WRT54GL&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.20.20, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.20.21, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.20.22, WRT54GL&lt;br /&gt;
&lt;br /&gt;
==== Channel: 6, ESSID: wbm2009-babel, BSSID: CA:CA:FE:CA:CA:230, IP: 192.168.30.0/24  ====&lt;br /&gt;
&lt;br /&gt;
* 00:1F:C6:62:28:0F, 00:1F:C6:62:28:0F, 192.168.30.25, Asus WL-500Gpv2&lt;br /&gt;
&lt;br /&gt;
==== Channel: 11, ESSID: wbm2009-batman, BSSID: CA:CA:FE:CA:CA:40, IP: 192.168.40.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009, IP: 192.168.44.x/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.44.101, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:F2:C6, 00:16:B6:40:F2:C8, 192.168.44.102, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:A1, 00:14:BF:D2:65:A3, 192.168.44.103, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.44.104, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.44.105, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:DB, 00:16:B6:40:F2:DD, 192.168.44.106, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.44.107, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F9:F2, 00:16:B6:40:F9:F4, 192.168.44.108, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CF, 00:16:B6:40:F2:D1, 192.168.44.109, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:6C:04, 00:14:BF:D2:6C:06, 192.168.44.110, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D2, 00:16:B6:40:F2:D4, 192.168.44.111, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.44.112, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.44.113, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C3, 00:16:B6:40:F2:C5, 192.168.44.114, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.44.115, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.44.116, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.44.117, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.44.118, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.44.119, WRT54GL&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.44.120, WRT54GL&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.44.121, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.44.122, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.44.123, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.44.124, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.44.125, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.44.126, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.44.127, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.44.128, WRT54GS v4&lt;br /&gt;
 * 00:0F:66:C7:B9:6F, 00:0F:66:C7:B9:71, 192.168.44.129, WRT54GS&lt;br /&gt;
 * 00:13:10:07:EE:FC, 00:13:10:07:EE:FE, 192.168.44.130, WRT54GS v1.1&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.44.131, WRT54GS v1.1&lt;br /&gt;
 * 00:0F:66:24:EE:2F, 00:0F:66:24:EE:31, 192.168.44.133, WRT54G v1.1&lt;br /&gt;
 * 00:14:BF:BF:E6:5A, 00:14:BF:BF:E6:5C, 192.168.44.134, WRT54G v3.1&lt;br /&gt;
 * 00:12:17:26:EB:84, 00:12:17:26:EB:86, 192.168.44.135, WRT54G v2&lt;br /&gt;
 * 00:18:84:25:69:50, 00:18:84:25:69:51, 192.168.44.136, Fonera&lt;br /&gt;
 * 00:18:84:10:2F:7C, 00:18:84:10:2F:7D, 192.168.44.137, Fonera&lt;br /&gt;
 * 00:18:84:1C:EB:28, 00:18:84:1C:EB:29, 192.168.44.138, Fonera&lt;br /&gt;
 * 00:18:84:13:A5:50, 00:18:84:13:A5:51, 192.168.44.139, Fonera&lt;br /&gt;
 * 00:18:84:12:F7:2C, 00:18:84:12:F7:2D, 192.168.44.140, Fonera&lt;br /&gt;
 * 00:18:84:21:6B:8C, 00:18:84:21:6B:8D, 192.168.44.141, Fonera&lt;br /&gt;
 * 00:18:84:27:19:5C, 00:18:84:27:19:5D, 192.168.44.142, Fonera&lt;br /&gt;
 * 00:18:84:1C:F7:4C, 00:18:84:1C:F7:4D, 192.168.44.143, Fonera&lt;br /&gt;
 * 00:18:84:25:28:E4, 00:18:84:25:28:E5, 192.168.44.144, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.44.145, Fonera&lt;br /&gt;
 * 00:18:84:25:DF:50, 00:18:84:25:DF:51, 192.168.44.146, Fonera&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.44.147, Fonera&lt;br /&gt;
 * 00:11:2F:9D:15:86, 00:11:2F:9D:15:86, 192.168.44.148, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:98, 00:11:2F:9D:15:98, 192.168.44.149, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:43, 00:11:2F:9D:15:43, 192.168.44.150, WL500GD&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1371</id>
		<title>Wireless Battle Mesh</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1371"/>
				<updated>2009-04-11T17:00:49Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:DSC00007.JPG|400px]]&lt;br /&gt;
hackers preparing&lt;br /&gt;
&lt;br /&gt;
[[Image:DSC00008.JPG|400px]] and flashing linksyses&lt;br /&gt;
&lt;br /&gt;
== Call for Participants ==&lt;br /&gt;
&lt;br /&gt;
We are pleased to announce that the /tmp/lab will be organizing a Spring Wireless OpenWrt Mesh Contest called “Wireless Battle Mesh” during 2 days (April 11-12th) with the goal of building 3 wireless mesh networks based on embedded hardware running OpenWrt and different concurrent mesh routing protocols.&lt;br /&gt;
&lt;br /&gt;
The targeted architecture will be 3 networks of 25nodes + 1 wireless management network (10-20 nodes) to achieve realistic size of nodes number, data traffic, configuration problems. The architecture will be set-up indoor and outdoor around the building of the /tmp/lab.&lt;br /&gt;
&lt;br /&gt;
OpenWrt will be the selected for the BoardSupportPackage running on the different hardware nodes and a core network configuration will be built on Linux servers with user-friendly features such as :&lt;br /&gt;
* VLANs&lt;br /&gt;
* Captive portal&lt;br /&gt;
* Authentication&lt;br /&gt;
* Admin portal&lt;br /&gt;
&lt;br /&gt;
Concerning the mesh-protocols, selected targeted protocols are :&lt;br /&gt;
* OLSR : IP-based mesh routing platform (http://olsr.org and OpenWrt package available)&lt;br /&gt;
* BATMAN : Layer2-based mesh protocol (http://open-mesh.org) and available as a kernel module for Linux and packaged in OpenWrt&lt;br /&gt;
* BABEL : Layer-3 mesh protocol developed by University Paris 6, available for Linux and packaged in OpenWrt (http://www.pps.jussieu.fr/~jch/software/babel/)&lt;br /&gt;
&lt;br /&gt;
Concerning the hardware node, we are looking for hardware sponsors that could enjoy this “real-case” contest by providing 50-100 nodes to the event. This sponsor will be actually displayed on the organization website as well as during the event. The feedbacks for the hardware manufacturers can be not only from the users but also from the network community running real-case test (academic- or community-wide).&lt;br /&gt;
&lt;br /&gt;
The TMPLAB core team.&lt;br /&gt;
&lt;br /&gt;
== Agenda ==&lt;br /&gt;
&lt;br /&gt;
* Friday, April 10th, 8 pm : welcoming of the first people coming and flashing of the node and configuration of the nodes&lt;br /&gt;
* Sat, April 11th : &lt;br /&gt;
** Morning : setting up the nodes on-site and validation of the different subnets&lt;br /&gt;
** Afternoon : first series of tests and measurements with fixed nodes&lt;br /&gt;
* Sun 12th : &lt;br /&gt;
** Morning : second series of tests and measurement with fixed and mobile nodes (laptops)&lt;br /&gt;
** Afternoon : Optimization of the protocols and Conclusion&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
&lt;br /&gt;
=== Criterion ===&lt;br /&gt;
We will evaluate the routing protocols using the following criterion :&lt;br /&gt;
&lt;br /&gt;
* time to setup a node&lt;br /&gt;
* CPU activity&lt;br /&gt;
* network activity&lt;br /&gt;
* convergence time&lt;br /&gt;
* scalability&lt;br /&gt;
* mobile devices handling&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
&lt;br /&gt;
The evaluation platform consits of a SNMP agent which collects graphs from the different nodes using Cacti.&lt;br /&gt;
&lt;br /&gt;
== Hardware platforms ==&lt;br /&gt;
&lt;br /&gt;
We managed to get sponsoring for such hardware :&lt;br /&gt;
&lt;br /&gt;
* Linksys WRT54G/GS&lt;br /&gt;
* Asus WL500G Deluxe/Premium&lt;br /&gt;
* Fon Fonera&lt;br /&gt;
&lt;br /&gt;
For each protocol 25 nodes will be setup, with the following quantities :&lt;br /&gt;
&lt;br /&gt;
* FON : 25 nodes&lt;br /&gt;
* HSB : 32 nodes&lt;br /&gt;
* Wireless-fr : 6 nodes&lt;br /&gt;
* Tmplab : 15 nodes&lt;br /&gt;
* BATMAN : 10 nodes&lt;br /&gt;
* Thus0 : 5 nodes&lt;br /&gt;
&lt;br /&gt;
Total : 93 nodes. In case of problems, spare nodes are highly wanted.&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
&lt;br /&gt;
For each and every single node in the network, please prepare stickers containing the following informations :&lt;br /&gt;
&lt;br /&gt;
* routing protocol in use&lt;br /&gt;
* MAC address of the Wi-Fi interface&lt;br /&gt;
* IP address in the management network&lt;br /&gt;
* Owner&lt;br /&gt;
* hostname (e.g: node 1-babel)&lt;br /&gt;
&lt;br /&gt;
=== Node parts ===&lt;br /&gt;
&lt;br /&gt;
Each and every single node consists of the following physical parts:&lt;br /&gt;
&lt;br /&gt;
* A wireless router (Linksys, Fon, Asus ...)&lt;br /&gt;
* Antennas screwed on the router (no external unless specified)&lt;br /&gt;
* Power supply unit&lt;br /&gt;
* (Battery)&lt;br /&gt;
&lt;br /&gt;
== Software platform ==&lt;br /&gt;
&lt;br /&gt;
The different software versions in use during the Wireless Battle Mesh are :&lt;br /&gt;
&lt;br /&gt;
* babel-0.94 (and not 0.93 as previously announced), there's also a page about [[Babel]]&lt;br /&gt;
* olsrd-0.5.6-r4&lt;br /&gt;
* batman-adv-r1220&lt;br /&gt;
&lt;br /&gt;
OpenWrt should be Kamikaze 8.09. Broadcom-based hardware should be using the '''brcm-2.4''' image while Atheros-based hardware should be using the '''atheros''' target. If you need help flashing your devices do not hesitate to poke Florian and Nico about this.&lt;br /&gt;
&lt;br /&gt;
=== Software configuration ===&lt;br /&gt;
&lt;br /&gt;
Every node should be configured with the following settings :&lt;br /&gt;
&lt;br /&gt;
* hostname: node&amp;lt;N&amp;gt;-&amp;lt;routing protocol&amp;gt; (where N can be found using the plan/map and the routing protocol is babel, olsr or batman)&lt;br /&gt;
* user: root&lt;br /&gt;
* password: wbm2009&lt;br /&gt;
&lt;br /&gt;
We would like to be able to monitor the activity of every node, therefore an aditional SNMP configuration should be done with the following settings :&lt;br /&gt;
&lt;br /&gt;
* version: 2&lt;br /&gt;
* community: wbm2009&lt;br /&gt;
* permissions: ro&lt;br /&gt;
* allow graph disk/flash activity (e.g: disk /)&lt;br /&gt;
&lt;br /&gt;
=== Package list and repositories ===&lt;br /&gt;
&lt;br /&gt;
A mirror of the OpenWrt kamikaze 8.09 package repository will be available during the WBM2009. Additionnal packages that we recommend to install are :&lt;br /&gt;
&lt;br /&gt;
* ntpclient (or busybox's rdate)&lt;br /&gt;
* wprobe&lt;br /&gt;
* snmpd&lt;br /&gt;
&lt;br /&gt;
== Wireless configuration ==&lt;br /&gt;
&lt;br /&gt;
Each node will be working in '''Ad-hoc''' mode using the following settings.&lt;br /&gt;
&lt;br /&gt;
=== For babel ===&lt;br /&gt;
&lt;br /&gt;
* SSID: babel&lt;br /&gt;
* Channel: 1&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For Batman ===&lt;br /&gt;
&lt;br /&gt;
* SSID: batman&lt;br /&gt;
* Channel: 5&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For OLSR ===&lt;br /&gt;
&lt;br /&gt;
* SSID: olsr&lt;br /&gt;
* Channel: 11&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
The resulting '''/etc/config/wireless''' is then for Broadcom devices and for a Babel node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wl0&lt;br /&gt;
        option type     broadcom&lt;br /&gt;
        option channel  1&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wl0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     adhoc&lt;br /&gt;
        option ssid     babel&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an OLSR node on an Atheros board:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wifi0&lt;br /&gt;
        option type     atheros&lt;br /&gt;
        option channel  11&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wifi0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     sta&lt;br /&gt;
        option ssid     olsr&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: we unbridge the LAN interface with the Wi-Fi interface in order to be able to define specific networks on the LAN interface.&lt;br /&gt;
&lt;br /&gt;
== Network topology ==&lt;br /&gt;
&lt;br /&gt;
There will be different subnets corresponding to different purposes.&lt;br /&gt;
&lt;br /&gt;
=== Protocol wide subnet ===&lt;br /&gt;
&lt;br /&gt;
This subnet is required for the nodes running a given protocol to work, meaning that the wireless interface in ad-hoc mode must be configured with an address falling within the range defined below:&lt;br /&gt;
&lt;br /&gt;
* Babel: 192.168.40.0/24&lt;br /&gt;
* Batman: 192.168.30.0/24&lt;br /&gt;
* OLSR: 192.168.20.0/24&lt;br /&gt;
&lt;br /&gt;
An '''/etc/config/network''' file for a Babel node looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#### VLAN configuration&lt;br /&gt;
config switch eth0&lt;br /&gt;
        option vlan0    &amp;quot;1 2 3 4 5*&amp;quot;&lt;br /&gt;
        option vlan1    &amp;quot;0 5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Loopback configuration&lt;br /&gt;
config interface loopback&lt;br /&gt;
        option ifname   &amp;quot;lo&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   127.0.0.1&lt;br /&gt;
        option netmask  255.0.0.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### LAN configuration&lt;br /&gt;
config interface lan&lt;br /&gt;
        option type     bridge&lt;br /&gt;
        option ifname   &amp;quot;eth0.0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.2.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&lt;br /&gt;
#### Wi-Fi configuration&lt;br /&gt;
config interface wifi&lt;br /&gt;
        option ifname   &amp;quot;wl0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.40.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
Nodes have been flashed with custom firmware images:&lt;br /&gt;
 - root password is set to 'wbm2009'&lt;br /&gt;
 - pubkey ssh authentication is enabled, keys are available here: http://ska.lan.tmplab.org/ssh/&lt;br /&gt;
 - LAN configuration was not changed and default to 192.168.1.1/24&lt;br /&gt;
 - Default wireless configuration is:&lt;br /&gt;
   - ssid: wbm2009&lt;br /&gt;
   - mode: adhoc&lt;br /&gt;
   - encryption: none&lt;br /&gt;
&lt;br /&gt;
When using ssh with same key and different hosts, it might be convenient to add the following in /etc/ssh/ssh_config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
StrictHostKeyChecking no&lt;br /&gt;
UserKnownHostsFile /dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wireless IP adresses ===&lt;br /&gt;
&lt;br /&gt;
you can set the addres this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@OpenWrt:~# uci set network.wifi.ipaddr=&amp;quot;192.168.44.x&amp;quot;; uci commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
00:18:84:21:6B:8C&lt;br /&gt;
(LAN MAC, WiFi MAC, WiFi IP)&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:24:E9:D0, 00:0F:66:24:E9:D2, 192.168.20.1, WRT54G v1.1&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.20.2, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.20.3, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.20.4, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.20.5, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.20.6, WRT54GS v4&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.20.7, WRT54GS v1.1&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.20.8, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.20.9, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.20.10, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.20.11, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.20.12, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.20.13, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.20.14, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.20.15, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.20.16, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.20.17, WRT54GL&lt;br /&gt;
 &lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.20.20, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.20.21, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.20.22, WRT54GL&lt;br /&gt;
&lt;br /&gt;
==== Channel: 6, ESSID: wbm2009-babel, BSSID: CA:CA:FE:CA:CA:230, IP: 192.168.30.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 11, ESSID: wbm2009-batman, BSSID: CA:CA:FE:CA:CA:40, IP: 192.168.40.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009, IP: 192.168.44.x/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.44.101, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:F2:C6, 00:16:B6:40:F2:C8, 192.168.44.102, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:A1, 00:14:BF:D2:65:A3, 192.168.44.103, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.44.104, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.44.105, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:DB, 00:16:B6:40:F2:DD, 192.168.44.106, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.44.107, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F9:F2, 00:16:B6:40:F9:F4, 192.168.44.108, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CF, 00:16:B6:40:F2:D1, 192.168.44.109, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:6C:04, 00:14:BF:D2:6C:06, 192.168.44.110, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D2, 00:16:B6:40:F2:D4, 192.168.44.111, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.44.112, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.44.113, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C3, 00:16:B6:40:F2:C5, 192.168.44.114, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.44.115, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.44.116, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.44.117, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.44.118, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.44.119, WRT54GL&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.44.120, WRT54GL&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.44.121, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.44.122, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.44.123, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.44.124, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.44.125, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.44.126, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.44.127, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.44.128, WRT54GS v4&lt;br /&gt;
 * 00:0F:66:C7:B9:6F, 00:0F:66:C7:B9:71, 192.168.44.129, WRT54GS&lt;br /&gt;
 * 00:13:10:07:EE:FC, 00:13:10:07:EE:FE, 192.168.44.130, WRT54GS v1.1&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.44.131, WRT54GS v1.1&lt;br /&gt;
 * 00:0F:66:24:EE:2F, 00:0F:66:24:EE:31, 192.168.44.133, WRT54G v1.1&lt;br /&gt;
 * 00:14:BF:BF:E6:5A, 00:14:BF:BF:E6:5C, 192.168.44.134, WRT54G v3.1&lt;br /&gt;
 * 00:12:17:26:EB:84, 00:12:17:26:EB:86, 192.168.44.135, WRT54G v2&lt;br /&gt;
 * 00:18:84:25:69:50, 00:18:84:25:69:51, 192.168.44.136, Fonera&lt;br /&gt;
 * 00:18:84:10:2F:7C, 00:18:84:10:2F:7D, 192.168.44.137, Fonera&lt;br /&gt;
 * 00:18:84:1C:EB:28, 00:18:84:1C:EB:29, 192.168.44.138, Fonera&lt;br /&gt;
 * 00:18:84:13:A5:50, 00:18:84:13:A5:51, 192.168.44.139, Fonera&lt;br /&gt;
 * 00:18:84:12:F7:2C, 00:18:84:12:F7:2D, 192.168.44.140, Fonera&lt;br /&gt;
 * 00:18:84:21:6B:8C, 00:18:84:21:6B:8D, 192.168.44.141, Fonera&lt;br /&gt;
 * 00:18:84:27:19:5C, 00:18:84:27:19:5D, 192.168.44.142, Fonera&lt;br /&gt;
 * 00:18:84:1C:F7:4C, 00:18:84:1C:F7:4D, 192.168.44.143, Fonera&lt;br /&gt;
 * 00:18:84:25:28:E4, 00:18:84:25:28:E5, 192.168.44.144, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.44.145, Fonera&lt;br /&gt;
 * 00:18:84:25:DF:50, 00:18:84:25:DF:51, 192.168.44.146, Fonera&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.44.147, Fonera&lt;br /&gt;
 * 00:11:2F:9D:15:86, 00:11:2F:9D:15:86, 192.168.44.148, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:98, 00:11:2F:9D:15:98, 192.168.44.149, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:43, 00:11:2F:9D:15:43, 192.168.44.150, WL500GD&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1370</id>
		<title>Wireless Battle Mesh</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1370"/>
				<updated>2009-04-11T17:00:20Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:DSC00007.JPG|600px]]&lt;br /&gt;
hackers preparing&lt;br /&gt;
&lt;br /&gt;
[[Image:DSC00008.JPG]] and flashing linksyses&lt;br /&gt;
&lt;br /&gt;
== Call for Participants ==&lt;br /&gt;
&lt;br /&gt;
We are pleased to announce that the /tmp/lab will be organizing a Spring Wireless OpenWrt Mesh Contest called “Wireless Battle Mesh” during 2 days (April 11-12th) with the goal of building 3 wireless mesh networks based on embedded hardware running OpenWrt and different concurrent mesh routing protocols.&lt;br /&gt;
&lt;br /&gt;
The targeted architecture will be 3 networks of 25nodes + 1 wireless management network (10-20 nodes) to achieve realistic size of nodes number, data traffic, configuration problems. The architecture will be set-up indoor and outdoor around the building of the /tmp/lab.&lt;br /&gt;
&lt;br /&gt;
OpenWrt will be the selected for the BoardSupportPackage running on the different hardware nodes and a core network configuration will be built on Linux servers with user-friendly features such as :&lt;br /&gt;
* VLANs&lt;br /&gt;
* Captive portal&lt;br /&gt;
* Authentication&lt;br /&gt;
* Admin portal&lt;br /&gt;
&lt;br /&gt;
Concerning the mesh-protocols, selected targeted protocols are :&lt;br /&gt;
* OLSR : IP-based mesh routing platform (http://olsr.org and OpenWrt package available)&lt;br /&gt;
* BATMAN : Layer2-based mesh protocol (http://open-mesh.org) and available as a kernel module for Linux and packaged in OpenWrt&lt;br /&gt;
* BABEL : Layer-3 mesh protocol developed by University Paris 6, available for Linux and packaged in OpenWrt (http://www.pps.jussieu.fr/~jch/software/babel/)&lt;br /&gt;
&lt;br /&gt;
Concerning the hardware node, we are looking for hardware sponsors that could enjoy this “real-case” contest by providing 50-100 nodes to the event. This sponsor will be actually displayed on the organization website as well as during the event. The feedbacks for the hardware manufacturers can be not only from the users but also from the network community running real-case test (academic- or community-wide).&lt;br /&gt;
&lt;br /&gt;
The TMPLAB core team.&lt;br /&gt;
&lt;br /&gt;
== Agenda ==&lt;br /&gt;
&lt;br /&gt;
* Friday, April 10th, 8 pm : welcoming of the first people coming and flashing of the node and configuration of the nodes&lt;br /&gt;
* Sat, April 11th : &lt;br /&gt;
** Morning : setting up the nodes on-site and validation of the different subnets&lt;br /&gt;
** Afternoon : first series of tests and measurements with fixed nodes&lt;br /&gt;
* Sun 12th : &lt;br /&gt;
** Morning : second series of tests and measurement with fixed and mobile nodes (laptops)&lt;br /&gt;
** Afternoon : Optimization of the protocols and Conclusion&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
&lt;br /&gt;
=== Criterion ===&lt;br /&gt;
We will evaluate the routing protocols using the following criterion :&lt;br /&gt;
&lt;br /&gt;
* time to setup a node&lt;br /&gt;
* CPU activity&lt;br /&gt;
* network activity&lt;br /&gt;
* convergence time&lt;br /&gt;
* scalability&lt;br /&gt;
* mobile devices handling&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
&lt;br /&gt;
The evaluation platform consits of a SNMP agent which collects graphs from the different nodes using Cacti.&lt;br /&gt;
&lt;br /&gt;
== Hardware platforms ==&lt;br /&gt;
&lt;br /&gt;
We managed to get sponsoring for such hardware :&lt;br /&gt;
&lt;br /&gt;
* Linksys WRT54G/GS&lt;br /&gt;
* Asus WL500G Deluxe/Premium&lt;br /&gt;
* Fon Fonera&lt;br /&gt;
&lt;br /&gt;
For each protocol 25 nodes will be setup, with the following quantities :&lt;br /&gt;
&lt;br /&gt;
* FON : 25 nodes&lt;br /&gt;
* HSB : 32 nodes&lt;br /&gt;
* Wireless-fr : 6 nodes&lt;br /&gt;
* Tmplab : 15 nodes&lt;br /&gt;
* BATMAN : 10 nodes&lt;br /&gt;
* Thus0 : 5 nodes&lt;br /&gt;
&lt;br /&gt;
Total : 93 nodes. In case of problems, spare nodes are highly wanted.&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
&lt;br /&gt;
For each and every single node in the network, please prepare stickers containing the following informations :&lt;br /&gt;
&lt;br /&gt;
* routing protocol in use&lt;br /&gt;
* MAC address of the Wi-Fi interface&lt;br /&gt;
* IP address in the management network&lt;br /&gt;
* Owner&lt;br /&gt;
* hostname (e.g: node 1-babel)&lt;br /&gt;
&lt;br /&gt;
=== Node parts ===&lt;br /&gt;
&lt;br /&gt;
Each and every single node consists of the following physical parts:&lt;br /&gt;
&lt;br /&gt;
* A wireless router (Linksys, Fon, Asus ...)&lt;br /&gt;
* Antennas screwed on the router (no external unless specified)&lt;br /&gt;
* Power supply unit&lt;br /&gt;
* (Battery)&lt;br /&gt;
&lt;br /&gt;
== Software platform ==&lt;br /&gt;
&lt;br /&gt;
The different software versions in use during the Wireless Battle Mesh are :&lt;br /&gt;
&lt;br /&gt;
* babel-0.94 (and not 0.93 as previously announced), there's also a page about [[Babel]]&lt;br /&gt;
* olsrd-0.5.6-r4&lt;br /&gt;
* batman-adv-r1220&lt;br /&gt;
&lt;br /&gt;
OpenWrt should be Kamikaze 8.09. Broadcom-based hardware should be using the '''brcm-2.4''' image while Atheros-based hardware should be using the '''atheros''' target. If you need help flashing your devices do not hesitate to poke Florian and Nico about this.&lt;br /&gt;
&lt;br /&gt;
=== Software configuration ===&lt;br /&gt;
&lt;br /&gt;
Every node should be configured with the following settings :&lt;br /&gt;
&lt;br /&gt;
* hostname: node&amp;lt;N&amp;gt;-&amp;lt;routing protocol&amp;gt; (where N can be found using the plan/map and the routing protocol is babel, olsr or batman)&lt;br /&gt;
* user: root&lt;br /&gt;
* password: wbm2009&lt;br /&gt;
&lt;br /&gt;
We would like to be able to monitor the activity of every node, therefore an aditional SNMP configuration should be done with the following settings :&lt;br /&gt;
&lt;br /&gt;
* version: 2&lt;br /&gt;
* community: wbm2009&lt;br /&gt;
* permissions: ro&lt;br /&gt;
* allow graph disk/flash activity (e.g: disk /)&lt;br /&gt;
&lt;br /&gt;
=== Package list and repositories ===&lt;br /&gt;
&lt;br /&gt;
A mirror of the OpenWrt kamikaze 8.09 package repository will be available during the WBM2009. Additionnal packages that we recommend to install are :&lt;br /&gt;
&lt;br /&gt;
* ntpclient (or busybox's rdate)&lt;br /&gt;
* wprobe&lt;br /&gt;
* snmpd&lt;br /&gt;
&lt;br /&gt;
== Wireless configuration ==&lt;br /&gt;
&lt;br /&gt;
Each node will be working in '''Ad-hoc''' mode using the following settings.&lt;br /&gt;
&lt;br /&gt;
=== For babel ===&lt;br /&gt;
&lt;br /&gt;
* SSID: babel&lt;br /&gt;
* Channel: 1&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For Batman ===&lt;br /&gt;
&lt;br /&gt;
* SSID: batman&lt;br /&gt;
* Channel: 5&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For OLSR ===&lt;br /&gt;
&lt;br /&gt;
* SSID: olsr&lt;br /&gt;
* Channel: 11&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
The resulting '''/etc/config/wireless''' is then for Broadcom devices and for a Babel node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wl0&lt;br /&gt;
        option type     broadcom&lt;br /&gt;
        option channel  1&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wl0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     adhoc&lt;br /&gt;
        option ssid     babel&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an OLSR node on an Atheros board:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wifi0&lt;br /&gt;
        option type     atheros&lt;br /&gt;
        option channel  11&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wifi0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     sta&lt;br /&gt;
        option ssid     olsr&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: we unbridge the LAN interface with the Wi-Fi interface in order to be able to define specific networks on the LAN interface.&lt;br /&gt;
&lt;br /&gt;
== Network topology ==&lt;br /&gt;
&lt;br /&gt;
There will be different subnets corresponding to different purposes.&lt;br /&gt;
&lt;br /&gt;
=== Protocol wide subnet ===&lt;br /&gt;
&lt;br /&gt;
This subnet is required for the nodes running a given protocol to work, meaning that the wireless interface in ad-hoc mode must be configured with an address falling within the range defined below:&lt;br /&gt;
&lt;br /&gt;
* Babel: 192.168.40.0/24&lt;br /&gt;
* Batman: 192.168.30.0/24&lt;br /&gt;
* OLSR: 192.168.20.0/24&lt;br /&gt;
&lt;br /&gt;
An '''/etc/config/network''' file for a Babel node looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#### VLAN configuration&lt;br /&gt;
config switch eth0&lt;br /&gt;
        option vlan0    &amp;quot;1 2 3 4 5*&amp;quot;&lt;br /&gt;
        option vlan1    &amp;quot;0 5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Loopback configuration&lt;br /&gt;
config interface loopback&lt;br /&gt;
        option ifname   &amp;quot;lo&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   127.0.0.1&lt;br /&gt;
        option netmask  255.0.0.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### LAN configuration&lt;br /&gt;
config interface lan&lt;br /&gt;
        option type     bridge&lt;br /&gt;
        option ifname   &amp;quot;eth0.0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.2.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&lt;br /&gt;
#### Wi-Fi configuration&lt;br /&gt;
config interface wifi&lt;br /&gt;
        option ifname   &amp;quot;wl0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.40.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
Nodes have been flashed with custom firmware images:&lt;br /&gt;
 - root password is set to 'wbm2009'&lt;br /&gt;
 - pubkey ssh authentication is enabled, keys are available here: http://ska.lan.tmplab.org/ssh/&lt;br /&gt;
 - LAN configuration was not changed and default to 192.168.1.1/24&lt;br /&gt;
 - Default wireless configuration is:&lt;br /&gt;
   - ssid: wbm2009&lt;br /&gt;
   - mode: adhoc&lt;br /&gt;
   - encryption: none&lt;br /&gt;
&lt;br /&gt;
When using ssh with same key and different hosts, it might be convenient to add the following in /etc/ssh/ssh_config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
StrictHostKeyChecking no&lt;br /&gt;
UserKnownHostsFile /dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wireless IP adresses ===&lt;br /&gt;
&lt;br /&gt;
you can set the addres this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@OpenWrt:~# uci set network.wifi.ipaddr=&amp;quot;192.168.44.x&amp;quot;; uci commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
00:18:84:21:6B:8C&lt;br /&gt;
(LAN MAC, WiFi MAC, WiFi IP)&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:24:E9:D0, 00:0F:66:24:E9:D2, 192.168.20.1, WRT54G v1.1&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.20.2, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.20.3, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.20.4, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.20.5, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.20.6, WRT54GS v4&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.20.7, WRT54GS v1.1&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.20.8, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.20.9, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.20.10, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.20.11, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.20.12, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.20.13, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.20.14, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.20.15, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.20.16, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.20.17, WRT54GL&lt;br /&gt;
 &lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.20.20, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.20.21, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.20.22, WRT54GL&lt;br /&gt;
&lt;br /&gt;
==== Channel: 6, ESSID: wbm2009-babel, BSSID: CA:CA:FE:CA:CA:230, IP: 192.168.30.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 11, ESSID: wbm2009-batman, BSSID: CA:CA:FE:CA:CA:40, IP: 192.168.40.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009, IP: 192.168.44.x/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.44.101, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:F2:C6, 00:16:B6:40:F2:C8, 192.168.44.102, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:A1, 00:14:BF:D2:65:A3, 192.168.44.103, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.44.104, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.44.105, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:DB, 00:16:B6:40:F2:DD, 192.168.44.106, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.44.107, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F9:F2, 00:16:B6:40:F9:F4, 192.168.44.108, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CF, 00:16:B6:40:F2:D1, 192.168.44.109, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:6C:04, 00:14:BF:D2:6C:06, 192.168.44.110, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D2, 00:16:B6:40:F2:D4, 192.168.44.111, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.44.112, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.44.113, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C3, 00:16:B6:40:F2:C5, 192.168.44.114, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.44.115, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.44.116, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.44.117, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.44.118, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.44.119, WRT54GL&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.44.120, WRT54GL&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.44.121, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.44.122, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.44.123, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.44.124, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.44.125, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.44.126, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.44.127, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.44.128, WRT54GS v4&lt;br /&gt;
 * 00:0F:66:C7:B9:6F, 00:0F:66:C7:B9:71, 192.168.44.129, WRT54GS&lt;br /&gt;
 * 00:13:10:07:EE:FC, 00:13:10:07:EE:FE, 192.168.44.130, WRT54GS v1.1&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.44.131, WRT54GS v1.1&lt;br /&gt;
 * 00:0F:66:24:EE:2F, 00:0F:66:24:EE:31, 192.168.44.133, WRT54G v1.1&lt;br /&gt;
 * 00:14:BF:BF:E6:5A, 00:14:BF:BF:E6:5C, 192.168.44.134, WRT54G v3.1&lt;br /&gt;
 * 00:12:17:26:EB:84, 00:12:17:26:EB:86, 192.168.44.135, WRT54G v2&lt;br /&gt;
 * 00:18:84:25:69:50, 00:18:84:25:69:51, 192.168.44.136, Fonera&lt;br /&gt;
 * 00:18:84:10:2F:7C, 00:18:84:10:2F:7D, 192.168.44.137, Fonera&lt;br /&gt;
 * 00:18:84:1C:EB:28, 00:18:84:1C:EB:29, 192.168.44.138, Fonera&lt;br /&gt;
 * 00:18:84:13:A5:50, 00:18:84:13:A5:51, 192.168.44.139, Fonera&lt;br /&gt;
 * 00:18:84:12:F7:2C, 00:18:84:12:F7:2D, 192.168.44.140, Fonera&lt;br /&gt;
 * 00:18:84:21:6B:8C, 00:18:84:21:6B:8D, 192.168.44.141, Fonera&lt;br /&gt;
 * 00:18:84:27:19:5C, 00:18:84:27:19:5D, 192.168.44.142, Fonera&lt;br /&gt;
 * 00:18:84:1C:F7:4C, 00:18:84:1C:F7:4D, 192.168.44.143, Fonera&lt;br /&gt;
 * 00:18:84:25:28:E4, 00:18:84:25:28:E5, 192.168.44.144, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.44.145, Fonera&lt;br /&gt;
 * 00:18:84:25:DF:50, 00:18:84:25:DF:51, 192.168.44.146, Fonera&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.44.147, Fonera&lt;br /&gt;
 * 00:11:2F:9D:15:86, 00:11:2F:9D:15:86, 192.168.44.148, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:98, 00:11:2F:9D:15:98, 192.168.44.149, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:43, 00:11:2F:9D:15:43, 192.168.44.150, WL500GD&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=File:DSC00008.JPG&amp;diff=1369</id>
		<title>File:DSC00008.JPG</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=File:DSC00008.JPG&amp;diff=1369"/>
				<updated>2009-04-11T16:59:18Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: flashed linksyses&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;flashed linksyses&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1368</id>
		<title>Wireless Battle Mesh</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1368"/>
				<updated>2009-04-11T16:53:40Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:DSC00007.JPG|600px]]&lt;br /&gt;
hackers preparing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Call for Participants ==&lt;br /&gt;
&lt;br /&gt;
We are pleased to announce that the /tmp/lab will be organizing a Spring Wireless OpenWrt Mesh Contest called “Wireless Battle Mesh” during 2 days (April 11-12th) with the goal of building 3 wireless mesh networks based on embedded hardware running OpenWrt and different concurrent mesh routing protocols.&lt;br /&gt;
&lt;br /&gt;
The targeted architecture will be 3 networks of 25nodes + 1 wireless management network (10-20 nodes) to achieve realistic size of nodes number, data traffic, configuration problems. The architecture will be set-up indoor and outdoor around the building of the /tmp/lab.&lt;br /&gt;
&lt;br /&gt;
OpenWrt will be the selected for the BoardSupportPackage running on the different hardware nodes and a core network configuration will be built on Linux servers with user-friendly features such as :&lt;br /&gt;
* VLANs&lt;br /&gt;
* Captive portal&lt;br /&gt;
* Authentication&lt;br /&gt;
* Admin portal&lt;br /&gt;
&lt;br /&gt;
Concerning the mesh-protocols, selected targeted protocols are :&lt;br /&gt;
* OLSR : IP-based mesh routing platform (http://olsr.org and OpenWrt package available)&lt;br /&gt;
* BATMAN : Layer2-based mesh protocol (http://open-mesh.org) and available as a kernel module for Linux and packaged in OpenWrt&lt;br /&gt;
* BABEL : Layer-3 mesh protocol developed by University Paris 6, available for Linux and packaged in OpenWrt (http://www.pps.jussieu.fr/~jch/software/babel/)&lt;br /&gt;
&lt;br /&gt;
Concerning the hardware node, we are looking for hardware sponsors that could enjoy this “real-case” contest by providing 50-100 nodes to the event. This sponsor will be actually displayed on the organization website as well as during the event. The feedbacks for the hardware manufacturers can be not only from the users but also from the network community running real-case test (academic- or community-wide).&lt;br /&gt;
&lt;br /&gt;
The TMPLAB core team.&lt;br /&gt;
&lt;br /&gt;
== Agenda ==&lt;br /&gt;
&lt;br /&gt;
* Friday, April 10th, 8 pm : welcoming of the first people coming and flashing of the node and configuration of the nodes&lt;br /&gt;
* Sat, April 11th : &lt;br /&gt;
** Morning : setting up the nodes on-site and validation of the different subnets&lt;br /&gt;
** Afternoon : first series of tests and measurements with fixed nodes&lt;br /&gt;
* Sun 12th : &lt;br /&gt;
** Morning : second series of tests and measurement with fixed and mobile nodes (laptops)&lt;br /&gt;
** Afternoon : Optimization of the protocols and Conclusion&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
&lt;br /&gt;
=== Criterion ===&lt;br /&gt;
We will evaluate the routing protocols using the following criterion :&lt;br /&gt;
&lt;br /&gt;
* time to setup a node&lt;br /&gt;
* CPU activity&lt;br /&gt;
* network activity&lt;br /&gt;
* convergence time&lt;br /&gt;
* scalability&lt;br /&gt;
* mobile devices handling&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
&lt;br /&gt;
The evaluation platform consits of a SNMP agent which collects graphs from the different nodes using Cacti.&lt;br /&gt;
&lt;br /&gt;
== Hardware platforms ==&lt;br /&gt;
&lt;br /&gt;
We managed to get sponsoring for such hardware :&lt;br /&gt;
&lt;br /&gt;
* Linksys WRT54G/GS&lt;br /&gt;
* Asus WL500G Deluxe/Premium&lt;br /&gt;
* Fon Fonera&lt;br /&gt;
&lt;br /&gt;
For each protocol 25 nodes will be setup, with the following quantities :&lt;br /&gt;
&lt;br /&gt;
* FON : 25 nodes&lt;br /&gt;
* HSB : 32 nodes&lt;br /&gt;
* Wireless-fr : 6 nodes&lt;br /&gt;
* Tmplab : 15 nodes&lt;br /&gt;
* BATMAN : 10 nodes&lt;br /&gt;
* Thus0 : 5 nodes&lt;br /&gt;
&lt;br /&gt;
Total : 93 nodes. In case of problems, spare nodes are highly wanted.&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
&lt;br /&gt;
For each and every single node in the network, please prepare stickers containing the following informations :&lt;br /&gt;
&lt;br /&gt;
* routing protocol in use&lt;br /&gt;
* MAC address of the Wi-Fi interface&lt;br /&gt;
* IP address in the management network&lt;br /&gt;
* Owner&lt;br /&gt;
* hostname (e.g: node 1-babel)&lt;br /&gt;
&lt;br /&gt;
=== Node parts ===&lt;br /&gt;
&lt;br /&gt;
Each and every single node consists of the following physical parts:&lt;br /&gt;
&lt;br /&gt;
* A wireless router (Linksys, Fon, Asus ...)&lt;br /&gt;
* Antennas screwed on the router (no external unless specified)&lt;br /&gt;
* Power supply unit&lt;br /&gt;
* (Battery)&lt;br /&gt;
&lt;br /&gt;
== Software platform ==&lt;br /&gt;
&lt;br /&gt;
The different software versions in use during the Wireless Battle Mesh are :&lt;br /&gt;
&lt;br /&gt;
* babel-0.94 (and not 0.93 as previously announced), there's also a page about [[Babel]]&lt;br /&gt;
* olsrd-0.5.6-r4&lt;br /&gt;
* batman-adv-r1220&lt;br /&gt;
&lt;br /&gt;
OpenWrt should be Kamikaze 8.09. Broadcom-based hardware should be using the '''brcm-2.4''' image while Atheros-based hardware should be using the '''atheros''' target. If you need help flashing your devices do not hesitate to poke Florian and Nico about this.&lt;br /&gt;
&lt;br /&gt;
=== Software configuration ===&lt;br /&gt;
&lt;br /&gt;
Every node should be configured with the following settings :&lt;br /&gt;
&lt;br /&gt;
* hostname: node&amp;lt;N&amp;gt;-&amp;lt;routing protocol&amp;gt; (where N can be found using the plan/map and the routing protocol is babel, olsr or batman)&lt;br /&gt;
* user: root&lt;br /&gt;
* password: wbm2009&lt;br /&gt;
&lt;br /&gt;
We would like to be able to monitor the activity of every node, therefore an aditional SNMP configuration should be done with the following settings :&lt;br /&gt;
&lt;br /&gt;
* version: 2&lt;br /&gt;
* community: wbm2009&lt;br /&gt;
* permissions: ro&lt;br /&gt;
* allow graph disk/flash activity (e.g: disk /)&lt;br /&gt;
&lt;br /&gt;
=== Package list and repositories ===&lt;br /&gt;
&lt;br /&gt;
A mirror of the OpenWrt kamikaze 8.09 package repository will be available during the WBM2009. Additionnal packages that we recommend to install are :&lt;br /&gt;
&lt;br /&gt;
* ntpclient (or busybox's rdate)&lt;br /&gt;
* wprobe&lt;br /&gt;
* snmpd&lt;br /&gt;
&lt;br /&gt;
== Wireless configuration ==&lt;br /&gt;
&lt;br /&gt;
Each node will be working in '''Ad-hoc''' mode using the following settings.&lt;br /&gt;
&lt;br /&gt;
=== For babel ===&lt;br /&gt;
&lt;br /&gt;
* SSID: babel&lt;br /&gt;
* Channel: 1&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For Batman ===&lt;br /&gt;
&lt;br /&gt;
* SSID: batman&lt;br /&gt;
* Channel: 5&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For OLSR ===&lt;br /&gt;
&lt;br /&gt;
* SSID: olsr&lt;br /&gt;
* Channel: 11&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
The resulting '''/etc/config/wireless''' is then for Broadcom devices and for a Babel node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wl0&lt;br /&gt;
        option type     broadcom&lt;br /&gt;
        option channel  1&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wl0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     adhoc&lt;br /&gt;
        option ssid     babel&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an OLSR node on an Atheros board:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wifi0&lt;br /&gt;
        option type     atheros&lt;br /&gt;
        option channel  11&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wifi0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     sta&lt;br /&gt;
        option ssid     olsr&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: we unbridge the LAN interface with the Wi-Fi interface in order to be able to define specific networks on the LAN interface.&lt;br /&gt;
&lt;br /&gt;
== Network topology ==&lt;br /&gt;
&lt;br /&gt;
There will be different subnets corresponding to different purposes.&lt;br /&gt;
&lt;br /&gt;
=== Protocol wide subnet ===&lt;br /&gt;
&lt;br /&gt;
This subnet is required for the nodes running a given protocol to work, meaning that the wireless interface in ad-hoc mode must be configured with an address falling within the range defined below:&lt;br /&gt;
&lt;br /&gt;
* Babel: 192.168.40.0/24&lt;br /&gt;
* Batman: 192.168.30.0/24&lt;br /&gt;
* OLSR: 192.168.20.0/24&lt;br /&gt;
&lt;br /&gt;
An '''/etc/config/network''' file for a Babel node looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#### VLAN configuration&lt;br /&gt;
config switch eth0&lt;br /&gt;
        option vlan0    &amp;quot;1 2 3 4 5*&amp;quot;&lt;br /&gt;
        option vlan1    &amp;quot;0 5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Loopback configuration&lt;br /&gt;
config interface loopback&lt;br /&gt;
        option ifname   &amp;quot;lo&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   127.0.0.1&lt;br /&gt;
        option netmask  255.0.0.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### LAN configuration&lt;br /&gt;
config interface lan&lt;br /&gt;
        option type     bridge&lt;br /&gt;
        option ifname   &amp;quot;eth0.0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.2.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&lt;br /&gt;
#### Wi-Fi configuration&lt;br /&gt;
config interface wifi&lt;br /&gt;
        option ifname   &amp;quot;wl0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.40.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
Nodes have been flashed with custom firmware images:&lt;br /&gt;
 - root password is set to 'wbm2009'&lt;br /&gt;
 - pubkey ssh authentication is enabled, keys are available here: http://ska.lan.tmplab.org/ssh/&lt;br /&gt;
 - LAN configuration was not changed and default to 192.168.1.1/24&lt;br /&gt;
 - Default wireless configuration is:&lt;br /&gt;
   - ssid: wbm2009&lt;br /&gt;
   - mode: adhoc&lt;br /&gt;
   - encryption: none&lt;br /&gt;
&lt;br /&gt;
When using ssh with same key and different hosts, it might be convenient to add the following in /etc/ssh/ssh_config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
StrictHostKeyChecking no&lt;br /&gt;
UserKnownHostsFile /dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wireless IP adresses ===&lt;br /&gt;
&lt;br /&gt;
you can set the addres this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@OpenWrt:~# uci set network.wifi.ipaddr=&amp;quot;192.168.44.x&amp;quot;; uci commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
00:18:84:21:6B:8C&lt;br /&gt;
(LAN MAC, WiFi MAC, WiFi IP)&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:24:E9:D0, 00:0F:66:24:E9:D2, 192.168.20.1, WRT54G v1.1&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.20.2, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.20.3, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.20.4, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.20.5, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.20.6, WRT54GS v4&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.20.7, WRT54GS v1.1&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.20.8, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.20.9, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.20.10, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.20.11, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.20.12, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.20.13, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.20.14, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.20.15, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.20.16, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.20.17, WRT54GL&lt;br /&gt;
 &lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.20.20, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.20.21, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.20.22, WRT54GL&lt;br /&gt;
&lt;br /&gt;
==== Channel: 6, ESSID: wbm2009-babel, BSSID: CA:CA:FE:CA:CA:230, IP: 192.168.30.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 11, ESSID: wbm2009-batman, BSSID: CA:CA:FE:CA:CA:40, IP: 192.168.40.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009, IP: 192.168.44.x/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.44.101, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:F2:C6, 00:16:B6:40:F2:C8, 192.168.44.102, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:A1, 00:14:BF:D2:65:A3, 192.168.44.103, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.44.104, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.44.105, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:DB, 00:16:B6:40:F2:DD, 192.168.44.106, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.44.107, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F9:F2, 00:16:B6:40:F9:F4, 192.168.44.108, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CF, 00:16:B6:40:F2:D1, 192.168.44.109, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:6C:04, 00:14:BF:D2:6C:06, 192.168.44.110, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D2, 00:16:B6:40:F2:D4, 192.168.44.111, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.44.112, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.44.113, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C3, 00:16:B6:40:F2:C5, 192.168.44.114, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.44.115, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.44.116, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.44.117, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.44.118, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.44.119, WRT54GL&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.44.120, WRT54GL&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.44.121, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.44.122, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.44.123, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.44.124, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.44.125, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.44.126, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.44.127, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.44.128, WRT54GS v4&lt;br /&gt;
 * 00:0F:66:C7:B9:6F, 00:0F:66:C7:B9:71, 192.168.44.129, WRT54GS&lt;br /&gt;
 * 00:13:10:07:EE:FC, 00:13:10:07:EE:FE, 192.168.44.130, WRT54GS v1.1&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.44.131, WRT54GS v1.1&lt;br /&gt;
 * 00:0F:66:24:EE:2F, 00:0F:66:24:EE:31, 192.168.44.133, WRT54G v1.1&lt;br /&gt;
 * 00:14:BF:BF:E6:5A, 00:14:BF:BF:E6:5C, 192.168.44.134, WRT54G v3.1&lt;br /&gt;
 * 00:12:17:26:EB:84, 00:12:17:26:EB:86, 192.168.44.135, WRT54G v2&lt;br /&gt;
 * 00:18:84:25:69:50, 00:18:84:25:69:51, 192.168.44.136, Fonera&lt;br /&gt;
 * 00:18:84:10:2F:7C, 00:18:84:10:2F:7D, 192.168.44.137, Fonera&lt;br /&gt;
 * 00:18:84:1C:EB:28, 00:18:84:1C:EB:29, 192.168.44.138, Fonera&lt;br /&gt;
 * 00:18:84:13:A5:50, 00:18:84:13:A5:51, 192.168.44.139, Fonera&lt;br /&gt;
 * 00:18:84:12:F7:2C, 00:18:84:12:F7:2D, 192.168.44.140, Fonera&lt;br /&gt;
 * 00:18:84:21:6B:8C, 00:18:84:21:6B:8D, 192.168.44.141, Fonera&lt;br /&gt;
 * 00:18:84:27:19:5C, 00:18:84:27:19:5D, 192.168.44.142, Fonera&lt;br /&gt;
 * 00:18:84:1C:F7:4C, 00:18:84:1C:F7:4D, 192.168.44.143, Fonera&lt;br /&gt;
 * 00:18:84:25:28:E4, 00:18:84:25:28:E5, 192.168.44.144, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.44.145, Fonera&lt;br /&gt;
 * 00:18:84:25:DF:50, 00:18:84:25:DF:51, 192.168.44.146, Fonera&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.44.147, Fonera&lt;br /&gt;
 * 00:11:2F:9D:15:86, 00:11:2F:9D:15:86, 192.168.44.148, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:98, 00:11:2F:9D:15:98, 192.168.44.149, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:43, 00:11:2F:9D:15:43, 192.168.44.150, WL500GD&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1367</id>
		<title>Wireless Battle Mesh</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1367"/>
				<updated>2009-04-11T16:52:29Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[Image:DSC00007.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Call for Participants ==&lt;br /&gt;
&lt;br /&gt;
We are pleased to announce that the /tmp/lab will be organizing a Spring Wireless OpenWrt Mesh Contest called “Wireless Battle Mesh” during 2 days (April 11-12th) with the goal of building 3 wireless mesh networks based on embedded hardware running OpenWrt and different concurrent mesh routing protocols.&lt;br /&gt;
&lt;br /&gt;
The targeted architecture will be 3 networks of 25nodes + 1 wireless management network (10-20 nodes) to achieve realistic size of nodes number, data traffic, configuration problems. The architecture will be set-up indoor and outdoor around the building of the /tmp/lab.&lt;br /&gt;
&lt;br /&gt;
OpenWrt will be the selected for the BoardSupportPackage running on the different hardware nodes and a core network configuration will be built on Linux servers with user-friendly features such as :&lt;br /&gt;
* VLANs&lt;br /&gt;
* Captive portal&lt;br /&gt;
* Authentication&lt;br /&gt;
* Admin portal&lt;br /&gt;
&lt;br /&gt;
Concerning the mesh-protocols, selected targeted protocols are :&lt;br /&gt;
* OLSR : IP-based mesh routing platform (http://olsr.org and OpenWrt package available)&lt;br /&gt;
* BATMAN : Layer2-based mesh protocol (http://open-mesh.org) and available as a kernel module for Linux and packaged in OpenWrt&lt;br /&gt;
* BABEL : Layer-3 mesh protocol developed by University Paris 6, available for Linux and packaged in OpenWrt (http://www.pps.jussieu.fr/~jch/software/babel/)&lt;br /&gt;
&lt;br /&gt;
Concerning the hardware node, we are looking for hardware sponsors that could enjoy this “real-case” contest by providing 50-100 nodes to the event. This sponsor will be actually displayed on the organization website as well as during the event. The feedbacks for the hardware manufacturers can be not only from the users but also from the network community running real-case test (academic- or community-wide).&lt;br /&gt;
&lt;br /&gt;
The TMPLAB core team.&lt;br /&gt;
&lt;br /&gt;
== Agenda ==&lt;br /&gt;
&lt;br /&gt;
* Friday, April 10th, 8 pm : welcoming of the first people coming and flashing of the node and configuration of the nodes&lt;br /&gt;
* Sat, April 11th : &lt;br /&gt;
** Morning : setting up the nodes on-site and validation of the different subnets&lt;br /&gt;
** Afternoon : first series of tests and measurements with fixed nodes&lt;br /&gt;
* Sun 12th : &lt;br /&gt;
** Morning : second series of tests and measurement with fixed and mobile nodes (laptops)&lt;br /&gt;
** Afternoon : Optimization of the protocols and Conclusion&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
&lt;br /&gt;
=== Criterion ===&lt;br /&gt;
We will evaluate the routing protocols using the following criterion :&lt;br /&gt;
&lt;br /&gt;
* time to setup a node&lt;br /&gt;
* CPU activity&lt;br /&gt;
* network activity&lt;br /&gt;
* convergence time&lt;br /&gt;
* scalability&lt;br /&gt;
* mobile devices handling&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
&lt;br /&gt;
The evaluation platform consits of a SNMP agent which collects graphs from the different nodes using Cacti.&lt;br /&gt;
&lt;br /&gt;
== Hardware platforms ==&lt;br /&gt;
&lt;br /&gt;
We managed to get sponsoring for such hardware :&lt;br /&gt;
&lt;br /&gt;
* Linksys WRT54G/GS&lt;br /&gt;
* Asus WL500G Deluxe/Premium&lt;br /&gt;
* Fon Fonera&lt;br /&gt;
&lt;br /&gt;
For each protocol 25 nodes will be setup, with the following quantities :&lt;br /&gt;
&lt;br /&gt;
* FON : 25 nodes&lt;br /&gt;
* HSB : 32 nodes&lt;br /&gt;
* Wireless-fr : 6 nodes&lt;br /&gt;
* Tmplab : 15 nodes&lt;br /&gt;
* BATMAN : 10 nodes&lt;br /&gt;
* Thus0 : 5 nodes&lt;br /&gt;
&lt;br /&gt;
Total : 93 nodes. In case of problems, spare nodes are highly wanted.&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
&lt;br /&gt;
For each and every single node in the network, please prepare stickers containing the following informations :&lt;br /&gt;
&lt;br /&gt;
* routing protocol in use&lt;br /&gt;
* MAC address of the Wi-Fi interface&lt;br /&gt;
* IP address in the management network&lt;br /&gt;
* Owner&lt;br /&gt;
* hostname (e.g: node 1-babel)&lt;br /&gt;
&lt;br /&gt;
=== Node parts ===&lt;br /&gt;
&lt;br /&gt;
Each and every single node consists of the following physical parts:&lt;br /&gt;
&lt;br /&gt;
* A wireless router (Linksys, Fon, Asus ...)&lt;br /&gt;
* Antennas screwed on the router (no external unless specified)&lt;br /&gt;
* Power supply unit&lt;br /&gt;
* (Battery)&lt;br /&gt;
&lt;br /&gt;
== Software platform ==&lt;br /&gt;
&lt;br /&gt;
The different software versions in use during the Wireless Battle Mesh are :&lt;br /&gt;
&lt;br /&gt;
* babel-0.94 (and not 0.93 as previously announced), there's also a page about [[Babel]]&lt;br /&gt;
* olsrd-0.5.6-r4&lt;br /&gt;
* batman-adv-r1220&lt;br /&gt;
&lt;br /&gt;
OpenWrt should be Kamikaze 8.09. Broadcom-based hardware should be using the '''brcm-2.4''' image while Atheros-based hardware should be using the '''atheros''' target. If you need help flashing your devices do not hesitate to poke Florian and Nico about this.&lt;br /&gt;
&lt;br /&gt;
=== Software configuration ===&lt;br /&gt;
&lt;br /&gt;
Every node should be configured with the following settings :&lt;br /&gt;
&lt;br /&gt;
* hostname: node&amp;lt;N&amp;gt;-&amp;lt;routing protocol&amp;gt; (where N can be found using the plan/map and the routing protocol is babel, olsr or batman)&lt;br /&gt;
* user: root&lt;br /&gt;
* password: wbm2009&lt;br /&gt;
&lt;br /&gt;
We would like to be able to monitor the activity of every node, therefore an aditional SNMP configuration should be done with the following settings :&lt;br /&gt;
&lt;br /&gt;
* version: 2&lt;br /&gt;
* community: wbm2009&lt;br /&gt;
* permissions: ro&lt;br /&gt;
* allow graph disk/flash activity (e.g: disk /)&lt;br /&gt;
&lt;br /&gt;
=== Package list and repositories ===&lt;br /&gt;
&lt;br /&gt;
A mirror of the OpenWrt kamikaze 8.09 package repository will be available during the WBM2009. Additionnal packages that we recommend to install are :&lt;br /&gt;
&lt;br /&gt;
* ntpclient (or busybox's rdate)&lt;br /&gt;
* wprobe&lt;br /&gt;
* snmpd&lt;br /&gt;
&lt;br /&gt;
== Wireless configuration ==&lt;br /&gt;
&lt;br /&gt;
Each node will be working in '''Ad-hoc''' mode using the following settings.&lt;br /&gt;
&lt;br /&gt;
=== For babel ===&lt;br /&gt;
&lt;br /&gt;
* SSID: babel&lt;br /&gt;
* Channel: 1&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For Batman ===&lt;br /&gt;
&lt;br /&gt;
* SSID: batman&lt;br /&gt;
* Channel: 5&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For OLSR ===&lt;br /&gt;
&lt;br /&gt;
* SSID: olsr&lt;br /&gt;
* Channel: 11&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
The resulting '''/etc/config/wireless''' is then for Broadcom devices and for a Babel node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wl0&lt;br /&gt;
        option type     broadcom&lt;br /&gt;
        option channel  1&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wl0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     adhoc&lt;br /&gt;
        option ssid     babel&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an OLSR node on an Atheros board:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wifi0&lt;br /&gt;
        option type     atheros&lt;br /&gt;
        option channel  11&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wifi0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     sta&lt;br /&gt;
        option ssid     olsr&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: we unbridge the LAN interface with the Wi-Fi interface in order to be able to define specific networks on the LAN interface.&lt;br /&gt;
&lt;br /&gt;
== Network topology ==&lt;br /&gt;
&lt;br /&gt;
There will be different subnets corresponding to different purposes.&lt;br /&gt;
&lt;br /&gt;
=== Protocol wide subnet ===&lt;br /&gt;
&lt;br /&gt;
This subnet is required for the nodes running a given protocol to work, meaning that the wireless interface in ad-hoc mode must be configured with an address falling within the range defined below:&lt;br /&gt;
&lt;br /&gt;
* Babel: 192.168.40.0/24&lt;br /&gt;
* Batman: 192.168.30.0/24&lt;br /&gt;
* OLSR: 192.168.20.0/24&lt;br /&gt;
&lt;br /&gt;
An '''/etc/config/network''' file for a Babel node looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#### VLAN configuration&lt;br /&gt;
config switch eth0&lt;br /&gt;
        option vlan0    &amp;quot;1 2 3 4 5*&amp;quot;&lt;br /&gt;
        option vlan1    &amp;quot;0 5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Loopback configuration&lt;br /&gt;
config interface loopback&lt;br /&gt;
        option ifname   &amp;quot;lo&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   127.0.0.1&lt;br /&gt;
        option netmask  255.0.0.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### LAN configuration&lt;br /&gt;
config interface lan&lt;br /&gt;
        option type     bridge&lt;br /&gt;
        option ifname   &amp;quot;eth0.0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.2.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&lt;br /&gt;
#### Wi-Fi configuration&lt;br /&gt;
config interface wifi&lt;br /&gt;
        option ifname   &amp;quot;wl0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.40.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
Nodes have been flashed with custom firmware images:&lt;br /&gt;
 - root password is set to 'wbm2009'&lt;br /&gt;
 - pubkey ssh authentication is enabled, keys are available here: http://ska.lan.tmplab.org/ssh/&lt;br /&gt;
 - LAN configuration was not changed and default to 192.168.1.1/24&lt;br /&gt;
 - Default wireless configuration is:&lt;br /&gt;
   - ssid: wbm2009&lt;br /&gt;
   - mode: adhoc&lt;br /&gt;
   - encryption: none&lt;br /&gt;
&lt;br /&gt;
When using ssh with same key and different hosts, it might be convenient to add the following in /etc/ssh/ssh_config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
StrictHostKeyChecking no&lt;br /&gt;
UserKnownHostsFile /dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wireless IP adresses ===&lt;br /&gt;
&lt;br /&gt;
you can set the addres this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@OpenWrt:~# uci set network.wifi.ipaddr=&amp;quot;192.168.44.x&amp;quot;; uci commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
00:18:84:21:6B:8C&lt;br /&gt;
(LAN MAC, WiFi MAC, WiFi IP)&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:24:E9:D0, 00:0F:66:24:E9:D2, 192.168.20.1, WRT54G v1.1&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.20.2, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.20.3, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.20.4, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.20.5, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.20.6, WRT54GS v4&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.20.7, WRT54GS v1.1&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.20.8, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.20.9, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.20.10, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.20.11, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.20.12, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.20.13, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.20.14, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.20.15, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.20.16, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.20.17, WRT54GL&lt;br /&gt;
 &lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.20.20, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.20.21, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.20.22, WRT54GL&lt;br /&gt;
&lt;br /&gt;
==== Channel: 6, ESSID: wbm2009-babel, BSSID: CA:CA:FE:CA:CA:230, IP: 192.168.30.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 11, ESSID: wbm2009-batman, BSSID: CA:CA:FE:CA:CA:40, IP: 192.168.40.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009, IP: 192.168.44.x/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.44.101, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:F2:C6, 00:16:B6:40:F2:C8, 192.168.44.102, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:A1, 00:14:BF:D2:65:A3, 192.168.44.103, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.44.104, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.44.105, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:DB, 00:16:B6:40:F2:DD, 192.168.44.106, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.44.107, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F9:F2, 00:16:B6:40:F9:F4, 192.168.44.108, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CF, 00:16:B6:40:F2:D1, 192.168.44.109, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:6C:04, 00:14:BF:D2:6C:06, 192.168.44.110, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D2, 00:16:B6:40:F2:D4, 192.168.44.111, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.44.112, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.44.113, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C3, 00:16:B6:40:F2:C5, 192.168.44.114, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.44.115, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.44.116, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.44.117, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.44.118, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.44.119, WRT54GL&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.44.120, WRT54GL&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.44.121, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.44.122, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.44.123, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.44.124, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.44.125, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.44.126, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.44.127, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.44.128, WRT54GS v4&lt;br /&gt;
 * 00:0F:66:C7:B9:6F, 00:0F:66:C7:B9:71, 192.168.44.129, WRT54GS&lt;br /&gt;
 * 00:13:10:07:EE:FC, 00:13:10:07:EE:FE, 192.168.44.130, WRT54GS v1.1&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.44.131, WRT54GS v1.1&lt;br /&gt;
 * 00:0F:66:24:EE:2F, 00:0F:66:24:EE:31, 192.168.44.133, WRT54G v1.1&lt;br /&gt;
 * 00:14:BF:BF:E6:5A, 00:14:BF:BF:E6:5C, 192.168.44.134, WRT54G v3.1&lt;br /&gt;
 * 00:12:17:26:EB:84, 00:12:17:26:EB:86, 192.168.44.135, WRT54G v2&lt;br /&gt;
 * 00:18:84:25:69:50, 00:18:84:25:69:51, 192.168.44.136, Fonera&lt;br /&gt;
 * 00:18:84:10:2F:7C, 00:18:84:10:2F:7D, 192.168.44.137, Fonera&lt;br /&gt;
 * 00:18:84:1C:EB:28, 00:18:84:1C:EB:29, 192.168.44.138, Fonera&lt;br /&gt;
 * 00:18:84:13:A5:50, 00:18:84:13:A5:51, 192.168.44.139, Fonera&lt;br /&gt;
 * 00:18:84:12:F7:2C, 00:18:84:12:F7:2D, 192.168.44.140, Fonera&lt;br /&gt;
 * 00:18:84:21:6B:8C, 00:18:84:21:6B:8D, 192.168.44.141, Fonera&lt;br /&gt;
 * 00:18:84:27:19:5C, 00:18:84:27:19:5D, 192.168.44.142, Fonera&lt;br /&gt;
 * 00:18:84:1C:F7:4C, 00:18:84:1C:F7:4D, 192.168.44.143, Fonera&lt;br /&gt;
 * 00:18:84:25:28:E4, 00:18:84:25:28:E5, 192.168.44.144, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.44.145, Fonera&lt;br /&gt;
 * 00:18:84:25:DF:50, 00:18:84:25:DF:51, 192.168.44.146, Fonera&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.44.147, Fonera&lt;br /&gt;
 * 00:11:2F:9D:15:86, 00:11:2F:9D:15:86, 192.168.44.148, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:98, 00:11:2F:9D:15:98, 192.168.44.149, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:43, 00:11:2F:9D:15:43, 192.168.44.150, WL500GD&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=File:DSC00007.JPG&amp;diff=1366</id>
		<title>File:DSC00007.JPG</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=File:DSC00007.JPG&amp;diff=1366"/>
				<updated>2009-04-11T16:51:51Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: hackers at /tmp/lab flashing linksyses and FONs in preparation for the battle mesh&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;hackers at /tmp/lab flashing linksyses and FONs in preparation for the battle mesh&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1365</id>
		<title>Wireless Battle Mesh</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1365"/>
				<updated>2009-04-11T16:38:23Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: /* Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Call for Participants ==&lt;br /&gt;
&lt;br /&gt;
We are pleased to announce that the /tmp/lab will be organizing a Spring Wireless OpenWrt Mesh Contest called “Wireless Battle Mesh” during 2 days (April 11-12th) with the goal of building 3 wireless mesh networks based on embedded hardware running OpenWrt and different concurrent mesh routing protocols.&lt;br /&gt;
&lt;br /&gt;
The targeted architecture will be 3 networks of 25nodes + 1 wireless management network (10-20 nodes) to achieve realistic size of nodes number, data traffic, configuration problems. The architecture will be set-up indoor and outdoor around the building of the /tmp/lab.&lt;br /&gt;
&lt;br /&gt;
OpenWrt will be the selected for the BoardSupportPackage running on the different hardware nodes and a core network configuration will be built on Linux servers with user-friendly features such as :&lt;br /&gt;
* VLANs&lt;br /&gt;
* Captive portal&lt;br /&gt;
* Authentication&lt;br /&gt;
* Admin portal&lt;br /&gt;
&lt;br /&gt;
Concerning the mesh-protocols, selected targeted protocols are :&lt;br /&gt;
* OLSR : IP-based mesh routing platform (http://olsr.org and OpenWrt package available)&lt;br /&gt;
* BATMAN : Layer2-based mesh protocol (http://open-mesh.org) and available as a kernel module for Linux and packaged in OpenWrt&lt;br /&gt;
* BABEL : Layer-3 mesh protocol developed by University Paris 6, available for Linux and packaged in OpenWrt (http://www.pps.jussieu.fr/~jch/software/babel/)&lt;br /&gt;
&lt;br /&gt;
Concerning the hardware node, we are looking for hardware sponsors that could enjoy this “real-case” contest by providing 50-100 nodes to the event. This sponsor will be actually displayed on the organization website as well as during the event. The feedbacks for the hardware manufacturers can be not only from the users but also from the network community running real-case test (academic- or community-wide).&lt;br /&gt;
&lt;br /&gt;
The TMPLAB core team.&lt;br /&gt;
&lt;br /&gt;
== Agenda ==&lt;br /&gt;
&lt;br /&gt;
* Friday, April 10th, 8 pm : welcoming of the first people coming and flashing of the node and configuration of the nodes&lt;br /&gt;
* Sat, April 11th : &lt;br /&gt;
** Morning : setting up the nodes on-site and validation of the different subnets&lt;br /&gt;
** Afternoon : first series of tests and measurements with fixed nodes&lt;br /&gt;
* Sun 12th : &lt;br /&gt;
** Morning : second series of tests and measurement with fixed and mobile nodes (laptops)&lt;br /&gt;
** Afternoon : Optimization of the protocols and Conclusion&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
&lt;br /&gt;
=== Criterion ===&lt;br /&gt;
We will evaluate the routing protocols using the following criterion :&lt;br /&gt;
&lt;br /&gt;
* time to setup a node&lt;br /&gt;
* CPU activity&lt;br /&gt;
* network activity&lt;br /&gt;
* convergence time&lt;br /&gt;
* scalability&lt;br /&gt;
* mobile devices handling&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
&lt;br /&gt;
The evaluation platform consits of a SNMP agent which collects graphs from the different nodes using Cacti.&lt;br /&gt;
&lt;br /&gt;
== Hardware platforms ==&lt;br /&gt;
&lt;br /&gt;
We managed to get sponsoring for such hardware :&lt;br /&gt;
&lt;br /&gt;
* Linksys WRT54G/GS&lt;br /&gt;
* Asus WL500G Deluxe/Premium&lt;br /&gt;
* Fon Fonera&lt;br /&gt;
&lt;br /&gt;
For each protocol 25 nodes will be setup, with the following quantities :&lt;br /&gt;
&lt;br /&gt;
* FON : 25 nodes&lt;br /&gt;
* HSB : 32 nodes&lt;br /&gt;
* Wireless-fr : 6 nodes&lt;br /&gt;
* Tmplab : 15 nodes&lt;br /&gt;
* BATMAN : 10 nodes&lt;br /&gt;
* Thus0 : 5 nodes&lt;br /&gt;
&lt;br /&gt;
Total : 93 nodes. In case of problems, spare nodes are highly wanted.&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
&lt;br /&gt;
For each and every single node in the network, please prepare stickers containing the following informations :&lt;br /&gt;
&lt;br /&gt;
* routing protocol in use&lt;br /&gt;
* MAC address of the Wi-Fi interface&lt;br /&gt;
* IP address in the management network&lt;br /&gt;
* Owner&lt;br /&gt;
* hostname (e.g: node 1-babel)&lt;br /&gt;
&lt;br /&gt;
=== Node parts ===&lt;br /&gt;
&lt;br /&gt;
Each and every single node consists of the following physical parts:&lt;br /&gt;
&lt;br /&gt;
* A wireless router (Linksys, Fon, Asus ...)&lt;br /&gt;
* Antennas screwed on the router (no external unless specified)&lt;br /&gt;
* Power supply unit&lt;br /&gt;
* (Battery)&lt;br /&gt;
&lt;br /&gt;
== Software platform ==&lt;br /&gt;
&lt;br /&gt;
The different software versions in use during the Wireless Battle Mesh are :&lt;br /&gt;
&lt;br /&gt;
* babel-0.94 (and not 0.93 as previously announced), there's also a page about [[Babel]]&lt;br /&gt;
* olsrd-0.5.6-r4&lt;br /&gt;
* batman-adv-r1220&lt;br /&gt;
&lt;br /&gt;
OpenWrt should be Kamikaze 8.09. Broadcom-based hardware should be using the '''brcm-2.4''' image while Atheros-based hardware should be using the '''atheros''' target. If you need help flashing your devices do not hesitate to poke Florian and Nico about this.&lt;br /&gt;
&lt;br /&gt;
=== Software configuration ===&lt;br /&gt;
&lt;br /&gt;
Every node should be configured with the following settings :&lt;br /&gt;
&lt;br /&gt;
* hostname: node&amp;lt;N&amp;gt;-&amp;lt;routing protocol&amp;gt; (where N can be found using the plan/map and the routing protocol is babel, olsr or batman)&lt;br /&gt;
* user: root&lt;br /&gt;
* password: wbm2009&lt;br /&gt;
&lt;br /&gt;
We would like to be able to monitor the activity of every node, therefore an aditional SNMP configuration should be done with the following settings :&lt;br /&gt;
&lt;br /&gt;
* version: 2&lt;br /&gt;
* community: wbm2009&lt;br /&gt;
* permissions: ro&lt;br /&gt;
* allow graph disk/flash activity (e.g: disk /)&lt;br /&gt;
&lt;br /&gt;
=== Package list and repositories ===&lt;br /&gt;
&lt;br /&gt;
A mirror of the OpenWrt kamikaze 8.09 package repository will be available during the WBM2009. Additionnal packages that we recommend to install are :&lt;br /&gt;
&lt;br /&gt;
* ntpclient (or busybox's rdate)&lt;br /&gt;
* wprobe&lt;br /&gt;
* snmpd&lt;br /&gt;
&lt;br /&gt;
== Wireless configuration ==&lt;br /&gt;
&lt;br /&gt;
Each node will be working in '''Ad-hoc''' mode using the following settings.&lt;br /&gt;
&lt;br /&gt;
=== For babel ===&lt;br /&gt;
&lt;br /&gt;
* SSID: babel&lt;br /&gt;
* Channel: 1&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For Batman ===&lt;br /&gt;
&lt;br /&gt;
* SSID: batman&lt;br /&gt;
* Channel: 5&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For OLSR ===&lt;br /&gt;
&lt;br /&gt;
* SSID: olsr&lt;br /&gt;
* Channel: 11&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
The resulting '''/etc/config/wireless''' is then for Broadcom devices and for a Babel node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wl0&lt;br /&gt;
        option type     broadcom&lt;br /&gt;
        option channel  1&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wl0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     adhoc&lt;br /&gt;
        option ssid     babel&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an OLSR node on an Atheros board:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wifi0&lt;br /&gt;
        option type     atheros&lt;br /&gt;
        option channel  11&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wifi0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     sta&lt;br /&gt;
        option ssid     olsr&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: we unbridge the LAN interface with the Wi-Fi interface in order to be able to define specific networks on the LAN interface.&lt;br /&gt;
&lt;br /&gt;
== Network topology ==&lt;br /&gt;
&lt;br /&gt;
There will be different subnets corresponding to different purposes.&lt;br /&gt;
&lt;br /&gt;
=== Protocol wide subnet ===&lt;br /&gt;
&lt;br /&gt;
This subnet is required for the nodes running a given protocol to work, meaning that the wireless interface in ad-hoc mode must be configured with an address falling within the range defined below:&lt;br /&gt;
&lt;br /&gt;
* Babel: 192.168.40.0/24&lt;br /&gt;
* Batman: 192.168.30.0/24&lt;br /&gt;
* OLSR: 192.168.20.0/24&lt;br /&gt;
&lt;br /&gt;
An '''/etc/config/network''' file for a Babel node looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#### VLAN configuration&lt;br /&gt;
config switch eth0&lt;br /&gt;
        option vlan0    &amp;quot;1 2 3 4 5*&amp;quot;&lt;br /&gt;
        option vlan1    &amp;quot;0 5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Loopback configuration&lt;br /&gt;
config interface loopback&lt;br /&gt;
        option ifname   &amp;quot;lo&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   127.0.0.1&lt;br /&gt;
        option netmask  255.0.0.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### LAN configuration&lt;br /&gt;
config interface lan&lt;br /&gt;
        option type     bridge&lt;br /&gt;
        option ifname   &amp;quot;eth0.0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.2.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&lt;br /&gt;
#### Wi-Fi configuration&lt;br /&gt;
config interface wifi&lt;br /&gt;
        option ifname   &amp;quot;wl0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.40.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
Nodes have been flashed with custom firmware images:&lt;br /&gt;
 - root password is set to 'wbm2009'&lt;br /&gt;
 - pubkey ssh authentication is enabled, keys are available here: http://ska.lan.tmplab.org/ssh/&lt;br /&gt;
 - LAN configuration was not changed and default to 192.168.1.1/24&lt;br /&gt;
 - Default wireless configuration is:&lt;br /&gt;
   - ssid: wbm2009&lt;br /&gt;
   - mode: adhoc&lt;br /&gt;
   - encryption: none&lt;br /&gt;
&lt;br /&gt;
When using ssh with same key and different hosts, it might be convenient to add the following in /etc/ssh/ssh_config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
StrictHostKeyChecking no&lt;br /&gt;
UserKnownHostsFile /dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wireless IP adresses ===&lt;br /&gt;
&lt;br /&gt;
you can set the addres this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@OpenWrt:~# uci set network.wifi.ipaddr=&amp;quot;192.168.44.x&amp;quot;; uci commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
00:18:84:21:6B:8C&lt;br /&gt;
(LAN MAC, WiFi MAC, WiFi IP)&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:24:E9:D0, 00:0F:66:24:E9:D2, 192.168.20.1, WRT54G v1.1&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.20.2, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.20.3, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.20.4, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.20.5, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.20.6, WRT54GS v4&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.20.7, WRT54GS v1.1&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.20.8, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.20.9, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.20.10, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.20.11, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.20.12, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.20.13, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.20.14, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.20.15, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.20.16, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.20.17, WRT54GL&lt;br /&gt;
 &lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.20.20, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.20.21, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.20.22, WRT54GL&lt;br /&gt;
&lt;br /&gt;
==== Channel: 6, ESSID: wbm2009-babel, BSSID: CA:CA:FE:CA:CA:230, IP: 192.168.30.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 11, ESSID: wbm2009-batman, BSSID: CA:CA:FE:CA:CA:40, IP: 192.168.40.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009, IP: 192.168.44.x/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.44.101, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:F2:C6, 00:16:B6:40:F2:C8, 192.168.44.102, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:A1, 00:14:BF:D2:65:A3, 192.168.44.103, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.44.104, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.44.105, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:DB, 00:16:B6:40:F2:DD, 192.168.44.106, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.44.107, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F9:F2, 00:16:B6:40:F9:F4, 192.168.44.108, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CF, 00:16:B6:40:F2:D1, 192.168.44.109, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:6C:04, 00:14:BF:D2:6C:06, 192.168.44.110, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D2, 00:16:B6:40:F2:D4, 192.168.44.111, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.44.112, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.44.113, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C3, 00:16:B6:40:F2:C5, 192.168.44.114, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.44.115, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.44.116, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.44.117, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.44.118, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.44.119, WRT54GL&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.44.120, WRT54GL&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.44.121, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.44.122, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.44.123, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.44.124, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.44.125, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.44.126, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.44.127, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.44.128, WRT54GS v4&lt;br /&gt;
 * 00:0F:66:C7:B9:6F, 00:0F:66:C7:B9:71, 192.168.44.129, WRT54GS&lt;br /&gt;
 * 00:13:10:07:EE:FC, 00:13:10:07:EE:FE, 192.168.44.130, WRT54GS v1.1&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.44.131, WRT54GS v1.1&lt;br /&gt;
 * 00:0F:66:24:EE:2F, 00:0F:66:24:EE:31, 192.168.44.133, WRT54G v1.1&lt;br /&gt;
 * 00:14:BF:BF:E6:5A, 00:14:BF:BF:E6:5C, 192.168.44.134, WRT54G v3.1&lt;br /&gt;
 * 00:12:17:26:EB:84, 00:12:17:26:EB:86, 192.168.44.135, WRT54G v2&lt;br /&gt;
 * 00:18:84:25:69:50, 00:18:84:25:69:51, 192.168.44.136, Fonera&lt;br /&gt;
 * 00:18:84:10:2F:7C, 00:18:84:10:2F:7D, 192.168.44.137, Fonera&lt;br /&gt;
 * 00:18:84:1C:EB:28, 00:18:84:1C:EB:29, 192.168.44.138, Fonera&lt;br /&gt;
 * 00:18:84:13:A5:50, 00:18:84:13:A5:51, 192.168.44.139, Fonera&lt;br /&gt;
 * 00:18:84:12:F7:2C, 00:18:84:12:F7:2D, 192.168.44.140, Fonera&lt;br /&gt;
 * 00:18:84:21:6B:8C, 00:18:84:21:6B:8D, 192.168.44.141, Fonera&lt;br /&gt;
 * 00:18:84:27:19:5C, 00:18:84:27:19:5D, 192.168.44.142, Fonera&lt;br /&gt;
 * 00:18:84:1C:F7:4C, 00:18:84:1C:F7:4D, 192.168.44.143, Fonera&lt;br /&gt;
 * 00:18:84:25:28:E4, 00:18:84:25:28:E5, 192.168.44.144, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.44.145, Fonera&lt;br /&gt;
 * 00:18:84:25:DF:50, 00:18:84:25:DF:51, 192.168.44.146, Fonera&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.44.147, Fonera&lt;br /&gt;
 * 00:11:2F:9D:15:86, 00:11:2F:9D:15:86, 192.168.44.148, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:98, 00:11:2F:9D:15:98, 192.168.44.149, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:43, 00:11:2F:9D:15:43, 192.168.44.150, WL500GD&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1364</id>
		<title>Wireless Battle Mesh</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1364"/>
				<updated>2009-04-11T16:16:53Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: /* Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Call for Participants ==&lt;br /&gt;
&lt;br /&gt;
We are pleased to announce that the /tmp/lab will be organizing a Spring Wireless OpenWrt Mesh Contest called “Wireless Battle Mesh” during 2 days (April 11-12th) with the goal of building 3 wireless mesh networks based on embedded hardware running OpenWrt and different concurrent mesh routing protocols.&lt;br /&gt;
&lt;br /&gt;
The targeted architecture will be 3 networks of 25nodes + 1 wireless management network (10-20 nodes) to achieve realistic size of nodes number, data traffic, configuration problems. The architecture will be set-up indoor and outdoor around the building of the /tmp/lab.&lt;br /&gt;
&lt;br /&gt;
OpenWrt will be the selected for the BoardSupportPackage running on the different hardware nodes and a core network configuration will be built on Linux servers with user-friendly features such as :&lt;br /&gt;
* VLANs&lt;br /&gt;
* Captive portal&lt;br /&gt;
* Authentication&lt;br /&gt;
* Admin portal&lt;br /&gt;
&lt;br /&gt;
Concerning the mesh-protocols, selected targeted protocols are :&lt;br /&gt;
* OLSR : IP-based mesh routing platform (http://olsr.org and OpenWrt package available)&lt;br /&gt;
* BATMAN : Layer2-based mesh protocol (http://open-mesh.org) and available as a kernel module for Linux and packaged in OpenWrt&lt;br /&gt;
* BABEL : Layer-3 mesh protocol developed by University Paris 6, available for Linux and packaged in OpenWrt (http://www.pps.jussieu.fr/~jch/software/babel/)&lt;br /&gt;
&lt;br /&gt;
Concerning the hardware node, we are looking for hardware sponsors that could enjoy this “real-case” contest by providing 50-100 nodes to the event. This sponsor will be actually displayed on the organization website as well as during the event. The feedbacks for the hardware manufacturers can be not only from the users but also from the network community running real-case test (academic- or community-wide).&lt;br /&gt;
&lt;br /&gt;
The TMPLAB core team.&lt;br /&gt;
&lt;br /&gt;
== Agenda ==&lt;br /&gt;
&lt;br /&gt;
* Friday, April 10th, 8 pm : welcoming of the first people coming and flashing of the node and configuration of the nodes&lt;br /&gt;
* Sat, April 11th : &lt;br /&gt;
** Morning : setting up the nodes on-site and validation of the different subnets&lt;br /&gt;
** Afternoon : first series of tests and measurements with fixed nodes&lt;br /&gt;
* Sun 12th : &lt;br /&gt;
** Morning : second series of tests and measurement with fixed and mobile nodes (laptops)&lt;br /&gt;
** Afternoon : Optimization of the protocols and Conclusion&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
&lt;br /&gt;
=== Criterion ===&lt;br /&gt;
We will evaluate the routing protocols using the following criterion :&lt;br /&gt;
&lt;br /&gt;
* time to setup a node&lt;br /&gt;
* CPU activity&lt;br /&gt;
* network activity&lt;br /&gt;
* convergence time&lt;br /&gt;
* scalability&lt;br /&gt;
* mobile devices handling&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
&lt;br /&gt;
The evaluation platform consits of a SNMP agent which collects graphs from the different nodes using Cacti.&lt;br /&gt;
&lt;br /&gt;
== Hardware platforms ==&lt;br /&gt;
&lt;br /&gt;
We managed to get sponsoring for such hardware :&lt;br /&gt;
&lt;br /&gt;
* Linksys WRT54G/GS&lt;br /&gt;
* Asus WL500G Deluxe/Premium&lt;br /&gt;
* Fon Fonera&lt;br /&gt;
&lt;br /&gt;
For each protocol 25 nodes will be setup, with the following quantities :&lt;br /&gt;
&lt;br /&gt;
* FON : 25 nodes&lt;br /&gt;
* HSB : 32 nodes&lt;br /&gt;
* Wireless-fr : 6 nodes&lt;br /&gt;
* Tmplab : 15 nodes&lt;br /&gt;
* BATMAN : 10 nodes&lt;br /&gt;
* Thus0 : 5 nodes&lt;br /&gt;
&lt;br /&gt;
Total : 93 nodes. In case of problems, spare nodes are highly wanted.&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
&lt;br /&gt;
For each and every single node in the network, please prepare stickers containing the following informations :&lt;br /&gt;
&lt;br /&gt;
* routing protocol in use&lt;br /&gt;
* MAC address of the Wi-Fi interface&lt;br /&gt;
* IP address in the management network&lt;br /&gt;
* Owner&lt;br /&gt;
* hostname (e.g: node 1-babel)&lt;br /&gt;
&lt;br /&gt;
=== Node parts ===&lt;br /&gt;
&lt;br /&gt;
Each and every single node consists of the following physical parts:&lt;br /&gt;
&lt;br /&gt;
* A wireless router (Linksys, Fon, Asus ...)&lt;br /&gt;
* Antennas screwed on the router (no external unless specified)&lt;br /&gt;
* Power supply unit&lt;br /&gt;
* (Battery)&lt;br /&gt;
&lt;br /&gt;
== Software platform ==&lt;br /&gt;
&lt;br /&gt;
The different software versions in use during the Wireless Battle Mesh are :&lt;br /&gt;
&lt;br /&gt;
* babel-0.94 (and not 0.93 as previously announced), there's also a page about [[Babel]]&lt;br /&gt;
* olsrd-0.5.6-r4&lt;br /&gt;
* batman-adv-r1220&lt;br /&gt;
&lt;br /&gt;
OpenWrt should be Kamikaze 8.09. Broadcom-based hardware should be using the '''brcm-2.4''' image while Atheros-based hardware should be using the '''atheros''' target. If you need help flashing your devices do not hesitate to poke Florian and Nico about this.&lt;br /&gt;
&lt;br /&gt;
=== Software configuration ===&lt;br /&gt;
&lt;br /&gt;
Every node should be configured with the following settings :&lt;br /&gt;
&lt;br /&gt;
* hostname: node&amp;lt;N&amp;gt;-&amp;lt;routing protocol&amp;gt; (where N can be found using the plan/map and the routing protocol is babel, olsr or batman)&lt;br /&gt;
* user: root&lt;br /&gt;
* password: wbm2009&lt;br /&gt;
&lt;br /&gt;
We would like to be able to monitor the activity of every node, therefore an aditional SNMP configuration should be done with the following settings :&lt;br /&gt;
&lt;br /&gt;
* version: 2&lt;br /&gt;
* community: wbm2009&lt;br /&gt;
* permissions: ro&lt;br /&gt;
* allow graph disk/flash activity (e.g: disk /)&lt;br /&gt;
&lt;br /&gt;
=== Package list and repositories ===&lt;br /&gt;
&lt;br /&gt;
A mirror of the OpenWrt kamikaze 8.09 package repository will be available during the WBM2009. Additionnal packages that we recommend to install are :&lt;br /&gt;
&lt;br /&gt;
* ntpclient (or busybox's rdate)&lt;br /&gt;
* wprobe&lt;br /&gt;
* snmpd&lt;br /&gt;
&lt;br /&gt;
== Wireless configuration ==&lt;br /&gt;
&lt;br /&gt;
Each node will be working in '''Ad-hoc''' mode using the following settings.&lt;br /&gt;
&lt;br /&gt;
=== For babel ===&lt;br /&gt;
&lt;br /&gt;
* SSID: babel&lt;br /&gt;
* Channel: 1&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For Batman ===&lt;br /&gt;
&lt;br /&gt;
* SSID: batman&lt;br /&gt;
* Channel: 5&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For OLSR ===&lt;br /&gt;
&lt;br /&gt;
* SSID: olsr&lt;br /&gt;
* Channel: 11&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
The resulting '''/etc/config/wireless''' is then for Broadcom devices and for a Babel node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wl0&lt;br /&gt;
        option type     broadcom&lt;br /&gt;
        option channel  1&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wl0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     adhoc&lt;br /&gt;
        option ssid     babel&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an OLSR node on an Atheros board:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wifi0&lt;br /&gt;
        option type     atheros&lt;br /&gt;
        option channel  11&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wifi0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     sta&lt;br /&gt;
        option ssid     olsr&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: we unbridge the LAN interface with the Wi-Fi interface in order to be able to define specific networks on the LAN interface.&lt;br /&gt;
&lt;br /&gt;
== Network topology ==&lt;br /&gt;
&lt;br /&gt;
There will be different subnets corresponding to different purposes.&lt;br /&gt;
&lt;br /&gt;
=== Protocol wide subnet ===&lt;br /&gt;
&lt;br /&gt;
This subnet is required for the nodes running a given protocol to work, meaning that the wireless interface in ad-hoc mode must be configured with an address falling within the range defined below:&lt;br /&gt;
&lt;br /&gt;
* Babel: 192.168.40.0/24&lt;br /&gt;
* Batman: 192.168.30.0/24&lt;br /&gt;
* OLSR: 192.168.20.0/24&lt;br /&gt;
&lt;br /&gt;
An '''/etc/config/network''' file for a Babel node looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#### VLAN configuration&lt;br /&gt;
config switch eth0&lt;br /&gt;
        option vlan0    &amp;quot;1 2 3 4 5*&amp;quot;&lt;br /&gt;
        option vlan1    &amp;quot;0 5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Loopback configuration&lt;br /&gt;
config interface loopback&lt;br /&gt;
        option ifname   &amp;quot;lo&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   127.0.0.1&lt;br /&gt;
        option netmask  255.0.0.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### LAN configuration&lt;br /&gt;
config interface lan&lt;br /&gt;
        option type     bridge&lt;br /&gt;
        option ifname   &amp;quot;eth0.0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.2.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&lt;br /&gt;
#### Wi-Fi configuration&lt;br /&gt;
config interface wifi&lt;br /&gt;
        option ifname   &amp;quot;wl0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.40.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
Nodes have been flashed with custom firmware images:&lt;br /&gt;
 - root password is set to 'wbm2009'&lt;br /&gt;
 - pubkey ssh authentication is enabled, keys are available here: http://ska.lan.tmplab.org/ssh/&lt;br /&gt;
 - LAN configuration was not changed and default to 192.168.1.1/24&lt;br /&gt;
 - Default wireless configuration is:&lt;br /&gt;
   - ssid: wbm2009&lt;br /&gt;
   - mode: adhoc&lt;br /&gt;
   - encryption: none&lt;br /&gt;
&lt;br /&gt;
When using ssh with same key and different hosts, it might be convenient to add the following in /etc/ssh/ssh_config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
StrictHostKeyChecking no&lt;br /&gt;
UserKnownHostsFile /dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wireless IP adresses ===&lt;br /&gt;
&lt;br /&gt;
you can set the addres this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@OpenWrt:~# uci set network.wifi.ipaddr=&amp;quot;192.168.44.x&amp;quot;; uci commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
00:18:84:21:6B:8C&lt;br /&gt;
(LAN MAC, WiFi MAC, WiFi IP)&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:24:E9:D0, 00:0F:66:24:E9:D2, 192.168.20.1, WRT54G v1.1&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.20.2, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.20.3, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.20.4, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.20.5, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.20.6, WRT54GS v4&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.20.7, WRT54GS v1.1&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.20.8, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.20.9, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.20.10, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.20.11, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.20.12, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.20.13, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.20.14, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.20.15, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.20.16, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.20.17, WRT54GL&lt;br /&gt;
 &lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.20.20, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.20.21, WRT54GL&lt;br /&gt;
&lt;br /&gt;
==== Channel: 6, ESSID: wbm2009-babel, BSSID: CA:CA:FE:CA:CA:230, IP: 192.168.30.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 11, ESSID: wbm2009-batman, BSSID: CA:CA:FE:CA:CA:40, IP: 192.168.40.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009, IP: 192.168.44.x/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.44.101, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:F2:C6, 00:16:B6:40:F2:C8, 192.168.44.102, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:A1, 00:14:BF:D2:65:A3, 192.168.44.103, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.44.104, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.44.105, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:DB, 00:16:B6:40:F2:DD, 192.168.44.106, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.44.107, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F9:F2, 00:16:B6:40:F9:F4, 192.168.44.108, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CF, 00:16:B6:40:F2:D1, 192.168.44.109, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:6C:04, 00:14:BF:D2:6C:06, 192.168.44.110, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D2, 00:16:B6:40:F2:D4, 192.168.44.111, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.44.112, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.44.113, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C3, 00:16:B6:40:F2:C5, 192.168.44.114, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.44.115, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.44.116, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.44.117, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.44.118, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.44.119, WRT54GL&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.44.120, WRT54GL&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.44.121, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.44.122, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.44.123, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.44.124, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.44.125, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.44.126, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.44.127, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.44.128, WRT54GS v4&lt;br /&gt;
 * 00:0F:66:C7:B9:6F, 00:0F:66:C7:B9:71, 192.168.44.129, WRT54GS&lt;br /&gt;
 * 00:13:10:07:EE:FC, 00:13:10:07:EE:FE, 192.168.44.130, WRT54GS v1.1&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.44.131, WRT54GS v1.1&lt;br /&gt;
 * 00:0F:66:24:EE:2F, 00:0F:66:24:EE:31, 192.168.44.133, WRT54G v1.1&lt;br /&gt;
 * 00:14:BF:BF:E6:5A, 00:14:BF:BF:E6:5C, 192.168.44.134, WRT54G v3.1&lt;br /&gt;
 * 00:12:17:26:EB:84, 00:12:17:26:EB:86, 192.168.44.135, WRT54G v2&lt;br /&gt;
 * 00:18:84:25:69:50, 00:18:84:25:69:51, 192.168.44.136, Fonera&lt;br /&gt;
 * 00:18:84:10:2F:7C, 00:18:84:10:2F:7D, 192.168.44.137, Fonera&lt;br /&gt;
 * 00:18:84:1C:EB:28, 00:18:84:1C:EB:29, 192.168.44.138, Fonera&lt;br /&gt;
 * 00:18:84:13:A5:50, 00:18:84:13:A5:51, 192.168.44.139, Fonera&lt;br /&gt;
 * 00:18:84:12:F7:2C, 00:18:84:12:F7:2D, 192.168.44.140, Fonera&lt;br /&gt;
 * 00:18:84:21:6B:8C, 00:18:84:21:6B:8D, 192.168.44.141, Fonera&lt;br /&gt;
 * 00:18:84:27:19:5C, 00:18:84:27:19:5D, 192.168.44.142, Fonera&lt;br /&gt;
 * 00:18:84:1C:F7:4C, 00:18:84:1C:F7:4D, 192.168.44.143, Fonera&lt;br /&gt;
 * 00:18:84:25:28:E4, 00:18:84:25:28:E5, 192.168.44.144, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.44.145, Fonera&lt;br /&gt;
 * 00:18:84:25:DF:50, 00:18:84:25:DF:51, 192.168.44.146, Fonera&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.44.147, Fonera&lt;br /&gt;
 * 00:11:2F:9D:15:86, 00:11:2F:9D:15:86, 192.168.44.148, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:98, 00:11:2F:9D:15:98, 192.168.44.149, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:43, 00:11:2F:9D:15:43, 192.168.44.150, WL500GD&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1359</id>
		<title>Wireless Battle Mesh</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1359"/>
				<updated>2009-04-11T15:57:06Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: /* Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Call for Participants ==&lt;br /&gt;
&lt;br /&gt;
We are pleased to announce that the /tmp/lab will be organizing a Spring Wireless OpenWrt Mesh Contest called “Wireless Battle Mesh” during 2 days (April 11-12th) with the goal of building 3 wireless mesh networks based on embedded hardware running OpenWrt and different concurrent mesh routing protocols.&lt;br /&gt;
&lt;br /&gt;
The targeted architecture will be 3 networks of 25nodes + 1 wireless management network (10-20 nodes) to achieve realistic size of nodes number, data traffic, configuration problems. The architecture will be set-up indoor and outdoor around the building of the /tmp/lab.&lt;br /&gt;
&lt;br /&gt;
OpenWrt will be the selected for the BoardSupportPackage running on the different hardware nodes and a core network configuration will be built on Linux servers with user-friendly features such as :&lt;br /&gt;
* VLANs&lt;br /&gt;
* Captive portal&lt;br /&gt;
* Authentication&lt;br /&gt;
* Admin portal&lt;br /&gt;
&lt;br /&gt;
Concerning the mesh-protocols, selected targeted protocols are :&lt;br /&gt;
* OLSR : IP-based mesh routing platform (http://olsr.org and OpenWrt package available)&lt;br /&gt;
* BATMAN : Layer2-based mesh protocol (http://open-mesh.org) and available as a kernel module for Linux and packaged in OpenWrt&lt;br /&gt;
* BABEL : Layer-3 mesh protocol developed by University Paris 6, available for Linux and packaged in OpenWrt (http://www.pps.jussieu.fr/~jch/software/babel/)&lt;br /&gt;
&lt;br /&gt;
Concerning the hardware node, we are looking for hardware sponsors that could enjoy this “real-case” contest by providing 50-100 nodes to the event. This sponsor will be actually displayed on the organization website as well as during the event. The feedbacks for the hardware manufacturers can be not only from the users but also from the network community running real-case test (academic- or community-wide).&lt;br /&gt;
&lt;br /&gt;
The TMPLAB core team.&lt;br /&gt;
&lt;br /&gt;
== Agenda ==&lt;br /&gt;
&lt;br /&gt;
* Friday, April 10th, 8 pm : welcoming of the first people coming and flashing of the node and configuration of the nodes&lt;br /&gt;
* Sat, April 11th : &lt;br /&gt;
** Morning : setting up the nodes on-site and validation of the different subnets&lt;br /&gt;
** Afternoon : first series of tests and measurements with fixed nodes&lt;br /&gt;
* Sun 12th : &lt;br /&gt;
** Morning : second series of tests and measurement with fixed and mobile nodes (laptops)&lt;br /&gt;
** Afternoon : Optimization of the protocols and Conclusion&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
&lt;br /&gt;
=== Criterion ===&lt;br /&gt;
We will evaluate the routing protocols using the following criterion :&lt;br /&gt;
&lt;br /&gt;
* time to setup a node&lt;br /&gt;
* CPU activity&lt;br /&gt;
* network activity&lt;br /&gt;
* convergence time&lt;br /&gt;
* scalability&lt;br /&gt;
* mobile devices handling&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
&lt;br /&gt;
The evaluation platform consits of a SNMP agent which collects graphs from the different nodes using Cacti.&lt;br /&gt;
&lt;br /&gt;
== Hardware platforms ==&lt;br /&gt;
&lt;br /&gt;
We managed to get sponsoring for such hardware :&lt;br /&gt;
&lt;br /&gt;
* Linksys WRT54G/GS&lt;br /&gt;
* Asus WL500G Deluxe/Premium&lt;br /&gt;
* Fon Fonera&lt;br /&gt;
&lt;br /&gt;
For each protocol 25 nodes will be setup, with the following quantities :&lt;br /&gt;
&lt;br /&gt;
* FON : 25 nodes&lt;br /&gt;
* HSB : 32 nodes&lt;br /&gt;
* Wireless-fr : 6 nodes&lt;br /&gt;
* Tmplab : 15 nodes&lt;br /&gt;
* BATMAN : 10 nodes&lt;br /&gt;
* Thus0 : 5 nodes&lt;br /&gt;
&lt;br /&gt;
Total : 93 nodes. In case of problems, spare nodes are highly wanted.&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
&lt;br /&gt;
For each and every single node in the network, please prepare stickers containing the following informations :&lt;br /&gt;
&lt;br /&gt;
* routing protocol in use&lt;br /&gt;
* MAC address of the Wi-Fi interface&lt;br /&gt;
* IP address in the management network&lt;br /&gt;
* Owner&lt;br /&gt;
* hostname (e.g: node 1-babel)&lt;br /&gt;
&lt;br /&gt;
=== Node parts ===&lt;br /&gt;
&lt;br /&gt;
Each and every single node consists of the following physical parts:&lt;br /&gt;
&lt;br /&gt;
* A wireless router (Linksys, Fon, Asus ...)&lt;br /&gt;
* Antennas screwed on the router (no external unless specified)&lt;br /&gt;
* Power supply unit&lt;br /&gt;
* (Battery)&lt;br /&gt;
&lt;br /&gt;
== Software platform ==&lt;br /&gt;
&lt;br /&gt;
The different software versions in use during the Wireless Battle Mesh are :&lt;br /&gt;
&lt;br /&gt;
* babel-0.94 (and not 0.93 as previously announced), there's also a page about [[Babel]]&lt;br /&gt;
* olsrd-0.5.6-r4&lt;br /&gt;
* batman-adv-r1220&lt;br /&gt;
&lt;br /&gt;
OpenWrt should be Kamikaze 8.09. Broadcom-based hardware should be using the '''brcm-2.4''' image while Atheros-based hardware should be using the '''atheros''' target. If you need help flashing your devices do not hesitate to poke Florian and Nico about this.&lt;br /&gt;
&lt;br /&gt;
=== Software configuration ===&lt;br /&gt;
&lt;br /&gt;
Every node should be configured with the following settings :&lt;br /&gt;
&lt;br /&gt;
* hostname: node&amp;lt;N&amp;gt;-&amp;lt;routing protocol&amp;gt; (where N can be found using the plan/map and the routing protocol is babel, olsr or batman)&lt;br /&gt;
* user: root&lt;br /&gt;
* password: wbm2009&lt;br /&gt;
&lt;br /&gt;
We would like to be able to monitor the activity of every node, therefore an aditional SNMP configuration should be done with the following settings :&lt;br /&gt;
&lt;br /&gt;
* version: 2&lt;br /&gt;
* community: wbm2009&lt;br /&gt;
* permissions: ro&lt;br /&gt;
* allow graph disk/flash activity (e.g: disk /)&lt;br /&gt;
&lt;br /&gt;
=== Package list and repositories ===&lt;br /&gt;
&lt;br /&gt;
A mirror of the OpenWrt kamikaze 8.09 package repository will be available during the WBM2009. Additionnal packages that we recommend to install are :&lt;br /&gt;
&lt;br /&gt;
* ntpclient (or busybox's rdate)&lt;br /&gt;
* wprobe&lt;br /&gt;
* snmpd&lt;br /&gt;
&lt;br /&gt;
== Wireless configuration ==&lt;br /&gt;
&lt;br /&gt;
Each node will be working in '''Ad-hoc''' mode using the following settings.&lt;br /&gt;
&lt;br /&gt;
=== For babel ===&lt;br /&gt;
&lt;br /&gt;
* SSID: babel&lt;br /&gt;
* Channel: 1&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For Batman ===&lt;br /&gt;
&lt;br /&gt;
* SSID: batman&lt;br /&gt;
* Channel: 5&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For OLSR ===&lt;br /&gt;
&lt;br /&gt;
* SSID: olsr&lt;br /&gt;
* Channel: 11&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
The resulting '''/etc/config/wireless''' is then for Broadcom devices and for a Babel node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wl0&lt;br /&gt;
        option type     broadcom&lt;br /&gt;
        option channel  1&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wl0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     adhoc&lt;br /&gt;
        option ssid     babel&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an OLSR node on an Atheros board:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wifi0&lt;br /&gt;
        option type     atheros&lt;br /&gt;
        option channel  11&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wifi0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     sta&lt;br /&gt;
        option ssid     olsr&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: we unbridge the LAN interface with the Wi-Fi interface in order to be able to define specific networks on the LAN interface.&lt;br /&gt;
&lt;br /&gt;
== Network topology ==&lt;br /&gt;
&lt;br /&gt;
There will be different subnets corresponding to different purposes.&lt;br /&gt;
&lt;br /&gt;
=== Protocol wide subnet ===&lt;br /&gt;
&lt;br /&gt;
This subnet is required for the nodes running a given protocol to work, meaning that the wireless interface in ad-hoc mode must be configured with an address falling within the range defined below:&lt;br /&gt;
&lt;br /&gt;
* Babel: 192.168.40.0/24&lt;br /&gt;
* Batman: 192.168.30.0/24&lt;br /&gt;
* OLSR: 192.168.20.0/24&lt;br /&gt;
&lt;br /&gt;
An '''/etc/config/network''' file for a Babel node looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#### VLAN configuration&lt;br /&gt;
config switch eth0&lt;br /&gt;
        option vlan0    &amp;quot;1 2 3 4 5*&amp;quot;&lt;br /&gt;
        option vlan1    &amp;quot;0 5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Loopback configuration&lt;br /&gt;
config interface loopback&lt;br /&gt;
        option ifname   &amp;quot;lo&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   127.0.0.1&lt;br /&gt;
        option netmask  255.0.0.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### LAN configuration&lt;br /&gt;
config interface lan&lt;br /&gt;
        option type     bridge&lt;br /&gt;
        option ifname   &amp;quot;eth0.0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.2.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&lt;br /&gt;
#### Wi-Fi configuration&lt;br /&gt;
config interface wifi&lt;br /&gt;
        option ifname   &amp;quot;wl0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.40.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
Nodes have been flashed with custom firmware images:&lt;br /&gt;
 - root password is set to 'wbm2009'&lt;br /&gt;
 - pubkey ssh authentication is enabled, keys are available here: http://ska.lan.tmplab.org/ssh/&lt;br /&gt;
 - LAN configuration was not changed and default to 192.168.1.1/24&lt;br /&gt;
 - Default wireless configuration is:&lt;br /&gt;
   - ssid: wbm2009&lt;br /&gt;
   - mode: adhoc&lt;br /&gt;
   - encryption: none&lt;br /&gt;
&lt;br /&gt;
When using ssh with same key and different hosts, it might be convenient to add the following in /etc/ssh/ssh_config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
StrictHostKeyChecking no&lt;br /&gt;
UserKnownHostsFile /dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wireless IP adresses ===&lt;br /&gt;
&lt;br /&gt;
you can set the addres this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@OpenWrt:~# uci set network.wifi.ipaddr=&amp;quot;192.168.44.x&amp;quot;; uci commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
00:18:84:21:6B:8C&lt;br /&gt;
(LAN MAC, WiFi MAC, WiFi IP)&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:24:E9:D0, 00:0F:66:24:E9:D2, 192.168.20.1, WRT54G v1.1&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.20.2, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.20.3, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.20.4, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.20.5, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.20.6, WRT54GS v4&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.20.7, WRT54GS v1.1&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.20.8, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.20.9, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.20.10, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.20.11, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.20.12, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.20.13, WRT54GL&lt;br /&gt;
 &lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.20.20, WRT54GS&lt;br /&gt;
&lt;br /&gt;
==== Channel: 6, ESSID: wbm2009-babel, BSSID: CA:CA:FE:CA:CA:230, IP: 192.168.30.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 11, ESSID: wbm2009-batman, BSSID: CA:CA:FE:CA:CA:40, IP: 192.168.40.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009, IP: 192.168.44.x/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.44.101, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:F2:C6, 00:16:B6:40:F2:C8, 192.168.44.102, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:A1, 00:14:BF:D2:65:A3, 192.168.44.103, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.44.104, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.44.105, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:DB, 00:16:B6:40:F2:DD, 192.168.44.106, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.44.107, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F9:F2, 00:16:B6:40:F9:F4, 192.168.44.108, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CF, 00:16:B6:40:F2:D1, 192.168.44.109, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:6C:04, 00:14:BF:D2:6C:06, 192.168.44.110, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D2, 00:16:B6:40:F2:D4, 192.168.44.111, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.44.112, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.44.113, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C3, 00:16:B6:40:F2:C5, 192.168.44.114, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.44.115, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.44.116, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.44.117, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.44.118, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.44.119, WRT54GL&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.44.120, WRT54GL&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.44.121, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.44.122, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.44.123, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.44.124, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.44.125, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.44.126, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.44.127, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.44.128, WRT54GS v4&lt;br /&gt;
 * 00:0F:66:C7:B9:6F, 00:0F:66:C7:B9:71, 192.168.44.129, WRT54GS&lt;br /&gt;
 * 00:13:10:07:EE:FC, 00:13:10:07:EE:FE, 192.168.44.130, WRT54GS v1.1&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.44.131, WRT54GS v1.1&lt;br /&gt;
 * 00:0F:66:24:EE:2F, 00:0F:66:24:EE:31, 192.168.44.133, WRT54G v1.1&lt;br /&gt;
 * 00:14:BF:BF:E6:5A, 00:14:BF:BF:E6:5C, 192.168.44.134, WRT54G v3.1&lt;br /&gt;
 * 00:12:17:26:EB:84, 00:12:17:26:EB:86, 192.168.44.135, WRT54G v2&lt;br /&gt;
 * 00:18:84:25:69:50, 00:18:84:25:69:51, 192.168.44.136, Fonera&lt;br /&gt;
 * 00:18:84:10:2F:7C, 00:18:84:10:2F:7D, 192.168.44.137, Fonera&lt;br /&gt;
 * 00:18:84:1C:EB:28, 00:18:84:1C:EB:29, 192.168.44.138, Fonera&lt;br /&gt;
 * 00:18:84:13:A5:50, 00:18:84:13:A5:51, 192.168.44.139, Fonera&lt;br /&gt;
 * 00:18:84:12:F7:2C, 00:18:84:12:F7:2D, 192.168.44.140, Fonera&lt;br /&gt;
 * 00:18:84:21:6B:8C, 00:18:84:21:6B:8D, 192.168.44.141, Fonera&lt;br /&gt;
 * 00:18:84:27:19:5C, 00:18:84:27:19:5D, 192.168.44.142, Fonera&lt;br /&gt;
 * 00:18:84:1C:F7:4C, 00:18:84:1C:F7:4D, 192.168.44.143, Fonera&lt;br /&gt;
 * 00:18:84:25:28:E4, 00:18:84:25:28:E5, 192.168.44.144, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.44.145, Fonera&lt;br /&gt;
 * 00:18:84:25:DF:50, 00:18:84:25:DF:51, 192.168.44.146, Fonera&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.44.147, Fonera&lt;br /&gt;
 * 00:11:2F:9D:15:86, 00:11:2F:9D:15:86, 192.168.44.148, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:98, 00:11:2F:9D:15:98, 192.168.44.149, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:43, 00:11:2F:9D:15:43, 192.168.44.150, WL500GD&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	<entry>
		<id>https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1358</id>
		<title>Wireless Battle Mesh</title>
		<link rel="alternate" type="text/html" href="https://tmplab.org/wiki/index.php?title=Wireless_Battle_Mesh&amp;diff=1358"/>
				<updated>2009-04-11T15:53:07Z</updated>
		
		<summary type="html">&lt;p&gt;Aaron: /* Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Call for Participants ==&lt;br /&gt;
&lt;br /&gt;
We are pleased to announce that the /tmp/lab will be organizing a Spring Wireless OpenWrt Mesh Contest called “Wireless Battle Mesh” during 2 days (April 11-12th) with the goal of building 3 wireless mesh networks based on embedded hardware running OpenWrt and different concurrent mesh routing protocols.&lt;br /&gt;
&lt;br /&gt;
The targeted architecture will be 3 networks of 25nodes + 1 wireless management network (10-20 nodes) to achieve realistic size of nodes number, data traffic, configuration problems. The architecture will be set-up indoor and outdoor around the building of the /tmp/lab.&lt;br /&gt;
&lt;br /&gt;
OpenWrt will be the selected for the BoardSupportPackage running on the different hardware nodes and a core network configuration will be built on Linux servers with user-friendly features such as :&lt;br /&gt;
* VLANs&lt;br /&gt;
* Captive portal&lt;br /&gt;
* Authentication&lt;br /&gt;
* Admin portal&lt;br /&gt;
&lt;br /&gt;
Concerning the mesh-protocols, selected targeted protocols are :&lt;br /&gt;
* OLSR : IP-based mesh routing platform (http://olsr.org and OpenWrt package available)&lt;br /&gt;
* BATMAN : Layer2-based mesh protocol (http://open-mesh.org) and available as a kernel module for Linux and packaged in OpenWrt&lt;br /&gt;
* BABEL : Layer-3 mesh protocol developed by University Paris 6, available for Linux and packaged in OpenWrt (http://www.pps.jussieu.fr/~jch/software/babel/)&lt;br /&gt;
&lt;br /&gt;
Concerning the hardware node, we are looking for hardware sponsors that could enjoy this “real-case” contest by providing 50-100 nodes to the event. This sponsor will be actually displayed on the organization website as well as during the event. The feedbacks for the hardware manufacturers can be not only from the users but also from the network community running real-case test (academic- or community-wide).&lt;br /&gt;
&lt;br /&gt;
The TMPLAB core team.&lt;br /&gt;
&lt;br /&gt;
== Agenda ==&lt;br /&gt;
&lt;br /&gt;
* Friday, April 10th, 8 pm : welcoming of the first people coming and flashing of the node and configuration of the nodes&lt;br /&gt;
* Sat, April 11th : &lt;br /&gt;
** Morning : setting up the nodes on-site and validation of the different subnets&lt;br /&gt;
** Afternoon : first series of tests and measurements with fixed nodes&lt;br /&gt;
* Sun 12th : &lt;br /&gt;
** Morning : second series of tests and measurement with fixed and mobile nodes (laptops)&lt;br /&gt;
** Afternoon : Optimization of the protocols and Conclusion&lt;br /&gt;
&lt;br /&gt;
== Evaluation ==&lt;br /&gt;
&lt;br /&gt;
=== Criterion ===&lt;br /&gt;
We will evaluate the routing protocols using the following criterion :&lt;br /&gt;
&lt;br /&gt;
* time to setup a node&lt;br /&gt;
* CPU activity&lt;br /&gt;
* network activity&lt;br /&gt;
* convergence time&lt;br /&gt;
* scalability&lt;br /&gt;
* mobile devices handling&lt;br /&gt;
&lt;br /&gt;
=== Platform ===&lt;br /&gt;
&lt;br /&gt;
The evaluation platform consits of a SNMP agent which collects graphs from the different nodes using Cacti.&lt;br /&gt;
&lt;br /&gt;
== Hardware platforms ==&lt;br /&gt;
&lt;br /&gt;
We managed to get sponsoring for such hardware :&lt;br /&gt;
&lt;br /&gt;
* Linksys WRT54G/GS&lt;br /&gt;
* Asus WL500G Deluxe/Premium&lt;br /&gt;
* Fon Fonera&lt;br /&gt;
&lt;br /&gt;
For each protocol 25 nodes will be setup, with the following quantities :&lt;br /&gt;
&lt;br /&gt;
* FON : 25 nodes&lt;br /&gt;
* HSB : 32 nodes&lt;br /&gt;
* Wireless-fr : 6 nodes&lt;br /&gt;
* Tmplab : 15 nodes&lt;br /&gt;
* BATMAN : 10 nodes&lt;br /&gt;
* Thus0 : 5 nodes&lt;br /&gt;
&lt;br /&gt;
Total : 93 nodes. In case of problems, spare nodes are highly wanted.&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
&lt;br /&gt;
For each and every single node in the network, please prepare stickers containing the following informations :&lt;br /&gt;
&lt;br /&gt;
* routing protocol in use&lt;br /&gt;
* MAC address of the Wi-Fi interface&lt;br /&gt;
* IP address in the management network&lt;br /&gt;
* Owner&lt;br /&gt;
* hostname (e.g: node 1-babel)&lt;br /&gt;
&lt;br /&gt;
=== Node parts ===&lt;br /&gt;
&lt;br /&gt;
Each and every single node consists of the following physical parts:&lt;br /&gt;
&lt;br /&gt;
* A wireless router (Linksys, Fon, Asus ...)&lt;br /&gt;
* Antennas screwed on the router (no external unless specified)&lt;br /&gt;
* Power supply unit&lt;br /&gt;
* (Battery)&lt;br /&gt;
&lt;br /&gt;
== Software platform ==&lt;br /&gt;
&lt;br /&gt;
The different software versions in use during the Wireless Battle Mesh are :&lt;br /&gt;
&lt;br /&gt;
* babel-0.94 (and not 0.93 as previously announced), there's also a page about [[Babel]]&lt;br /&gt;
* olsrd-0.5.6-r4&lt;br /&gt;
* batman-adv-r1220&lt;br /&gt;
&lt;br /&gt;
OpenWrt should be Kamikaze 8.09. Broadcom-based hardware should be using the '''brcm-2.4''' image while Atheros-based hardware should be using the '''atheros''' target. If you need help flashing your devices do not hesitate to poke Florian and Nico about this.&lt;br /&gt;
&lt;br /&gt;
=== Software configuration ===&lt;br /&gt;
&lt;br /&gt;
Every node should be configured with the following settings :&lt;br /&gt;
&lt;br /&gt;
* hostname: node&amp;lt;N&amp;gt;-&amp;lt;routing protocol&amp;gt; (where N can be found using the plan/map and the routing protocol is babel, olsr or batman)&lt;br /&gt;
* user: root&lt;br /&gt;
* password: wbm2009&lt;br /&gt;
&lt;br /&gt;
We would like to be able to monitor the activity of every node, therefore an aditional SNMP configuration should be done with the following settings :&lt;br /&gt;
&lt;br /&gt;
* version: 2&lt;br /&gt;
* community: wbm2009&lt;br /&gt;
* permissions: ro&lt;br /&gt;
* allow graph disk/flash activity (e.g: disk /)&lt;br /&gt;
&lt;br /&gt;
=== Package list and repositories ===&lt;br /&gt;
&lt;br /&gt;
A mirror of the OpenWrt kamikaze 8.09 package repository will be available during the WBM2009. Additionnal packages that we recommend to install are :&lt;br /&gt;
&lt;br /&gt;
* ntpclient (or busybox's rdate)&lt;br /&gt;
* wprobe&lt;br /&gt;
* snmpd&lt;br /&gt;
&lt;br /&gt;
== Wireless configuration ==&lt;br /&gt;
&lt;br /&gt;
Each node will be working in '''Ad-hoc''' mode using the following settings.&lt;br /&gt;
&lt;br /&gt;
=== For babel ===&lt;br /&gt;
&lt;br /&gt;
* SSID: babel&lt;br /&gt;
* Channel: 1&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For Batman ===&lt;br /&gt;
&lt;br /&gt;
* SSID: batman&lt;br /&gt;
* Channel: 5&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
=== For OLSR ===&lt;br /&gt;
&lt;br /&gt;
* SSID: olsr&lt;br /&gt;
* Channel: 11&lt;br /&gt;
* Encryption: none&lt;br /&gt;
&lt;br /&gt;
The resulting '''/etc/config/wireless''' is then for Broadcom devices and for a Babel node:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wl0&lt;br /&gt;
        option type     broadcom&lt;br /&gt;
        option channel  1&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wl0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     adhoc&lt;br /&gt;
        option ssid     babel&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an OLSR node on an Atheros board:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config wifi-device  wifi0&lt;br /&gt;
        option type     atheros&lt;br /&gt;
        option channel  11&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device   wifi0&lt;br /&gt;
        option network  wifi&lt;br /&gt;
        option mode     sta&lt;br /&gt;
        option ssid     olsr&lt;br /&gt;
        option encryption none&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: we unbridge the LAN interface with the Wi-Fi interface in order to be able to define specific networks on the LAN interface.&lt;br /&gt;
&lt;br /&gt;
== Network topology ==&lt;br /&gt;
&lt;br /&gt;
There will be different subnets corresponding to different purposes.&lt;br /&gt;
&lt;br /&gt;
=== Protocol wide subnet ===&lt;br /&gt;
&lt;br /&gt;
This subnet is required for the nodes running a given protocol to work, meaning that the wireless interface in ad-hoc mode must be configured with an address falling within the range defined below:&lt;br /&gt;
&lt;br /&gt;
* Babel: 192.168.40.0/24&lt;br /&gt;
* Batman: 192.168.30.0/24&lt;br /&gt;
* OLSR: 192.168.20.0/24&lt;br /&gt;
&lt;br /&gt;
An '''/etc/config/network''' file for a Babel node looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#### VLAN configuration&lt;br /&gt;
config switch eth0&lt;br /&gt;
        option vlan0    &amp;quot;1 2 3 4 5*&amp;quot;&lt;br /&gt;
        option vlan1    &amp;quot;0 5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### Loopback configuration&lt;br /&gt;
config interface loopback&lt;br /&gt;
        option ifname   &amp;quot;lo&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   127.0.0.1&lt;br /&gt;
        option netmask  255.0.0.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#### LAN configuration&lt;br /&gt;
config interface lan&lt;br /&gt;
        option type     bridge&lt;br /&gt;
        option ifname   &amp;quot;eth0.0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.2.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&lt;br /&gt;
#### Wi-Fi configuration&lt;br /&gt;
config interface wifi&lt;br /&gt;
        option ifname   &amp;quot;wl0&amp;quot;&lt;br /&gt;
        option proto    static&lt;br /&gt;
        option ipaddr   192.168.40.1&lt;br /&gt;
        option netmask  255.255.255.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
Nodes have been flashed with custom firmware images:&lt;br /&gt;
 - root password is set to 'wbm2009'&lt;br /&gt;
 - pubkey ssh authentication is enabled, keys are available here: http://ska.lan.tmplab.org/ssh/&lt;br /&gt;
 - LAN configuration was not changed and default to 192.168.1.1/24&lt;br /&gt;
 - Default wireless configuration is:&lt;br /&gt;
   - ssid: wbm2009&lt;br /&gt;
   - mode: adhoc&lt;br /&gt;
   - encryption: none&lt;br /&gt;
&lt;br /&gt;
When using ssh with same key and different hosts, it might be convenient to add the following in /etc/ssh/ssh_config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
StrictHostKeyChecking no&lt;br /&gt;
UserKnownHostsFile /dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wireless IP adresses ===&lt;br /&gt;
&lt;br /&gt;
you can set the addres this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@OpenWrt:~# uci set network.wifi.ipaddr=&amp;quot;192.168.44.x&amp;quot;; uci commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
00:18:84:21:6B:8C&lt;br /&gt;
(LAN MAC, WiFi MAC, WiFi IP)&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009-olsr, BSSID: CA:CA:FE:CA:CA:20, IP: 192.168.20.0/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:24:E9:D0, 00:0F:66:24:E9:D2, 192.168.20.1, WRT54G v1.1&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.20.2, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.20.3, WRT54GL v1.1&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.20.4, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.20.5, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.20.6, WRT54GS v4&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.20.7, WRT54GS v1.1&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.20.8, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.20.9, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.20.10, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.20.11, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.20.12, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.20.13, WRT54GL&lt;br /&gt;
&lt;br /&gt;
* 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.20.20, WRT54GS&lt;br /&gt;
&lt;br /&gt;
==== Channel: 6, ESSID: wbm2009-babel, BSSID: CA:CA:FE:CA:CA:230, IP: 192.168.30.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 11, ESSID: wbm2009-batman, BSSID: CA:CA:FE:CA:CA:40, IP: 192.168.40.0/24  ====&lt;br /&gt;
&lt;br /&gt;
==== Channel: 1, ESSID: wbm2009, IP: 192.168.44.x/24 ====&lt;br /&gt;
&lt;br /&gt;
 * 00:0F:66:C7:C0:AD, 00:0F:66:C7:C0:AF, 192.168.44.101, WRT54GS&lt;br /&gt;
 * 00:16:B6:40:F2:C6, 00:16:B6:40:F2:C8, 192.168.44.102, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:A1, 00:14:BF:D2:65:A3, 192.168.44.103, WRT54GL&lt;br /&gt;
 * 00:16:B6:D9:25:B7, 00:16:B6:D9:25:B9, 192.168.44.104, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D5, 00:16:B6:40:F2:D7, 192.168.44.105, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:DB, 00:16:B6:40:F2:DD, 192.168.44.106, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C0, 00:16:B6:40:F2:C2, 192.168.44.107, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F9:F2, 00:16:B6:40:F9:F4, 192.168.44.108, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CF, 00:16:B6:40:F2:D1, 192.168.44.109, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:6C:04, 00:14:BF:D2:6C:06, 192.168.44.110, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D2, 00:16:B6:40:F2:D4, 192.168.44.111, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:D8, 00:16:B6:40:F2:DA, 192.168.44.112, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:CC, 00:16:B6:40:F2:CE, 192.168.44.113, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:F2:C3, 00:16:B6:40:F2:C5, 192.168.44.114, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:86, 00:14:BF:D2:65:88, 192.168.44.115, WRT54GL&lt;br /&gt;
 * 00:14:BF:D2:65:9E, 00:14:BF:D2:65:A0, 192.168.44.116, WRT54GL&lt;br /&gt;
 * 00:18:39:BC:39:54, 00:18:39:BC:39:56, 192.168.44.117, WRT54GL&lt;br /&gt;
 * 00:16:B6:41:02:8C, 00:16:B6:41:02:8E, 192.168.44.118, WRT54GL&lt;br /&gt;
 * 00:16:B6:40:DE:3E, 00:16:B6:40:DE:40, 192.168.44.119, WRT54GL&lt;br /&gt;
 * 00:1A:70:FD:4B:03, 00:1A:70:FD:4B:05, 192.168.44.120, WRT54GL&lt;br /&gt;
 * 00:14:BF:E2:B5:3F, 00:14:BF:E2:B5:41, 192.168.44.121, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:66:87, 00:16:B6:01:66:89, 192.168.44.122, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E5, 00:16:B6:01:5F:E7, 192.168.44.123, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DF, 00:16:B6:01:5F:E1, 192.168.44.124, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:E8, 00:16:B6:01:5F:EA, 192.168.44.125, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:57:CF, 00:16:B6:01:57:D1, 192.168.44.126, WRT54GS v4&lt;br /&gt;
 * 00:16:B6:01:5F:DC, 00:16:B6:01:5F:DE, 192.168.44.127, WRT54GS v4&lt;br /&gt;
 * 00:14:BF:A5:B9:4C, 00:14:BF:A5:B9:4E, 192.168.44.128, WRT54GS v4&lt;br /&gt;
 * 00:0F:66:C7:B9:6F, 00:0F:66:C7:B9:71, 192.168.44.129, WRT54GS&lt;br /&gt;
 * 00:13:10:07:EE:FC, 00:13:10:07:EE:FE, 192.168.44.130, WRT54GS v1.1&lt;br /&gt;
 * 00:12:17:DF:A7:28, 00:12:17:DF:A7:2A, 192.168.44.131, WRT54GS v1.1&lt;br /&gt;
 * 00:0F:66:24:EE:2F, 00:0F:66:24:EE:31, 192.168.44.133, WRT54G v1.1&lt;br /&gt;
 * 00:14:BF:BF:E6:5A, 00:14:BF:BF:E6:5C, 192.168.44.134, WRT54G v3.1&lt;br /&gt;
 * 00:12:17:26:EB:84, 00:12:17:26:EB:86, 192.168.44.135, WRT54G v2&lt;br /&gt;
 * 00:18:84:25:69:50, 00:18:84:25:69:51, 192.168.44.136, Fonera&lt;br /&gt;
 * 00:18:84:10:2F:7C, 00:18:84:10:2F:7D, 192.168.44.137, Fonera&lt;br /&gt;
 * 00:18:84:1C:EB:28, 00:18:84:1C:EB:29, 192.168.44.138, Fonera&lt;br /&gt;
 * 00:18:84:13:A5:50, 00:18:84:13:A5:51, 192.168.44.139, Fonera&lt;br /&gt;
 * 00:18:84:12:F7:2C, 00:18:84:12:F7:2D, 192.168.44.140, Fonera&lt;br /&gt;
 * 00:18:84:21:6B:8C, 00:18:84:21:6B:8D, 192.168.44.141, Fonera&lt;br /&gt;
 * 00:18:84:27:19:5C, 00:18:84:27:19:5D, 192.168.44.142, Fonera&lt;br /&gt;
 * 00:18:84:1C:F7:4C, 00:18:84:1C:F7:4D, 192.168.44.143, Fonera&lt;br /&gt;
 * 00:18:84:25:28:E4, 00:18:84:25:28:E5, 192.168.44.144, Fonera&lt;br /&gt;
 * 00:18:84:28:90:78, 00:18:84:28:90:79, 192.168.44.145, Fonera&lt;br /&gt;
 * 00:18:84:25:DF:50, 00:18:84:25:DF:51, 192.168.44.146, Fonera&lt;br /&gt;
 * 00:18:84:27:7E:E0, 00:18:84:27:7E:E1, 192.168.44.147, Fonera&lt;br /&gt;
 * 00:11:2F:9D:15:86, 00:11:2F:9D:15:86, 192.168.44.148, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:98, 00:11:2F:9D:15:98, 192.168.44.149, WL500GD&lt;br /&gt;
 * 00:11:2F:9D:15:43, 00:11:2F:9D:15:43, 192.168.44.150, WL500GD&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>	</entry>

	</feed>