Upgrade OpenWRT on TP-Link WDR4300


Download Firmware Image :

# BASE=downloads.openwrt.org/snapshots/trunk/ar71xx

# cd /tmp

# wget http://${BASE}/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin

# wget http://${BASE}/md5sums


Check if Firmware Image has correct md5 checksum :

cd /tmp

# md5sum -c md5sums 2>/dev/null | grep OK

openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin: OK



Perform Upgrade ( Automatically followed by a reboot ) :

# sysupgrade -v /tmp/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin


After Upgrade Install Luci ( WebGUI )

opkg update

opkg install luci

/etc/init.d/uhttpd enable

/etc/init.d/uhttpd start


After Upgrade Install syslog daemon ( system messages to be written to [ /var/log/messages ]

opkg update

opkg install syslog-ng3

/etc/init.d/syslog-ng enable

/etc/init.d/syslog-ng start