kls0e grüess Dich.

speedtest oneliner for OpenWrt

rudimentary OpenWrt speed test to /dev/null, 100 MB:

START=$(date +%s);  wget -O /dev/null http://speed.hetzner.de/100MB.bin; END=$(date +%s); echo $((END-START))| awk '{print int(800/$1)}'

Mbit/s is shown after completion. Should work on other Linuxes, too, needs wget.

Sourced from the freifunk forum, posted by adorfer, there are some elaborate alternatives mentioned in the thread but this simple approach works for me.