miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cannot use client on some HUAWEI router :(

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Bugs
View previous topic :: View next topic  
Author Message
sorcerer



Joined: 27 May 2014
Posts: 3
Location: Bucharest

PostPosted: Sat Jun 07, 2014 10:54 am    Post subject: cannot use client on some HUAWEI router :( Reply with quote

Code:
upnpc -l
upnpc : miniupnpc library test client. (c) 2006-2011 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://192.168.1.1:37215/upnpdev.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found a (not connected?) IGD : http://192.168.1.1:37215/ctrlu/WANPPPConnection_1
Trying to continue anyway
Local LAN ip address : 192.168.1.247
Connection Type : IP_Routed
Status : PendingDisconnect, uptime=0s, LastConnectionError : ERROR UNKNOWN
  Time started : Sat Jun  7 13:49:22 2014
MaxBitRateDown : 24000000 bps (24.0 Mbps)   MaxBitRateUp 2000000 bps (2.0 Mbps)
GetExternalIPAddress() returned -1
GetExternalIPAddress failed.
GetGenericPortMappingEntry() returned 501 (Action Failed)

Code:
upnpc -s
upnpc : miniupnpc library test client. (c) 2006-2011 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://192.168.1.1:37215/upnpdev.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found a (not connected?) IGD : http://192.168.1.1:37215/ctrlu/WANPPPConnection_1
Trying to continue anyway
Local LAN ip address : 192.168.1.247
Connection Type : IP_Routed
Status : PendingDisconnect, uptime=0s, LastConnectionError : ERROR UNKNOWN
  Time started : Sat Jun  7 13:49:50 2014
MaxBitRateDown : 24000000 bps (24.0 Mbps)   MaxBitRateUp 2000000 bps (2.0 Mbps)
GetExternalIPAddress() returned -1
GetExternalIPAddress failed.
Bytes:   Sent:  2772068 Recv:  8796975
Packets: Sent:     9727 Recv:    11569


as far as I can see he is "seeing" the wrong external interface of the router ...
this is from router status in web admin, the interface with uptime and IP is the external one:

Code:
Connection Status      
Help
Connection Name    Status    Online Duration    Access Type
WAN1_INTERNET_B_ATM2_0_36   PendingDisconnect    00:00:00    DSL
WAN2_TR069_VOICE_R_ATM3_0_37   Connecting    00:00:00    DSL
WAN3_INTERNET_TR069_R_PTM4_0_1_0   Connected    00:05:08    VDSL
WAN4_INTERNET_B_PTM5_0_1_0   Connected    00:00:00    VDSL
WAN5_TR069_VOICE_R_PTM6_0_1_0   PendingDisconnect    00:00:00    VDSL
WAN6_INTERNET_TR069_R_ATM1_0_35   PendingDisconnect    00:00:00    DSL

Code:
IP Information      
Help
Connection Name    IP Address    Subnet Mask    Default Gateway
WAN1_INTERNET_B_ATM2_0_36   0.0.0.0    0.0.0.0    0.0.0.0
WAN2_TR069_VOICE_R_ATM3_0_37   0.0.0.0    0.0.0.0    0.0.0.0
WAN3_INTERNET_TR069_R_PTM4_0_1_0   92.86.115.55    255.255.255.128    92.86.115.1
WAN4_INTERNET_B_PTM5_0_1_0   0.0.0.0    0.0.0.0    0.0.0.0
WAN5_TR069_VOICE_R_PTM6_0_1_0   0.0.0.0    0.0.0.0    0.0.0.0
WAN6_INTERNET_TR069_R_ATM1_0_35   0.0.0.0    0.0.0.0    0.0.0.0


my upnpclient was:

Code:
aptitude show miniupnpc
Package: miniupnpc                       
State: installed
Automatically installed: no
Version: 1.6-3ubuntu2
Priority: optional
Section: universe/net
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Uncompressed Size: 65.5 k
Depends: libc6 (>= 2.4), libminiupnpc8 (>= 1.6)
Suggests: minissdpd
Description: UPnP IGD client lightweight library client
 The UPnP protocol is supported by most home adsl/cable routers and Microsoft Windows 2K/XP. The aim of the MiniUPnP project is to bring a free software solution to support the
 "Internet Gateway Device" part of the protocol. The MediaServer/MediaRenderer UPnP protocol is also becoming very popular.
 
 Miniupnpc aims at the simplest library possible, with the smallest footprint and no dependencies to other libraries such as XML parsers or HTTP implementations. All the code is
 pure ANSI C. Compiled on a x86 PC, the miniupnp client library have less than 15KB code size. For instance, the upnpc sample program is around 20KB. The miniupnp daemon is much
 smaller than any other IGD daemon and is ideal for using on low memory device for this reason.
 
 This package is an example client for the library.
Homepage: http://miniupnp.free.fr/


but then I remove it and manually installed the one from the site version 1.9, but got the exact same error Sad

also I tried a program that have nothing to do with miniupnp ... deluge (is a torrent downloading program), it also cannot open upnp ports Sad

yes, i kinda bet that the problem is in router (Huawei HG655b) Sad, and in router's uPnP settings there is only enable/disable, so ...
any idea what to do ? ... please Smile
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1469

PostPosted: Tue Jun 10, 2014 8:33 pm    Post subject: Reply with quote

It looks like there is a bug in your router.
Contact the manufacturer for support. Or change your router !
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
lightvik



Joined: 20 Jan 2015
Posts: 3

PostPosted: Tue Jan 20, 2015 5:27 pm    Post subject: Reply with quote

message from new post (need, im sorry)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.