Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Networking (https://www.cableforum.uk/board/forumdisplay.php?f=87)
-   -   DD-WRT version with D-link 615 (https://www.cableforum.uk/board/showthread.php?t=33686040)

funkyCable 03-03-2012 23:03

DD-WRT version with D-link 615
 
What version of dd-wrt are you currently running on your dlink? I wondered if I can/should upgrade my version. There seems to be a bug with mine were I cannot access my web server (on my LAN) using its internal IP but I can when I use my external IP or domain name. Its something to do with loopback.

---------- Post added at 22:03 ---------- Previous post was at 20:44 ----------

I'm currently using

DD-WRT v24-sp2 (11/21/10) std
(SVN revision 15778)

qasdfdsaq 03-03-2012 23:03

Re: DD-WRT version with D-link 615
 
Don't upgrade to the latest as it will brick your router after the first reboot.

Well, almost. The LAN ports all stop working.

funkyCable 03-03-2012 23:17

Re: DD-WRT version with D-link 615
 
Anyone manage to work around the internal ip bug?

thenry 03-03-2012 23:27

Re: DD-WRT version with D-link 615
 
what revision you got?

read this too > www.cableforum.co.uk/board/35352154-post261.html

qasdfdsaq 03-03-2012 23:45

Re: DD-WRT version with D-link 615
 
Wish I'd read that before bricking my router on the roof... Bit late now, have to wait till the next time somebody gets roofing repairs done for the scaffolders!

thenry 03-03-2012 23:49

Re: DD-WRT version with D-link 615
 
i'm surprised you havent got your own made firmware running qas

qasdfdsaq 04-03-2012 00:07

Re: DD-WRT version with D-link 615
 
I do. I thought DD-WRT was just more stable than my own personal hack of OpenWRT I was working on at the time. Fat load of good that did....

thenry 04-03-2012 00:15

Re: DD-WRT version with D-link 615
 
I see. Did you unbrick via wifi?

why don't they remove the firmwares/builds from the database available to download? seems pointless plus when the fixes due.. I would have thought theyd have it sorted by now seeing as how quick those builds got released one after another.

qasdfdsaq 04-03-2012 00:39

Re: DD-WRT version with D-link 615
 
No, I turned wifi off just before the upgrade to try and save power to ensure the upgrade worked properly. Also ironic. (The cable to the roof is a bit corroded and I'm still waiting on new plugs to arrive from Hong Kong, so the current ad-hoc tape holding it together means the router tends to reset under load as there's too much resistance in the cable)

---------- Post added at 23:39 ---------- Previous post was at 23:36 ----------

Anyway, back on topc, 17201 is what's currently running on my "production" router and there's nothing obviously wrong with it, though dd-wrt as a whole has been stagnating for a while now. I haven't tried anything between 18024 and 17201. No idea what the "loopback" bug it is you're talking about so can't say there. Sounds more like your network setup is wrong than a firmware bug, accessing a local IP from another local IP shouldn't be going through the router to begin with.

thenry 07-03-2012 14:22

Re: DD-WRT version with D-link 615
 
your probably better off with the older builds. the newer ones suck, even the 17990 i thought was stable

qasdfdsaq 07-03-2012 14:50

Re: DD-WRT version with D-link 615
 
Yes, that looks to be the case. My main "service" routers have been unstable since upgrading to 18024 - having previously hit over 90 days uptime between power cuts (I really need to sort out that damn UPS already) it now loses wireless every 2-3 days.

I honestly think OpenWRT and FOSS wireless drivers have reached a stage where they're stable, reliable, and easy enough to use for the mass market now. That, and being completely FOSS means any and every problem can be fixed by yourself without needing anyone else, if you have the knowledge.

dd-wrt is really declining in relevance these days. Some manufacturers are shipping routers with factory firmware based on OpenWRT now.

thenry 07-03-2012 15:14

Re: DD-WRT version with D-link 615
 
how did you load openwrt on a 615 d4

qasdfdsaq 07-03-2012 17:45

Re: DD-WRT version with D-link 615
 
Use any of the builds in this thread https://forum.openwrt.org/viewtopic....157145#p157145

(Or build it yourself)

thenry 07-03-2012 17:51

Re: DD-WRT version with D-link 615
 
qas thanks but that looks shot too. think I'll try VM's version of firmware on my 615 instead. have you tried it?

ftp://ftp.dlink.co.uk/Virgin_Media/Firmware/

qasdfdsaq 07-03-2012 18:19

Re: DD-WRT version with D-link 615
 
No, first thing I do before even booting up these routers properly is to put them into firmware upload mode. Works fine on mine (although the most stable build is usually omgwtfbbq's rather than my own, my own code is usually way too experimental)

thenry 07-03-2012 18:36

Re: DD-WRT version with D-link 615
 
:no: looks as though your having probs with openwrt too.. not comforting reading

qasdfdsaq 07-03-2012 20:24

Re: DD-WRT version with D-link 615
 
Only on D2's, the switch driver got broke a year or two ago and I never bothered fixing it.

thenry 07-03-2012 20:48

Re: DD-WRT version with D-link 615
 
ok. is loading it the same as ddwrt.. emergency > factory > sysupgrade ?

qasdfdsaq 07-03-2012 21:16

Re: DD-WRT version with D-link 615
 
Yes

Wild Oscar 31-03-2012 17:08

Re: DD-WRT version with D-link 615
 
Still using an older build here , happy with it so far!

DD-WRT v24-sp2 (08/12/10) std - build 14929

funkyCable 26-04-2012 08:45

Re: DD-WRT version with D-link 615
 
Quote:

Originally Posted by qasdfdsaq (Post 35392384)

---------- Post added at 23:39 ---------- Previous post was at 23:36 ----------

Anyway, back on topc, 17201 is what's currently running on my "production" router and there's nothing obviously wrong with it, though dd-wrt as a whole has been stagnating for a while now. I haven't tried anything between 18024 and 17201. No idea what the "loopback" bug it is you're talking about so can't say there. Sounds more like your network setup is wrong than a firmware bug, accessing a local IP from another local IP shouldn't be going through the router to begin with.

Sorry for the delay in replaying. I've been really busy with studies and having a break between courses.

This is the issue I'm experiencing my webserver (192.168.1.111) can only be accessed on my network when I use the ip address if I try my domain name ie www.myhome.co.uk I get page cannot be displayed. However, if I try and connect from outside my network eg. from work and I use my domain name www.myhome.co.uk the webpages are displayed.

Any idea how I can get this sorted? It was working before I swopped out my old router for the Dlink615. The only changes I've done on the network is change the ip ranges before they were using 192.168.123.* now they are using 192.168.1.* but I cant see that being the problem seeing as I can access my website from another network.

qasdfdsaq 26-04-2012 15:59

Re: DD-WRT version with D-link 615
 
I think I understand now. NAT loopback was a term I wasn't familiar with until recently but it looks like a lot of people are referring to it as that...

I'm not running dd-wrt on most of my routers anymore, after just about every build for the last year turned out bugged unstable or just outright broken. However I believe what you're seeing is "normal" behaviour for dd-wrt possibly as a result of its firewall or other default configuration. It can be worked around either using custom iptables or dns, or perhaps fiddling with the routing. Easiest option would be to set a manual DNS entry on the router pointing www.myhome.co.uk at 192.168.1.111 instead of its external IP.

funkyCable 26-04-2012 21:51

Re: DD-WRT version with D-link 615
 
How do I add a manual DNS entry on the router?

thenry 26-04-2012 21:57

Re: DD-WRT version with D-link 615
 
not my work, taken from ddwrt

Quote:

1. On the Setup tab under Network Address Server Settings (DHCP) look for Static DNS 1 and Static DNS 2
2. Set Static DNS 1 to your choice and set Static DNS 2 to your choice
3. Apply Settings and go to the Services tab
4. Under DNSMasq put strict-order in the Additional DNSMasq Options text box
5. Apply Settings again

funkyCable 26-04-2012 22:07

Re: DD-WRT version with D-link 615
 
Thanks thenry, I 'm a bit stuck on point 4. I'm not sure what to type in the options box. Would you mind posting the link?

---------- Post added at 21:07 ---------- Previous post was at 21:04 ----------

2. I've set this to my webserver 192.168.1.111

thenry 26-04-2012 22:15

Re: DD-WRT version with D-link 615
 
dont bother with 4 & 5. it might hamper running off the best server.. i think.

funkyCable 26-04-2012 22:23

Re: DD-WRT version with D-link 615
 
Ok done 1 and 2+3. I'm not sure how its suppose to know www.myhome.co.uk shoudl go to 192.168.1.111 because all I did was set DNS1 to 192.168.1.111.

I rebooted machien and its still not working

thenry 26-04-2012 22:26

Re: DD-WRT version with D-link 615
 
i didnt read your above post sorry. i thought you was on about opendns etc.

you sure its not IP conflict?

qasdfdsaq 27-04-2012 06:12

Re: DD-WRT version with D-link 615
 
Quote:

Originally Posted by funkyCable (Post 35419690)
Ok done 1 and 2+3. I'm not sure how its suppose to know www.myhome.co.uk shoudl go to 192.168.1.111 because all I did was set DNS1 to 192.168.1.111.

I rebooted machien and its still not working

Don't do that, that's wrong.

Set static DNS 1 to the IP address of the router. Make sure Use DNSMasq for DNS is ticked.

On the services page, under Additional DNSMasq Options enter:

address=/www.myhome.co.uk/192.168.1.111

funkyCable 28-04-2012 11:00

Re: DD-WRT version with D-link 615
 
Quote:

Originally Posted by qasdfdsaq (Post 35419780)
Don't do that, that's wrong.

Set static DNS 1 to the IP address of the router. Make sure Use DNSMasq for DNS is ticked.

On the services page, under Additional DNSMasq Options enter:

address=/www.myhome.co.uk/192.168.1.111


I tried that and I'm still getting page cannot be displayed.

---------- Post added at 10:00 ---------- Previous post was at 09:58 ----------

Whats really strange is my understanding when I'm on my local netowrk and use http://www.myhome.co.uk my request leaves my router and goes out onto the world wide web which then redirects back to my router and to my web server. Why would it not work then but does work if its another external connection/machine it works.

qasdfdsaq 28-04-2012 15:12

Re: DD-WRT version with D-link 615
 
When you use www.myhome.co.uk, your request does not go out onto the world wide web. It just goes to your router, and stops, as your router does not have a rule set up to forward that kind of traffic.

Can you try ping www.myhome.co.uk from a lan device to see if the DNS has been set up properly? If so, it should definitely work, so most likely a problem with the alias setup. To be honest if you have just one machine, it's even easier to just override it on the local machine but doing it on the router fixes it for all local clients.

funkyCable 28-04-2012 20:05

Re: DD-WRT version with D-link 615
 
Well what do you know. I managed to ping it using the LAN ip and www.myhome.co.uk and it replied. So I tried accessed the website and worked.

Not sure why it didn't work before and I didn't change a thing after I sent my last post.

Thank you very much for your help. I really appreciate it.


All times are GMT +1. The time now is 06:32.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum