installing new firmware on wrt54gl – updatePosted: March 24, 2010
Last year I have written about installing new firmware on wrt54gl and installing openvpn on this tiny excelent router.
to install latest openwrt firmware follow this steps:
ssh as root to the device.
# cd /tmp
# wget http://downloads.x-wrt.org/xwrt/kamikaze/8.09.2/brcm-2.4/openvpn/openwrt-brcm-2.4-squashfs.trx
# mtd -r -e linux write openwrt-brcm-2.4-squashfs.trx linux
Please note that the image is not downloaded from openwrt but from x-wrt.org. x-wrt.org is project which cooperate with openwrt. The reason is that the firmware already includes openvpn package. My device has not enough memory and I always struggle with memory on this device.
- bootwait should be already on (if not, see my article from last year)
- telnet wrtbox and change password (allows ssh & web access)
- repair time on wrt
30 6 * * * /usr/sbin/rdate -s rdate.cpanel.net
you already have openvpn package (if not just install it). I had problems to use my old certificates and config, so I have also installed openvpn-easyrsa
- move to /etc/easy-rsa
- just call the opnvpn commands – little bit modified – I am following openvpn howto
- build-key-server server
- build-key client1
- build-dh – this one takes long time
Notice that it is missing at the begining “dot” and “slash” – which is standard way to do it on linux.
Next is standard openvpn steps