System running in recovery (initramfs) mode (DIR-2640 A1)

Unable to get out of recovery mode. Even after sysupgrade.

any ideas?

Is this a new installation?

Can you provide more details regarding your device and the steps you performed to get to the status in the screenshot.

you need to use the Recover image in the recover interface
https://downloads.openwrt.org/releases/24.10.1/targets/ramips/mt7621/openwrt-24.10.1-ramips-mt7621-dlink_dir-2640-a1-squashfs-recovery.bin

below is the decrypted factory firmware if you want to go back
http://luckys.onmypc.net/openwrt/DIR-2640/DIR-2640_REVA_FIRMWARE_1.11B02.decrypt.BIN

1 Like

Thanks for that! for anyone else it worked after i used Recovery image in the recovery mode. Then I did a sys upgrade

Rescue firmware partition

Supported by several devices at least of the following vendors: D-Link, TP-Link, ZBTLink

This function is based on extra code in the boot partition in the flash ROM and it is still available on the device, even after the device has been flashed to OpenWrt. No further tools are needed, to trigger this rescue function.

Procedure, to boot into rescue partition:

  1. Switch device power off (or pull the power cord).

  2. Connect a client to the device via Ethernet to LAN1

  3. Trigger the rescue function by pressing and holding the reset button of the device and then turning the device on (or plug in the power cord).

  4. You can release the reset button after a few seconds.

  5. The device will take ~15-20 seconds to boot a mini-web server, that provides only a single function: it can upload a firmware file and has a button to trigger the flash process. The web-server will usually be available under either (if in doubt, try both)

  6. http://192.168.0.1 (TP-Link and newer D-Link devices) or http://192.168.0.254 (newer TP-Link devices)

  7. http://192.168.1.1 (ZBT-Link and older D-Link devices)

  8. Note: You need to set your PC client to a fixed IP address beforehand, as DHCP is not supported in this rescue mode. So depending on your device, so you need to set the PC client's to a matching IP address, either:

  9. an IP of the 192.168.0.x range, e.g. 192.168.0.2 / 255.255.255.0

  10. an IP of the 192.168.1.x range, e.g. 192.168.1.2 / 255.255.255.0

Notes:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.