Add support for D-Link COVR-X1860

1 d link device works because it has the original firmware

[image]

Currently, the Kernel file is uploaded, unfortunately I cannot enter the IP
Internet Protocol
192.168.0.1 in the URL to upload another file. I hold the reset button but it doesn't respond

Just downloading the firmware from D-Link and flashing it via recovery web interface doesn't work.

What is the kernel file in your case?

The kernel file has been uploaded, now the router reset does not work. It is not possible to enter the upload mode. Please help me return to the original firmware

Two things to check:

  • First ,do you have a working linux system? If yes, did you try to decrypt the D-Link firmware as described in the PR:
 - Download https://github.com/openwrt/firmware-utils/blob/master/src/dlink-sge-image.c and https://raw.githubusercontent.com/openwrt/firmware-utils/master/src/dlink-sge-image.h
 - Compile a binary from the downloaded file, e.g. gcc dlink-sge-image.c -lcrypto -o dlink-sge-image
 - Run ./dlink-sge-image COVR-X1860 <OriginalFirmware> <OutputFile> -d
 - Example for firmware 102b01: ./dlink-sge-image COVR-X1860 COVR-X1860_RevA_Firmware_102b01.bin COVR-X1860_RevA_Firmware_102b01_Decrypted.bin -d
  • Second, do you reach the recovery web interface (just saw that there is a typo in the PR):
 - Set your IP address to 192.168.0.10, subnetmask 255.255.255.0
 - Press the reset button while powering on the deivce
 - Keep the reset button pressed until the status LED blinks red
 - Open a Chromium based browser and goto http://192.168.0.1
1 Like

I have windows using this method

  • Set your IP address to 192.168.0.10, subnetmask 255.255.255.0
  • Press the reset button while powering on the deivce
  • Keep the reset button pressed until the status LED blinks red
  • Open a Chromium based browser and goto http://192.168.0.1

Just upload the original d link file? or something more?

By uploading the file openwrt-ramips-mt7621-dlink_covr-x1860-a1-squashfs-recovery, the Internet works via cable, it is impossible to log in from the browser via IP. Someone will send me a ready-made file to be uploaded via recovery mode ?. I want to return to the original firmware.

ssh to the router, do opkg update; opkg install luci, hopefully you'll have the webUI once the commands finishes.

You cannot use the original firmware file from D-Link, it has to be decrypted before

Will you convert this file for me? I have windows

How about downloading a random general purpose linux live distribution (e.g. debian, fedora, opensuse, ubuntu, whatever) and either booting it in a VM or booting it from a USB stick?

I think my router have defect
They lost connection with internet after short time :frowning:

Can I send my router under warranty after installing openwrt?

you can always flash it back to (decrypted) OEM firmware before sending it back, though I don't believe this would be a hardware issue, unless something really broke (WAN port? device dropped to floor etc.?)

I was able to flash OpenWrt SNAPSHOT r25383-fbb924abff on all 3 nodes via the recovery web interface, set them up as dumb APs with 802.11s and dawn.
My roaming parameter could use some tweaking, but overall it's been working great for the past few days.

1 Like

I use 4 devices. All flashed with 23.05.3. It's generally working good, but when I use all 4 of them it occasionally have no network/internet connection for some minutes. When I only use two, it works without a problem.

For those using OpenWRT on the COVR-X1860, do you have any issues?

I'm looking for an alternative to the base OS since it is absolute trash and cannot do anything on mesh mode (bridge). I have 4x COVR-X1860.

I see that it has been added support on the latest stable release 23.05.3, does it already include the WebGUI? I read previously that it wasn't included by default on Beta releases so I didn't even try it out.

Is it possible to revert to the base firmware of the routers after installing OpenWRT? If yes, where can I download it? Need to have a fallback plan in case it doesn't work for me.

Can I use mesh with OpenWRT?

I never used OpenWRT, it would be my first time, so probably this are basic questions.

Thank you all

Yes, the device was backported and is fully supported in the 23.05.3 release, including the LuCI web interface. You can flash the OpenWrt factory image like a normal D-Link firmware update via the D-Link Web Interface.

To revert back, you can use the decrypted D-Link firmware (probably linked somewhere in this thread, or decrypt yourself using the dlink-sge-image tool from the OpenWrt firmware-utils directory), it can be flashed via recovery (press reset during power-up and flash with Chromium-based browser), or technically even via OpenWrt (split the first 8MiB and flash it to kernel using mtd write, and the rest to fwconcat0 or ubi).

I think it depends on what exactly mesh means to you, 802.11s is supported in the wifi driver, there is also DAWN for a managed wifi with band steering and neighbor reports etc., though I have not set this up myself yet.

1 Like

For those using OpenWRT on the COVR-X1860, do you have any issues?

I have been using OpenWRT on all 3 of my nodes for a month, no problems so far.

Is it possible to revert to the base firmware of the routers after installing OpenWRT? If yes, where can I download it? Need to have a fallback plan in case it doesn't work for me.

The patch has clear instructions on how to flash the firmware. It applies to both openwrt and stock firmware. See https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=0a18259e4aa361cd9e5848c038be4b9f4e3bfcc6 for more info.

I will quote the important part here to save you a click:

Flashing via OEM Web Interface:
 - Download openwrt-ramips-mt7621-dlink_covr-x1860-a1-squashfs-factory.bin via the OEM web interface firmware update
 - The configuration wizard can be skipped by directly going to http://192.168.0.1/UpdateFirmware_Simple.html

Flashing via Recovery Web Interface:
 - Set your IP address to 192.168.0.10, subnetmask 255.255.255.0
 - Press the reset button while powering on the deivce
 - Keep the reset button pressed until the status LED blinks red
 - Open a Chromium based browser and goto http://192.168.0.1
 - Download openwrt-ramips-mt7621-dlink_covr-x1860-a1-squashfs-recovery.bin

Revert back to stock using the Recovery Web Interface:
 - Set your IP address to 192.168.0.10, subnetmask 255.255.255.25
 - Press the reset button while powering on the deivce
 - Keep the reset button pressed until the status LED blinks red
 - Open a Chromium based browser and goto http://192.168.0.1
 - Flash a decrypted firmware image from D-Link. Decrypting an firmware image is described below.

Decrypting a D-Link firmware image:
 - Download https://github.com/openwrt/firmware-utils/blob/master/src/dlink-sge-image.c and https://raw.githubusercontent.com/openwrt/firmware-utils/master/src/dlink-sge-image.h
 - Compile a binary from the downloaded file, e.g. gcc dlink-sge-image.c -lcrypto -o dlink-sge-image
 - Run ./dlink-sge-image COVR-X1860 <OriginalFirmware> <OutputFile> -d
 - Example for firmware 102b01: ./dlink-sge-image COVR-X1860 COVR-X1860_RevA_Firmware_102b01.bin COVR-X1860_RevA_Firmware_102b01_Decrypted.bin -d

Can I use mesh with OpenWRT?

Yes, see https://openwrt.org/docs/guide-user/network/wifi/mesh/80211s
I've tried 802.11s mesh before, while it works fine, I think it's overkill for my setup (one "mesh" node to roam between 2 nodes connected via Ethernet cable), so I switched to Wireless Repeater/Extender with WDS based setup instead.

I never used OpenWRT, it would be my first time, so probably this are basic questions.

Since you have a 4 pack, my suggestion is to flash OpenWRT on 2 of them first and make sure you can set it up the way you want.

I can foresee a few challenges:

  1. the default 23.05.3 release does not come with the mesh wifi software package, so if you want to set up mesh wifi, you will have to manually install the same software on all 4 nodes. You can make your life much easier if you know how to build your own firmware, as you can include the packages you need and configure them at compile time..
  2. any changes you make on one node will not automatically sync to the rest of your network. Say you want to change your wifi password, you will have to manually log into all 4 nodes and change it. Again, there is a way to make your life much easier by using OpenWISP, but I won't go into that for now.

Before you ask for help, please please make sure you have read the User Guide, or people may ask you to RTFM.

1 Like

If the wifi-led is not working, here is described that one needs to rename the wifi-devs from phy0-ap0 and so on to wifi0 and wifi1 [SOLVED] D-Link DAP-X1860 A1: wireless LEDs not working in 23.05.2 but in 22.03.5 (phy1-ap0 & phy1-ap1 VS. wlan0 & wlan1) - For Developers - OpenWrt Forum

Hi there,

I accidentally installed the openwrt-23.05.3-ramips-mt7621-dlink_covr-x1860-a1-squashfs-factory.bin via the recovery web ui.
Now I can't access the router via network anymore. Is it possible to use a serial interface and flash the right firmware? Did someone already the same thing and can describe the process in few words?

Thanks in advance!