D-Link DSL-2640B Router doesn't work with upnp-router-control
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UPnP Router Control |
Fix Released
|
Medium
|
Unassigned |
Bug Description
My D-Link DSL-2640B Router doesn't work with the development branch of upnp-router-
holden@
* Initializing GUI...
* Showing GUI...
* Starting UPnP Resource discovery... done
==> Device Available: D-Link DSL-2640B
Model description: Broadcom single-chip ADSL router
Model name: BRCM963xx
Model number: 1.0
Presentation URL: http://
Unique Device Name: uuid:0000e0b8-
Enum services...
Service: urn:upnp-
Type: urn:schemas-
> GetDefaultConne
> SetDefaultConne
** Getting DefaultConnecti
[WW] GetDefaultConne
Enum sub-devices...
Sub-Device: urn:schemas-
Enum services...
Service: urn:upnp-
Type: urn:schemas-
Request for WAN link properties... successful
WAN link properties: access_type=DSL, link_status=Up, max_up=288000, max_down=2272000
Enum sub-devices...
Enum services...
GetTotalBytesRe
GetTotalBytesSent() duration: 1,034454s
GetTotalBytesRe
GetTotalBytesSent() duration: 1,036375s
GetTotalBytesRe
GetTotalBytesSent() duration: 1,036604s
GetTotalBytesRe
GetTotalBytesSent() duration: 1,034188s
GetTotalBytesRe
GetTotalBytesSent() duration: 1,035509s
* Destroying GUI...
It cannot read the WAN Status, external IP and opened ports.
Looking at the code, this problem seems to be related to the fact that my router doesn't have a
"urn:schemas-
"urn:schemas-
Here's a console log after patching the program:
holden@
* Initializing GUI...
* Showing GUI...
* Starting UPnP Resource discovery... done
==> Device Available: D-Link DSL-2640B
Model description: Broadcom single-chip ADSL router
Model name: BRCM963xx
Model number: 1.0
Presentation URL: http://
Unique Device Name: uuid:0000e0b8-
Enum services...
Service: urn:upnp-
Type: urn:schemas-
> GetDefaultConne
> SetDefaultConne
** Getting DefaultConnecti
[WW] GetDefaultConne
Enum sub-devices...
Sub-Device: urn:schemas-
Enum services...
Service: urn:upnp-
Type: urn:schemas-
Request for WAN link properties... successful
WAN link properties: access_type=DSL, link_status=Up, max_up=288000, max_down=2272000
Enum sub-devices...
Enum services...
** Subscribed to WANPPPConn1 events
Request for external IP address... successful [xx.xx.xx.xx]
Request for connection status info... successful
Connection info: Status: Connected, Uptime: 180861 sec.
Last connection error:
Request for NAT and RSIP availability... successful [RSIP=yes, NAT=yes]
GetTotalBytesRe
GetTotalBytesSent() duration: 1,034875s
GetTotalBytesRe
GetTotalBytesSent() duration: 1,037157s
GetTotalBytesRe
GetTotalBytesSent() duration: 1,037277s
GetTotalBytesRe
GetTotalBytesSent() duration: 1,038706s
==> Getting mapped ports list...
* Transmission at 51413 [enabled]
ExtPort: 51413 TCP, IntPort: 51413, IntIP: 192.168.1.5, RemoteIP:
GetTotalBytesRe
GetTotalBytesSent() duration: 1,034382s
Request for connection status info... successful
Connection info: Status: Connected, Uptime: 180867 sec.
Last connection error:
GetTotalBytesRe
GetTotalBytesSent() duration: 1,046706s
Request for external IP address... successful [xx.xx.xx.xx]
GetTotalBytesRe
GetTotalBytesSent() duration: 1,047376s
GetTotalBytesRe
GetTotalBytesSent() duration: 1,038303s
* Destroying GUI...
Changed in upnp-router-control: | |
status: | Confirmed → Fix Committed |
Changed in upnp-router-control: | |
status: | Fix Committed → Fix Released |
milestone: | none → 0.3.2 |
Hi, thanks for this bug report. Can you try my patch? Is very similar to yours but I do a further check.