WBM v3.1416 ===========
Rc.local ======
root@OpenWrt:/# cat /etc/rc.local ifconfig eth0 192.168.150.50 ifconfig eth0:1 192.168.1.1 babeld -z 2,30 eth0 ath0 & mkdir -p /tmp/speed dd if=/dev/zero of=/tmp/speed/4M bs=1M count=4 & uhttpd -h /tmp/speed/ -p 80 exit 0
Uhttpd ======
http://downloads.openwrt.org/backfire/10.03/atheros/packages/uhttpd_7_atheros.ipk
Speed tests =========
From the cable, with a small web server serving a 4M file in RAM in /tmp/ :
CPU 95% uhttpd -h /tmp/speed/ -p 80
Mem: 12556K used, 1032K free, 0K shrd, 524K buff, 5656K cached CPU: 1% usr 43% sys 0% nic 0% idle 0% io 0% irq 55% sirq Load average: 0.79 0.26 0.08 2/26 576 PID PPID USER STAT VSZ %MEM %CPU COMMAND 559 1 root R 1464 11% 98% uhttpd -h /tmp/speed/ -p 80 576 567 root R 1360 10% 2% top 547 1 root S 1356 10% 0% telnetd -l /bin/login.sh 555 1 root S 884 7% 0% babeld -z 2,30 eth0 ath0 Mem: 12556K used, 1032K free, 0K shrd, 524K buff, 5656K cached CPU: 1% usr 43% sys 0% nic 0% idle 0% io 0% irq 55% sirq Load average: 0.79 0.26 0.08 2/26 576 PID PPID USER STAT VSZ %MEM %CPU COMMAND 559 1 root R 1464 11% 98% uhttpd -h /tmp/speed/ -p 80 576 567 root R 1360 10% 2% top 547 1 root S 1356 10% 0% telnetd -l /bin/login.sh 555 1 root S 884 7% 0% babeld -z 2,30 eth0 ath0
Test ===
Channel 1 Mode ad-hoc essid: test Cell: 02:02:02:02:02:02 IP: 192.168.20.X
ATH9K Contest ===========
http://patches.aircrack-ng.org/ath9k_regdomain_override.patch
setting override_eeprom_regdomain parameter: http://forum.aircrack-ng.org/index.php?topic=6822.0
http://www.zoobab.com/local--files/ath9k-regdomain/regulatory.bin
git clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-regdb.git
http://battlemesh.org/Ath9kBounty
See Yura80's patch https://forum.openwrt.org/viewtopic.php?id=18915
Babelz =====
document who compares OLSR,BATMAN and babel http://ro.uow.edu.au/cgi/viewcontent.cgi?article=1747&context=infopapers
Reflash with ap51: http://download.berlin.freifunk.net/fonera/ap51-flash-1.0-42 svn co http://dev.open-mesh.com/downloads/svn/ap51-flash/trunk/ ap51-flash
http://xi-group.com/babelz/ http://xi-group.com/babelz/librt_0.9.30.1-42_atheros.ipk http://xi-group.com/babelz/kmod-ipv6_2.6.30.10-1_atheros.ipk http://xi-group.com/babelz/babelz_20100903_atheros.ipk
zoobab's nodes http://www.zoobab.com/local--files/wbmv31416/nodes.csv
================================================================
#MAC, PARAM1, PARAM2, PARAM3, PARAM4, PARAM5,PARAM6 ,PARAM7 ,PARAM8 ,PARAM9 #MAC, hostname, wired-ip, wireless-ip, x, channel, cell ,return-routes ,forward-routes ,PARAM9 00:18:84:29:ca:5c , 10, 192.168.110.10, 192.168.01.10, x , 01 , 02:02:02:02:02:01 00:18:84:24:07:78 , 20, 192.168.110.20, 192.168.13.20, x , 13 , 02:02:02:02:02:13 00:18:84:26:74:40 , 30, 192.168.130.30, 192.168.01.30, x , 01 , 02:02:02:02:02:01 00:18:84:29:be:44 , 40, 192.168.130.40, 192.168.13.40, x , 13 , 02:02:02:02:02:13 00:18:84:2a:e3:98 , 50, 192.168.150.50, 192.168.01.50, x , 01 , 02:02:02:02:02:01 00:18:84:29:b0:0c , 60, 192.168.150.60, 192.168.13.60, x , 13 , 02:02:02:02:02:13 00:18:84:24:a1:d0 , 70, 192.168.170.70, 192.168.01.70, x , 01 , 02:02:02:02:02:01 00:18:84:29:af:50 , 80, 192.168.170.80, 192.168.13.80, x , 13 , 02:02:02:02:02:13
================================================================
http://zumbi.netgroup.uniroma2.it/~clauz/rsyncs/wbmv3/results/babel-z.tar.gz
Binary for the fonera (Backfire):
http://xi-group.com/babelz/babelz_20100903_atheros.ipk
Compile with make, no need of ./configure
Some docs:
http://lists.alioth.debian.org/pipermail/babel-users/2010-June/000509.html
Run with:
./babeld -z 2,30 wlan0 eth0Configure your wifi card with:
We need to have 5 machines, 2 on CH1, 2 on CH13, with:
CHANNEL1 =========Configure your wifi card with:
We need to have 5 machines, 2 on CH1, 2 on CH13, with:
1. Mode adhoc 2. Channel 1 3. ESSID: wbm31416-ch1 4. CELLID: 02:02:02:02:aa:01 (ex: iwconfig wlan0 ap 02:02:02:02:aa:01) 5. Txpower: 18dbm 6. IP address on WLAN0: 192.168.10.XY (in /24) 7. IP address on the ETH0: 192.168.20.XY (in /24)
CHANNEL13 =========
1. Mode adhoc 2. Channel 13 3. ESSID: wbm31416-ch13 4. CELLID: 02:02:02:02:aa:13 (ex: iwconfig wlan0 ap 02:02:02:02:aa:13) 5. Txpower: 18dbm 6. IP address on WLAN0: 192.168.30.XY (in /24) 7. IP address on the ETH0: 192.168.20.XY (in /24)
NODE A =======
ETH0: 192.168.10.1 WLAN0: 192.168.20.1 CHANNEL: 01 CELL: 02:02:02:02:aa:01
NODE B =======
ETH0: 192.168.30.1 WLAN0: 192.168.20.2 CHANNEL: 01 CELL: 02:02:02:02:aa:01
NODE C ======
ETH0: none WLAN0: 192.168.20.3 CHANNEL: 01 CELL: 02:02:02:02:aa:01
NODE D ======
ETH0: 192.168.10.2 WLAN0: 192.168.40.1 CHANNEL: 13 CELL: 02:02:02:02:aa:13
NODE E ======
ETH0: 192.168.30.2 WLAN0: 192.168.40.2 CHANNEL: 13 CELL: 02:02:02:02:aa:13
nodelist ======
#MAC, hostname, wired-ip, wireless-ip, x, channel, cell ,return-routes ,forward-routes ,PARAM9 00:18:84:29:ca:5c , 10, 192.168.110.10, 192.168.10.10, x , 01 , 02:02:02:02:02:01 00:18:84:24:07:78 , 20, 192.168.110.20, 192.168.13.20, x , 13 , 02:02:02:02:02:13 00:18:84:26:74:40 , 30, 192.168.130.30, 192.168.10.30, x , 01 , 02:02:02:02:02:01 00:18:84:29:be:44 , 40, 192.168.130.40, 192.168.13.40, x , 13 , 02:02:02:02:02:13 00:18:84:2a:e3:98 , 50, 192.168.150.50, 192.168.10.50, x , 01 , 02:02:02:02:02:01 00:18:84:29:b0:0c , 60, 192.168.150.60, 192.168.13.60, x , 13 , 02:02:02:02:02:13 00:18:84:24:a1:d0 , 70, 192.168.170.70, 192.168.10.70, x , 01 , 02:02:02:02:02:01 00:18:84:29:af:50 , 80, 192.168.170.80, 192.168.13.80, x , 13 , 02:02:02:02:02:13