installing new firmware on wrt54gl

To install new firmware on wrt54gl use this steps:

# cd /tmp
# wget http://downloads.openwrt.org/kamikaze/7.09/brcm-2.4/openwrt-brcm-2.4-squashfs.trx
# 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 192.168.1.1

3. telnet wrtbox and change password
telnet 192.168.1.1
passwd

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
http://openvpn.net/index.php/documentation/howto.html#install

7. copy created files on wrt box

8. set correct timezone
http://wiki.openwrt.org/OpenWrtDocs/Configuration#head-a7708420e79025405daa939605108397c2bd7343
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 rdate.cpanel.net

10. if you install firmware withou xwrt (webif2 gui) then need to follow this steps
http://wiki.x-wrt.org/index.php/Kamikaze_Installation

links
http://brneurosci.org/linuxsetup71.html
http://openvpn.net/index.php/documentation/howto.html
http://wiki.openwrt.org/OpenVPNHowTo
http://wiki.openwrt.org/OpenVPNTunHowTo
(add insmod tun and rmmod tun in S46openvpn script)

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