dlink ip

Asks questions about settings, bugs...

Moderators: willynt, DiskDrive, fifinou

shlepadoodle

dlink ip

Postby shlepadoodle » Wed Apr 06, 2005 3:49 am

Has anyone been able to get ip detection working on a dlink 604 router using v4.0.3? I have tried with and without password. I can manually login to the router and display the ip address. Any suggestions?

willynt
Site Admin
Posts: 242
Joined: Thu Mar 10, 2005 6:32 am

Postby willynt » Wed Apr 06, 2005 11:53 am

Hello,

The DLink certainly use a "non regular "authentication method...
Did you try the SNMP plug-in ?

Hope it helps
William

netdoodle
Posts: 10
Joined: Tue Apr 26, 2005 1:54 am

Postby netdoodle » Sun May 01, 2005 10:09 pm

Yes tried snmp plugin. result - Fatal application exit, unhandled exception exp code: 0xC0000005, expaddress: 0x1020d348

willynt
Site Admin
Posts: 242
Joined: Thu Mar 10, 2005 6:32 am

Postby willynt » Mon May 02, 2005 8:10 am

If the crash occured with the 4.0.4, try upgrading to the "pre 4.0.5" available here:
http://www.directupdate.net/download/be ... tup405.exe

A crash has been fixed in the snmp plug-in 4.0.4.

Regards
William

netdoodle
Posts: 10
Joined: Tue Apr 26, 2005 1:54 am

Postby netdoodle » Sun May 08, 2005 12:55 am

Tried pre 4.0.5. Comes up with same error code and disconnects the engine doesn't crash but minimizes to tray

willynt
Site Admin
Posts: 242
Joined: Thu Mar 10, 2005 6:32 am

Postby willynt » Mon May 09, 2005 2:54 pm

Hello,

What is crashing ? the admin or the engine ?
Could you send me 'DUEngine.exe.exp.log" ? (if it's the engine that is crashing) ?

Thx
William

netdoodle
Posts: 10
Joined: Tue Apr 26, 2005 1:54 am

Postby netdoodle » Mon May 09, 2005 4:01 pm

log has been sent

willynt
Site Admin
Posts: 242
Joined: Thu Mar 10, 2005 6:32 am

Postby willynt » Mon May 09, 2005 4:08 pm

K, I received the log.
The crash is in the engine, apparently still in the snmp plug-in :(
A new 4.0.5 (engine build 93) is available here:
http://www.directupdate.net/download/be ... 405.93.exe


Thx to keep me informed
William

netdoodle
Posts: 10
Joined: Tue Apr 26, 2005 1:54 am

Postby netdoodle » Tue May 10, 2005 7:40 pm

Thx for the new build. It appears to be stable now when I test the snmp plugin. The ip detection fails though. I guess I'm out of luck on the dl604 router ip detection method. I can see the ip address on the html status page when I login manually to the dl604. Is there a way to strip this info from that page?

willynt
Site Admin
Posts: 242
Joined: Thu Mar 10, 2005 6:32 am

Postby willynt » Wed May 11, 2005 8:27 am

Sure,

You can use the exact URL to the page containing the WAN ip.
DirectUpdate will extract the IP by itself !

The only problem could come from the authentification method (that may not be standard)...

In the "IP detection screen", use the 1st entry in option "4".
Use the excat URL, like "http://myRouterIP/status.html"
or whatever (if the page is embeded inside an html frame, be sure to use the URL of the inside page, not the frame). You can use the "authentification" fields in the right part)

Hope it helps
Regards
William

netdoodle
Posts: 10
Joined: Tue Apr 26, 2005 1:54 am

Postby netdoodle » Wed May 11, 2005 8:29 pm

I think I have narrowed down the problem. I was able to manually enter the address http://admin:******@192.168.0.1/st_devic.html with username and password of the router status page in a browser that was on a different computer (win98) on the LAN and it accessed and displayed with no problem. I then tried it on the webserver (winxp) where directupdate is located using IE. It sits there with a blank screen. I am able to enter the router from that computer with http://192.168.0.1 and get the login screen. Not sure what is blocking authentication from that computer. I think once that is solved then there should be no problem with access from directupdate. Any ideas?

willynt
Site Admin
Posts: 242
Joined: Thu Mar 10, 2005 6:32 am

Postby willynt » Wed May 11, 2005 8:55 pm

So, try using the URL "http://192.168.0.1/st_devic.html" and check "require authentication" and fill in the login/password.

The html data read from the router are stored locally in "Dump\ipDetection-192.168.0.1.html"
Maybe having a look at this file could help...

CU
William

netdoodle
Posts: 10
Joined: Tue Apr 26, 2005 1:54 am

Postby netdoodle » Thu May 12, 2005 5:56 pm

So, try using the URL "http://192.168.0.1/st_devic.html" and check "require authentication" and fill in the login/password.

Yes I have tried that and I have duplicated that problem with IE browser on the WinXP server (page not displayed). Tried IE on another WinXP machine , same problem. Tried Opera browser on a WinXP machine and it worked fine. There is something that Directupdate and IE are doing on a WinXP machine that does not allow access using the format http://uid:password@192.168.0.1/.

DeepThought

Postby DeepThought » Fri May 20, 2005 12:13 pm

If you are using the new firmware on the 604 which should be the same as what I am using, the direct webpage should be:

http://<modem_IP>/doKeeping.html

Of course replace <modem_IP> with the IP address of your modem/router.

This "Should" be the same for the 604 but you may need to play arround a bit to find what is the right page.

Hope this helps.

netdoodle
Posts: 10
Joined: Tue Apr 26, 2005 1:54 am

Postby netdoodle » Fri May 20, 2005 4:01 pm

DeepThought wrote:If you are using the new firmware on the 604 which should be the same as what I am using, the direct webpage should be:

http://<modem_IP>/doKeeping.html

Of course replace <modem_IP> with the IP address of your modem/router.

This "Should" be the same for the 604 but you may need to play arround a bit to find what is the right page.

Hope this helps.


I have the latest firmware v2.20 and cannot find doKeeping.html page. The only page that gives me status is st_devic.html.

The issue isn't whether there is a status page. It is that the win xp computer cannot read the status of the dl-604 but another win98 computer can.

netdoodle
Posts: 10
Joined: Tue Apr 26, 2005 1:54 am

Postby netdoodle » Sat May 21, 2005 4:46 pm

Update on this problem - I installed FireFox and set it as my default browser on the winxp computer with the problem. I am able to now manually enter http://admin:********@192.168.0.1/st_devic.html and it goes to the status page. It appears now that directupdate is able to access the status page. Will have to do more testing to verify this.

Does directupdate rely on the default browser to communicate with the router? If so I think that is not a good way of doing this. Am puzzled as to what the underlying problem is.

willynt
Site Admin
Posts: 242
Joined: Thu Mar 10, 2005 6:32 am

Postby willynt » Mon May 23, 2005 8:11 am

Hi,

Just to clarify one point.
IE does NOT accept anymore login/password embeded in the URL (format http://xxx:yyy@server:port/path) for security reason, but other browsers do.

In DirectUpdate, the "Test" button send the URL (with login/password embeded) to the default browser. SO it fails with IE but it works with firefox.
BUT, internally, DirectUpdate does NOT use IE nor the default browser. It deals himself with http request (openning port 80 on TCP connexion...)
So, it should work internally in DirectUpdate too !

Hope it helps
William

tradergordo

Postby tradergordo » Mon Jan 02, 2006 7:28 pm

I've been struggling with getting this working myself, same router (di-604). I tried doing the snmp thing, but could not get that working either (I don't really understand how that is supposed to be configured).

I tried using the local router status page link both with and without authentication setting on DirectUpdate (thinking the internal access might work even though the test didn't), but the log shows:
[ERR]- 02/Jan/2006 13:21:32 - Default IP detection - Error 0x81850191:Access denied. Invalid login/password.

http://admin:password:192.168.0.1/st_devic.html
doesn't work

Anyone get SNMP working with DI-604? If so, please share the details...

DiskDrive
Posts: 65
Joined: Wed Nov 23, 2005 1:31 am
Location: U.S.A.

Re: Detection from D-Link Routers

Postby DiskDrive » Mon Jan 02, 2006 9:07 pm

tradergordo wrote:I've been struggling with getting this working myself, same router (di-604).

I have an OLD D-Link router. If yours works anything like mine, the style of "log on" used with some other routers (a Windows/IE-integrated login) won't work with the D-Link. It appears that they use they're own method of authenticating. Mine brings up a web page where I have to type in my password and click on the "Log in" button, as opposed to the authentication pop-up normally used in IE.

tradergordo wrote:http://admin:password:192.168.0.1/st_devic.html doesn't work

If it was supported, this would actually require an at-sign (@) between the password and the IP address, not a colon (:) as shown.


Return to “Questions, bugs,...”

Who is online

Users browsing this forum: No registered users and 3 guests