installing new firmware on wrt54gl

To install new firmware on wrt54gl use this steps:

# cd /tmp
# wget
# mtd -r -e linux write openwrt-brcm-2.4-squashfs.trx linux

1. Turn bootwait on
nvram show | grep boot
nvram set boot_wait=on
nvram commit

2. Use TFTP to install new firmware
atftp –trace –option “timeout 1” –option “mode octet” –put –local-file openwrt-wrt54g-2.4-squashfs.bin

3. telnet wrtbox and change password

4. install openvpn
ipkg update
ipkg install openvpn

5. create dir on wrt box
cd /etc
mkdir openvpn

6. follow on your (win/lin) machine openvpn howto

7. copy created files on wrt box

8. set correct timezone
echo “CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00” > /etc/TZ

9. repair time on wrt
crontab -e
30 6 * * * /usr/sbin/rdate -s

10. if you install firmware withou xwrt (webif2 gui) then need to follow this steps

(add insmod tun and rmmod tun in S46openvpn script)


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 )

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