151 (edited by gendouhydeist 2012-03-05 19:17:20)

Re: support for DLINK DIR-615 Hw:D1

Hi guys I have D4 hardware, since I already have DD-WRT firmware on my device do I have to flash in Emergency Room Web or I can do it directly (Firmware Upgrade).

It is possible for me to install pixelserve? How about jffs and other opkg's? Thanks!

@qasdfdsaq
Is it possible to do a dual wan with that patch? If it is that would be awesome!

152 (edited by qasdfdsaq 2012-03-07 17:20:27)

Re: support for DLINK DIR-615 Hw:D1

You'll have to use emergency room and a factory image (such as the ones provided in this thread), dd-wrt don't like openwrt images.

As for the patch - yes, dual-WAN would be one of the easiest things to do (actually don't need the patch to do it) - everything else I've tried has failed miserably. If dual-wan is what you want and you're comfortable compiling OpenWRT yourself, you just need to change two lines in ramips_esw.c

153 (edited by gendouhydeist 2012-03-11 22:46:10)

Re: support for DLINK DIR-615 Hw:D1

Can you tell me that two lines is? Just for future preference though. Also if I use this package https://forum.openwrt.org/viewtopic.php?id=33129 does this still require two lines that you mentioned?
And is there anyway to upgrade the kernel from snapshot? or I have to build my own image. Does building D4 image is the same instruction as this https://forum.openwrt.org/viewtopic.php?pid=155921#p155921?

154 (edited by qasdfdsaq 2012-03-22 23:42:11)

Re: support for DLINK DIR-615 Hw:D1

Argh, sorry - missed your post before.

In the latest trunk, lines 292 to 306 set the VLAN configuration. You'll want to replace those lines with:

    case RT305X_ESW_VLAN_CONFIG_LLLLW:
        rt305x_esw_set_vlan_id(esw, 0, 1);
        rt305x_esw_set_vlan_id(esw, 1, 2);
        rt305x_esw_set_vlan_id(esw, 2, 3);

        rt305x_esw_set_pvid(esw, RT305X_ESW_PORT4, 2);
        rt305x_esw_set_pvid(esw, RT305X_ESW_PORT3, 3);

        rt305x_esw_set_vmsc(esw, 0,
                BIT(RT305X_ESW_PORT0) | BIT(RT305X_ESW_PORT1) |
                BIT(RT305X_ESW_PORT2) | BIT(RT305X_ESW_PORT6));
        rt305x_esw_set_vmsc(esw, 1,
                BIT(RT305X_ESW_PORT4) | BIT(RT305X_ESW_PORT6));
        rt305x_esw_set_vmsc(esw, 2, BIT(RT305X_ESW_PORT3) | BIT(RT305X_ESW_PORT6));
        break;

This sets port 3 (physically labelled port 1, next to the WAN port) to VLAN 2, whereas the WAN port is VLAN1 and port 2-4 are VLAN0.

For D4's there is no need to revert the network drivers as per the post you linked - in fact it wouldn't work anyway as the directory structure has been changed recently. So basically this is enough:

svn co svn://svn.openwrt.org/openwrt/trunk/
make menuconfig

Course you'll need to do the feeds script if you want luci, etc. and frankly there's a lot of crap selected by default you can strip, I've managed to knock a full 1MB off the build size giving a lot more to play around with post-install.

Re: support for DLINK DIR-615 Hw:D1

Any news on the D2 switch? Looks like DD-WRT is having issues with it too. On the latest builds of DD WRT the switch on my D2 stopped working completely!

Re: support for DLINK DIR-615 Hw:D1

That's a different problem - the latest DD-WRT is broken on *all* DIR-615's, not just the D2.

As for Openwrt on the D2/D4, someone needs to go through and compare the new vs. old ethernet driver and figure out what differences are causing the breakage. I've not had the time myself, but may get round to it eventually.

Re: support for DLINK DIR-615 Hw:D1

Good news dd wrt build 18777 has the ports fixed again: ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/dlink-dir615d/

Thanks qasdfdsaq, I'd do it if I knew what I was looking for.

Re: support for DLINK DIR-615 Hw:D1

is there anyway to share your script build? Just for comparison what to add and what not.

159 (edited by cheche 2012-03-27 11:48:50)

Re: support for DLINK DIR-615 Hw:D1

Hi,
can anyone test if this patch works?
https://dev.openwrt.org/ticket/10105
It works for me, but I wanted someone to test it as well

- looks like the internet port does not work.

Re: support for DLINK DIR-615 Hw:D1

Fixed initial support on trunk:

https://dev.openwrt.org/changeset/31101

Re: support for DLINK DIR-615 Hw:D1

RAMIPS_MACH_DIR_615_D is in a wrong section of the ramips_mach_type enum in machine.h, DIR-615D is RT3052 based machine not RT3050.
Not that it would really change anything since it is only enum...

DIR-615D uses different LED GPIO ports than DIR-300B which should have also been added to the changeset.

162 (edited by cheche 2012-03-28 09:05:10)

Re: support for DLINK DIR-615 Hw:D1

omgwtfbbq wrote:

DIR-615D uses different LED GPIO ports than DIR-300B which should have also been added to the changeset.

Well this was a old patch. I only want to use the openwrt  build system to get a firmware to flash this dir-615D1 router from recovery mode.
Here is my last image. It works forme:
http://dl.dropbox.com/u/31323343/openwrt-ramips-rt305x-dir-615-d-squashfs-factory.bin

I have added your suggested LED GPIO in this file:
http://dl.dropbox.com/u/31323343/mach-dir-615-revd.c

is that correct for you?

Re: support for DLINK DIR-615 Hw:D1

I am getting HWaddr 00:11:22:33:44:55 for eth0 eth0.1 eth0.2

Apparently we need to extract the actual mac from the mtd partition. usually, eth0.1, and wlan0 will share mac and eth0.2 will be the mac + 1

164 (edited by omgwtfbbq 2012-03-28 12:12:41)

Re: support for DLINK DIR-615 Hw:D1

cheche wrote:

I have added your suggested LED GPIO in this file:
http://dl.dropbox.com/u/31323343/mach-dir-615-revd.c

is that correct for you?

Yep, these LED GPIOs are correct (maybe change the names a little bit to be more consistent among revisions).
Somebody should test button GPIOs though.

Re: support for DLINK DIR-615 Hw:D1

omgwtfbbq wrote:

Yep, these LED GPIOs are correct (maybe change the names a little bit to be more consistent among revisions).
Somebody should test button GPIOs though.

Just suggest new names and I will aded those. How can I test button GPIOs?

Re: support for DLINK DIR-615 Hw:D1

Hi guys, I have a problem here. My EDUP EP-N8512 with RTL8191SU chipset can't seem to connect on OpenWRT. I'm using omgwtfbbq build image, I did everything from regenerate wireless settings, reset the settings of the router and reupload the OpenWRT image. I've also check the system and kernel logs it doesn't have any errors on it, it just doesn't connect at all. The weird thing is it's working on my kindle fire, now that I'm running out of options I upload DD-WRT and it works but still I really wanted to use OpenWRT cause it's more flexible and I wanted to explore more of it. If you have any ideas please tell, I'll try to fix this myself for the meantime.

Here's my configuration files.
http://www.mediafire.com/?t9dahddytxkexas

Re: support for DLINK DIR-615 Hw:D1

Why are you running it in G-only mode?

Re: support for DLINK DIR-615 Hw:D1

gendouhydeist wrote:

still I really wanted to use OpenWRT cause it's more flexible and I wanted to explore more of it. If you have any ideas please tell, I'll try to fix this myself for the meantime.

could you try to build from trunk?

Re: support for DLINK DIR-615 Hw:D1

sorry for late reply I was on vacation.

@qasdfdsaq
I also tried 11ng mode but no avail I was using G just to make sure that my setting isn't at fault.

@cheche
Ok I try later, I was thinking it has something to do with wireless driver I'm right?

Re: support for DLINK DIR-615 Hw:D1

hi, my dir-615 d1 is bricked, i wonder if someone knows how to unbrick it.

the power led is always on, and the flash chips are so hot. unable to ping or have ip address.

thanks

Re: support for DLINK DIR-615 Hw:D1

@baojia

Have a look at
http://wiki.openwrt.org/toh/d-link/dir-615#firmware.recovery

Re: support for DLINK DIR-615 Hw:D1

@Harsesis

the method does not work for me
now the power and wan leds are always on, no ip address.

173 (edited by gendouhydeist 2012-04-12 03:42:35)

Re: support for DLINK DIR-615 Hw:D1

@baoja
you have to put static ip address obtaining address won't work
IP 192.168.0.2
255.255.255.0
GW 192.168.0.1

then on browser type the gateway address then upload your firmware

@cheche
I'm getting orange LED on WAN it's doesn't boot at all. Could you also share your .config for menuconfig on your trunk folder thanks!
Also how to apply your patch? mach-dir-615-revd.c, do I only need to overwrite the file?

Re: support for DLINK DIR-615 Hw:D1

omgwtfbbq wrote:

I declare the OpenWRT on DIR-615D3 fully functional:
http://www.mediafire.com/?p1aaytddqvdqxaa

I have read this topic for long time ago and I tried your firmware now.
It worked fine, but when I changed Tx Power to 5db, wireless didn't work. The distance router - laptop is about 2 meters, so the distance isn't the problem.
I reverted the original firmware, but also wireless didn't connect. Now I flashed dd-wrt mentioned few posts above. So it is possible my dir-615 d3 problem.
I have one question: How can I configure an PPPOE connection? I do not know how to search for that.
Thank you!

Re: support for DLINK DIR-615 Hw:D1

baojia wrote:

@Harsesis

the method does not work for me
now the power and wan leds are always on, no ip address.

@baojia

I have the same problem, did you solve your?