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 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)
    telnet 192.168.1.1
    passwd
  • repair time on wrt
    crontab -e
    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
    • 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

Advertisements


Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s