Topic: OpenWRT on D-link DSL-524t
I wanted to try to get OpenWRT working on my D-Link DSL-524T so i red a few guides and so on. If your firmware upgrade fails you'll need a JTAG cable to fix it. To get started, you need a telnet client, windows has one or you could use PuTTY. You also need a RJ-45 cable to connect your pc to your router.
Change your computers ip address to 192.168.1.2. Now open DOS and write "telnet 192.168.1.1"(default ip). Username and password should be admin by default, if you changed the password, then use it. For those who have forgotten their password, just reset the router via the reset button at the back of the device. Now type "cat /proc/ticfg/env". The result should look something like this:
BusyBox on (none) login: admin
BusyBox v0.61.pre (2006.06.21-02:30+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
# cat /proc/ticfg/env
Adam2_Release 0.22.02_b04_Mar 10 2005
Write down the ipaddress presented at my_ipaddress, this is the address used to log in to the bootloader which is Adam2. Make sure your mtd0 through mtd4 are the same as those in this example. ProductID should be AR7*. Go download the newest(atm 8.09) ar7 squashfs file. The name should look somethin like: "openwrt-ar7-squashfs.bin".
Set your computers static IP to 184.108.40.206 and gateway to 220.127.116.11. Now unplug the power cable and type "ftp 18.104.22.168" or what ever your my_ipaddress is. You have about 5 to 7 seconds to execute the ftp command before bootloader loads the router os. Power up the router and execute the ftp command. Now you should be in the adam2 ftp server. Username and password is adam2. Now type the following commands(replace .bin filename with the one you have):
ftp> quote "MEDIA FLSH"
ftp> put "openwrt-ar7-squashfs.bin" "c mtd4"
ftp> quote REBOOT
Now the device should reboot and your ftp should disconnect. Wait a few moments and try to connect to your router via telnet. telnet 192.168.1.1. You should now be running OpenWRT on your router.