OpenWrt Forum Archive

Topic: Trying to support D-Link DIR-615 Ix

The content of this topic has been archived between 6 Feb 2018 and 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello all,

I did some experiments with DIR-615 rev. Ix(I have rev. I2), and it's mostly working with some problems,

  • sometimes failed to update from stock firmware upgrade page(upload on firmware recovery mode is fine)

  • needs assign reset button(EDIT: you need assign this manually for now. basically it's working)

  • sysupgrade with sysupgrade firmware is not working. I have no idea why.

  • and other bugs I haven't found yet.

You can grab patch file for BB and trunk.
And here's compiled firmware(trunk, of course) if you interest to test yourself.

Any help or advice is much appreciated.

EDIT: I've compiled firmware for trunk(Chaos Calmer) r45493. You can download firmware here. Thanks!

Update: now supports rev. I1(and I2) and I3.

Update 2: I've send patch to devel mailing list.

UPDATE 3: Patch applied on r46248. Thank you all for the support.

(Last edited by teslamint on 7 Jul 2015, 18:44)

Hi teslamint,

I am very interested in this port, I just downloaded both compiled firmware and will start testing it with the D-link 615 HW rev I1 I just bought.

What is the behavior so far with yours? I tried DD-WRT and stock firmware getting random reboots everyday, do you also get them with OpenWRT?

Thank you for the links, tell me if you want me to test something specific.

dusty wrote:

I tried DD-WRT and stock firmware getting random reboots everyday, do you also get them with OpenWRT?

I've not seen random reboots on OpenWRT until now(currently using 12.09.1 trunk build firmware for testing purpose). But if you still have random reboot problem persists even on stock firmware, I suggest you should contact D-Link support.

I thought about returning the router to D-Link but I have to pay the shipping costs and are half the price of the router -> not worth it, but if I still see reboots with OpenWRT (pretty simple config, just acting as an AP with 1 SSID) I will rethink about requesting an RMA. I though about playing with it for testing and, if don't do the RMA, opening it and upload the missing information to OpenWRT's wiki.

For now, it has been stable for more than 15h but yesterday I noticed one unsolicited reboot.

EDIT: This looks nice, still stable for 2d 14h 27m 2s

EDIT: Confirm that this version is pretty stable, running smoothly for 4d 22h 30m 27s

(Last edited by dusty on 3 Sep 2013, 03:28)

After 8d 12h 34m 23s the router's wireless interface doesn't authenticate any of my wifi devices (Windows 7, Android). I can't see any message neither on the system log nor the kernel log, but in the system log I can see that the router stopped authenticating devices from September 4th at 10:57:20:

System Log:

Sep  4 08:27:21 OpenWRT daemon.info hostapd: wlan0: STA 00:11:22:33:44:55 WPA: group key handshake completed (RSN)
Sep  4 08:37:21 OpenWRT daemon.info hostapd: wlan0: STA 00:11:22:33:44:55 WPA: group key handshake completed (RSN)
Sep  4 08:47:21 OpenWRT daemon.info hostapd: wlan0: STA 00:11:22:33:44:55 WPA: group key handshake completed (RSN)
Sep  4 08:57:22 OpenWRT daemon.info hostapd: wlan0: STA 00:11:22:33:44:55 WPA: group key handshake completed (RSN)
Sep  4 09:07:22 OpenWRT daemon.info hostapd: wlan0: STA 00:11:22:33:44:55 WPA: group key handshake completed (RSN)
Sep  4 09:17:29 OpenWRT daemon.info hostapd: wlan0: STA 00:11:22:33:44:55 IEEE 802.11: deauthenticated due to local deauth request
Sep  4 09:27:36 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee IEEE 802.11: authenticated
Sep  4 09:27:36 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee IEEE 802.11: associated (aid 1)
Sep  4 09:27:36 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: pairwise key handshake completed (WPA)
Sep  4 09:27:36 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: group key handshake completed (WPA)
Sep  4 09:37:20 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: group key handshake completed (WPA)
Sep  4 09:47:20 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: group key handshake completed (WPA)
Sep  4 09:57:20 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: group key handshake completed (WPA)
Sep  4 10:07:20 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: group key handshake completed (WPA)
Sep  4 10:17:20 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: group key handshake completed (WPA)
Sep  4 10:27:20 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: group key handshake completed (WPA)
Sep  4 10:37:20 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: group key handshake completed (WPA)
Sep  4 10:47:20 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: group key handshake completed (WPA)
Sep  4 10:57:20 OpenWRT daemon.info hostapd: wlan0: STA 00:aa:bb:cc:dd:ee WPA: group key handshake completed (WPA)

Kernel Log:
...

[   16.550000] eth1: link up (1000Mbps/Full duplex)
[   16.550000] br-lan: port 1(eth1) entered forwarding state
[   16.560000] br-lan: port 1(eth1) entered forwarding state
[   18.560000] br-lan: port 1(eth1) entered forwarding state
[   20.630000] cfg80211: Calling CRDA for country: CA
[   20.630000] cfg80211: Regulatory domain changed to country: CA
[   20.640000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   20.650000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   20.650000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   20.660000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   20.670000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   20.680000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   22.560000] device wlan0 entered promiscuous mode
[   22.800000] br-lan: port 2(wlan0) entered forwarding state
[   22.800000] br-lan: port 2(wlan0) entered forwarding state
[   24.800000] br-lan: port 2(wlan0) entered forwarding state

(Last edited by dusty on 6 Sep 2013, 17:40)

Today the router won't authenticate users again. I tried to get into the luci web interface and it won't load, nor can connect using SSH but I get a response only to ping.

I don't know how to compile the latest trunk to test it with this device, can you provide me the binary teslamint?

I really want to have a DIR-615 pretty stable with a basic AP config with OpenWRT in it!

Thanks!

(Last edited by dusty on 13 Sep 2013, 00:55)

I tried both firmware versions in the first post, via the recovery mode, and neither uploaded - in both cases I got a message of "Upgrade Failed" return. This was on D-Link DIR-615 I1 with a reflashed stock install (9.03).

Fwiw, I was forced to use Internet Explorer 11 on Win7 with HTTP 1.1 turned off in Internet Options to use the recovery mode at all (I was able to upload both DD-WRT and stock firmware this way). Nothing I had in Linux seemed to work - they all time out.

At the moment I've got it running DD-WRT, but it seems so cludgy compared to Open-WRT and every info webpage I go to for DD-WRT is always full of ominous red text.

@dpj - Can you give the link of stock firmware you've flashed?

@dusty - Please test new firmware I just uploaded. see EDIT2 on the first post. Thanks!

@teslamint

The BB version seems to load ok from within the D-Link firmware updater (can't tell from the emergency loader - it just keeps loading).

But I can't get to a LUCI interface at either 192.168.0.1 or 192.168.1.1. Also, the power light goes out after awhile but the ethernet light for port which the computer is plugged into stays lit.

did you flash a trunk build? Those don't include Luci by default so you'll have to install it via command line.

If you can ping the router, then your flash was successful. 

Try installing 14.07 final, which includes Luci

(Last edited by drawz on 3 Oct 2014, 06:35)

This time around I installed one of the 12.09 AA versions from the last link in the first post.

It had the expected lights lit up.

I telnetted in without issue after pinging the router.

I had to modify /etc/opkg.conf as it was pointing at a non-existent 12.09.1 directory, but once I did that I was able to install Luci.

Right now, BB firmware is broken now. I'll try to fix it up.

teslamint wrote:

Right now, BB firmware is broken now. I'll try to fix it up.

I'm still interested in bringing this router its life back. I talked to d-link for doing an RMA but I had to pay the shipping costs and it wasn't worth it. I'd probably receive another "defective" unit as I'm sure the problem is not the hardware but the firmware.

Please, let us know when you can fix it and I'll try it when I have some spare time.

Thanks!

Just in case, RichardK published a nice troubleshooting guide for this specific model of router (DIR-615 I1) and the problem with the random reboots on stock firmware, DD-WRT firmware and very likely other firmwares:

http://www.dd-wrt.com/phpBB2/viewtopic. … 017#947017

dusty wrote:

Just in case, RichardK published a nice troubleshooting guide for this specific model of router (DIR-615 I1) and the problem with the random reboots on stock firmware, DD-WRT firmware and very likely other firmwares:

http://www.dd-wrt.com/phpBB2/viewtopic. … 017#947017

Underclocking CPU speed requires modified bootloader, if I remember correctly.

Hello all,

I have compiled new firmware for trunk(CC, r44296). Please download and test firmware.

You can download firmware from first post. (see EDIT)

Thanks all!

I have the D-link 615 I1 with DD-Wrt.
I have never installed the trunk version. or switched from DD-Wrt to OpenWrt.

I have Two questions:

1. Which bin file should I use to flash it to OpenWrt?

2. I Notice this is the trunk version. Can I install Luci thru SSH?

Thanks

zzcodi wrote:

I have the D-link 615 I1 with DD-Wrt.
I have never installed the trunk version. or switched from DD-Wrt to OpenWrt.

I have Two questions:

1. Which bin file should I use to flash it to OpenWrt?

2. I Notice this is the trunk version. Can I install Luci thru SSH?

Thanks

1. use CC-r44296 version.

2. it's preinstalled.

I have installed Openwrt. It installed without any issues.

I have been testing it in client mode.
In Luci under Interfaces the :
WAN,WAN6,WWAN  all show MAC-Address: 00:00:00:00:00:00

In client mode if the signal quality  is 30% or below it works for a couple of web pages then the access point disappears.
Nothing shows up when you scan and you must reboot to have everything show up again. This also happens in DD-Wrt beta.
Any suggestions?

Thank you for all your work. I prefer OpenWrt.

zzcodi wrote:

I have installed Openwrt. It installed without any issues.

I have been testing it in client mode.
In Luci under Interfaces the :
WAN,WAN6,WWAN  all show MAC-Address: 00:00:00:00:00:00

In client mode if the signal quality  is 30% or below it works for a couple of web pages then the access point disappears.
Nothing shows up when you scan and you must reboot to have everything show up again. This also happens in DD-Wrt beta.
Any suggestions?

Thank you for all your work. I prefer OpenWrt.

Any error messages from `dmesg` or `logread`?
Please show your wireless config file(/etc/config/wireless) and I'll try the test.

Great work!

I hope I saw your post 2 months ago so that I would not spend much time on this.
Actually I've already compiled the firmware on openwrt 14.07, but after I flashed it, the router kept rebooting.
My firmware is only 3735578 bytes, not 3801088 bytes, there must be some error when composing the image.
I saw the mtd layout has 192k(lang), can it be used as part of openwrt's firmware space ?
can I use just dd command under linux prompt to upgrade the firmware, like this:

dd if=firmware-sysupgrade.bin of=/dev/mtd4 bs=64k 
Karl.z wrote:

Great work!

I hope I saw your post 2 months ago so that I would not spend much time on this.
Actually I've already compiled the firmware on openwrt 14.07, but after I flashed it, the router kept rebooting.
My firmware is only 3735578 bytes, not 3801088 bytes, there must be some error when composing the image.
I saw the mtd layout has 192k(lang), can it be used as part of openwrt's firmware space ?
can I use just dd command under linux prompt to upgrade the firmware, like this:

dd if=firmware-sysupgrade.bin of=/dev/mtd4 bs=64k 

try flash my BB firmware here.

Your BB firmware works, but the firmware compiled from source with your patch would cause kernel panic, error message "MIPS: no machine found for id 'DIR-615-I1' ..."

The cause is your patch file.
Please apply below patch on your 1.diff file:

--- 1.diff.orig 2015-02-25 12:09:55.819201809 +0800
+++ 1.diff      2015-02-25 12:12:27.559203068 +0800
@@ -388,6 +388,15 @@
   config ATH79_ROUTERBOOT
        def_bool n

+@@ -1397,6 +1408,7 @@
+ +obj-$(CONFIG_ATH79_MACH_DIR_505_A1)   += mach-dir-505-a1.o
+ +obj-$(CONFIG_ATH79_MACH_DIR_600_A1)   += mach-dir-600-a1.o
+ +obj-$(CONFIG_ATH79_MACH_DIR_615_C1)   += mach-dir-615-c1.o
+++obj-$(CONFIG_ATH79_MACH_DIR_615_I1)   += mach-dir-615-i1.o
+ +obj-$(CONFIG_ATH79_MACH_DIR_825_B1)   += mach-dir-825-b1.o
+ +obj-$(CONFIG_ATH79_MACH_DIR_825_C1)   += mach-dir-825-c1.o
+ +obj-$(CONFIG_ATH79_MACH_DRAGINO2)     += mach-dragino2.o
+
 diff --git a/target/linux/ar71xx/patches-3.14/902-unaligned_access_hacks.patch b/target/linux/ar71xx/patches-3.14/902-unaligned_access_hacks.patch
 index b00a629..c4d0005 100644
 --- a/target/linux/ar71xx/patches-3.14/902-unaligned_access_hacks.patch

Also need to modify

target/linux/ar71xx/Makefile

to set

KERNEL_PATCHVER:=3.14

(Last edited by Karl.z on 25 Feb 2015, 06:18)