Upgrade OpenWRT

I always forget how to upgrade my awful Dir-300 router. Let’s dump the process here:

  1. Download last release. The file name usually matches the pattern openwrt-atheros-combined.squashfs.img

  2. scp openwrt-atheros-combined.squashfs.img into /tmp/

  3. Type sysupgrade /tmp/openwrt-atheros-combined.squashfs.img . You can add the -n flag to get rid of your previous settings.

Tip: If the router run out of space, you can free some RAM by doing:

echo 3 > /proc/sys/vm/drop_caches

Posted on March 15, 2012 by Raúl Benencia
Tags: openwrt, memo

Comments? Sure! Just send me an email with it and I'll happily include it here.