installing new firmware on wrt54gl – update

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
# mtd -r -e linux write openwrt-brcm-2.4-squashfs.trx linux

Please note that the image is not downloaded from openwrt but from 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
    crontab -e
    30 6 * * * /usr/sbin/rdate -s

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
    • vars
    • clean-all
    • build-ca
    • 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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s