welcome: please sign in
location: BattleMeshV3.1416 / SpeedTest

Step 1: Install uhttpd

cd /tmp
wget http://downloads.openwrt.org/backfire/10.03/atheros/packages/uhttpd_7_atheros.ipk
opkg install /tmp/uhttpd_7_atheros.ipk

Step 2: rc.local

Then edit your /etc/rc.local

root@OpenWrt:/tmp/speed# cat /etc/rc.local 
ifconfig eth0
ifconfig eth0: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

Then at reboot, it should serve a 4MB file on all its interfaces.

Step 3: test the speed

To test the speed, do a simple wget on the other side, do a:

while true; do wget -0 /dev/null; done

The uhttpd still takes some 90% CPU if you download the file over the ethernet interface.

BattleMeshV3.1416/SpeedTest (last edited 2010-09-04 22:36:35 by zoobab)