This device is NOT RECOMMENDED for future use with OpenWrt due to low flash/ram. DO NOT BUY DEVICES WITH 4MB FLASH / 32MB RAM if you intend to flash an up-to-date and secure OpenWrt version (18.06 or later) onto it! See 4/32 warning for details.
1) This device does not have sufficient resources (flash and/or RAM) to provide secure and reliable operation.
This means that even setting a password or changing simple network settings might not be possible any more, rendering the device effectively useless. See OpenWrt on 4/32 devices what you can do now.
2) OpenWrt support for this device will end after 2019.
19.07 will be the last official build for 4/32 devices. After 19.07, no further OpenWrt images will be built for 4/32 devices. See OpenWrt on 4/32 devices what you can do now.
This page only refers to generation II devices (marked revision C on the back).
OpenWrt Version Supported
Model Specific Notes
Use ar7 generic
NOTE: On trunk builds (and Attitude Adjustment at the moment), the default network configuration won't work (see https://dev.openwrt.org/ticket/13404 to see if it has been fixed). To get it to work, you must build an image manually and modify target/linux/ar7/base-files/etc/config/network. Change the line:
option ifname "eth0 eth1 eth0.1 eth0.2"
option ifname "eth0"
I did find that changing things in Luci was very slow with Attitude Adjustment and possibly unstable (router seemed to hang after changing things) so I tried with the 3.6.11 Kernel and zram and, so far, I haven't had any problems. This was on trunk revision 36367.
UPDATE: Unfortunately, I have found it to be a bit unreliable. I think that this device is probably too slow and doesn't have enough memory to work well with later kernels so I recommend sticking with 10.03.1.
My router had PSPBoot1.3 and was configured with an IP address of 18.104.22.168.
For the following, I had to hack the ftp client (OS X) I was using so that it handled QUOTE commands as I want (missing line feeds). It’s probably easier to telnet to the device. The ftp client that comes with Linux might not have the same problem.
1. Power on the router.
2. Type “ftp 22.214.171.124” after about a second. Wait and it should connect. I found it pretty easy to connect. User “adam2” password “adam2”.
3. Use the SETENV commands to change flash layout (see dsl-524t). Knowing what I know now, I think the only one that matters is the start and size of mtd1 since that is what PSPBoot uses to boot. I had to change it to start at 0x90020000. The size of mtd1 just has to be big enough to fit your image. See flash layout below. Don't blindly follow these instructions if it looks like your boot and config partitions are in a different place.
4. To put firmware on your router, in ftp type:
quote "MEDIA FLSH"
put <path-to-firmware> "x mtd1"
5. Wait a few seconds after it has finished (important if you doing the above as part of a script) and then:
This is in PSPBoot, after changing things. As I said above, the only one that is important is the start of mtd1 and the size has to be sufficient to put your image in it.
toh/d-link/dsl-504t.txt · Last modified: 2019/10/03 18:49 by tmomas