View previous topic :: View next topic |
Author |
Message |
jah
Joined: 08 Apr 2010 Posts: 8
|
Posted: Thu Apr 08, 2010 9:29 am Post subject: UPnP forwarding fails with Linksys AM300 |
|
|
Hello, I was using transmission (which uses miniupnp) with my new Linksys AM300 modem (firmware: 1.19.04). However it fails to open the port. I opened a bug for Transmission, however they closed it and told me to come here. Here is the message log output:
Code: |
2010-04-08 00:20:09 +1000 upnp.c:105 [Info] Port Forwarding (UPnP): Found Internet Gateway Device "http://192.168.1.1:80/upnp/control?WANIPConnection"
2010-04-08 00:20:09 +1000 upnp.c:107 [Info] Port Forwarding (UPnP): Local Address is "192.168.1.10"
2010-04-08 00:20:09 +1000 upnp.c:194 [Info] Port Forwarding (UPnP): Port forwarding through "http://192.168.1.1:80/upnp/control?WANIPConnection", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.1.10:51788)
2010-04-08 00:20:09 +1000 upnp.c:206 [Debug] Port Forwarding (UPnP): Port forwarding failed with error 401 (errno 0 - Unknown error: 0)
2010-04-08 00:20:09 +1000 upnp.c:209 [Debug] Port Forwarding (UPnP): If your router supports UPnP, please make sure UPnP is enabled!
2010-04-08 00:20:09 +1000 port-forwarding.c:87 [Info] Port Forwarding: State changed from "Not forwarded" to "Starting"
|
If there is anything I can do to help let me know! I would love to get this fixed ASAP so I can continue to use transmission properly! |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Thu Apr 08, 2010 12:46 pm Post subject: |
|
|
code 401 stands for "invalid action"...
could you test with the miniupnpc command line client ???
upnpc -s
upnpc -l
upnpc -r 12345 TCP _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
jah
Joined: 08 Apr 2010 Posts: 8
|
Posted: Thu Apr 08, 2010 12:55 pm Post subject: |
|
|
I'm afraid you're going to have to help me a little here...
Is there a mac version i can use? |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Thu Apr 08, 2010 5:30 pm Post subject: |
|
|
jah wrote: | I'm afraid you're going to have to help me a little here...
Is there a mac version i can use? |
Yep.
Download miniupnpc-1.4.whatever.tar.gz from the download page.
Then launch a terminal.
tar xzf miniupnpc-1.4.whatever.tar.gz
cd miniupnpc-1.4.whatever
make
./upnpc-static is the executable
You may need to install xcode in order to have make/gcc and all the compilation tools available. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
|
Back to top |
|
|
jah
Joined: 08 Apr 2010 Posts: 8
|
Posted: Tue Apr 13, 2010 1:06 pm Post subject: |
|
|
Ok i installed xcode and tried what you said with that download...
Code: |
Macintosh-10:miniupnpc-1.4.20100412 #######$ ./upnpc-static -s
upnpc : miniupnpc library test client. (c) 2006-2010 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.0.1:49152/xmldoc/InternetGatewayDevice.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1
desc: http://192.168.0.1:49152/xmldoc/InternetGatewayDevice.xml
st: uuid:23912A92-D8C4-AAB0-B982-001E5883B5C3
Found valid IGD : http://192.168.0.1:49152/upnpdev.cgi?service=WANIPConn1
Local LAN ip address : 192.168.0.104
Connection Type : IP_Routed
Status : Connected, uptime=651s, LastConnectionError : ERROR_NONE
Time started : Tue Apr 13 22:46:07 2010
MaxBitRateDown : 100000000 bps MaxBitRateUp 100000000 bps
ExternalIPAddress = ###.19.37.###
Bytes: Sent: 17585641 Recv: 187346433
Packets: Sent: 126493 Recv: 205414
|
Code: |
Macintosh-10:miniupnpc-1.4.20100412 #######$ ./upnpc-static -l
upnpc : miniupnpc library test client. (c) 2006-2010 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.0.1:49152/xmldoc/InternetGatewayDevice.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1
desc: http://192.168.0.1:49152/xmldoc/InternetGatewayDevice.xml
st: uuid:23912A92-D8C4-AAB0-B982-001E5883B5C3
Found valid IGD : http://192.168.0.1:49152/upnpdev.cgi?service=WANIPConn1
Local LAN ip address : 192.168.0.104
Connection Type : IP_Routed
Status : Connected, uptime=868s, LastConnectionError : ERROR_NONE
Time started : Tue Apr 13 22:46:07 2010
MaxBitRateDown : 100000000 bps MaxBitRateUp 100000000 bps
ExternalIPAddress = ###.19.37.###
GetGenericPortMappingEntry() returned 713 (SpecifiedArrayIndexInvalid)
|
Code: |
Macintosh-10:miniupnpc-1.4.20100412 ######$ ./upnpc-static -r 12345 TCP
upnpc : miniupnpc library test client. (c) 2006-2010 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.0.1:49152/xmldoc/InternetGatewayDevice.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1
desc: http://192.168.0.1:49152/xmldoc/InternetGatewayDevice.xml
st: uuid:23912A92-D8C4-AAB0-B982-001E5883B5C3
Found valid IGD : http://192.168.0.1:49152/upnpdev.cgi?service=WANIPConn1
Local LAN ip address : 192.168.0.104
ExternalIPAddress = ###.19.37.###
InternalIP:Port = 192.168.0.104:12345
external ###.19.37.###:12345 TCP is redirected to internal 192.168.0.104:12345
|
I don't really understand all this output that well so let me know if I need to do anything else! |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Tue Apr 13, 2010 1:11 pm Post subject: |
|
|
well all that output tell us that miniupnpc version 1.4.20100412 WORKS with your router !
I guess older version would not work. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
jah
Joined: 08 Apr 2010 Posts: 8
|
Posted: Tue Apr 13, 2010 1:32 pm Post subject: |
|
|
woohoo! thanks for your help
Now how do i get Transmission to use this version of miniupnp?? |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
|
Back to top |
|
|
jah
Joined: 08 Apr 2010 Posts: 8
|
Posted: Tue Apr 13, 2010 1:51 pm Post subject: |
|
|
I just found out they already added it to the nightly version! So I didn't even need to do all that testing! oh well |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Wed Apr 14, 2010 10:51 am Post subject: |
|
|
jah wrote: | I just found out they already added it to the nightly version! So I didn't even need to do all that testing! oh well |
You helped me to indentify and solve the problem ! _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
jah
Joined: 08 Apr 2010 Posts: 8
|
Posted: Tue Apr 27, 2010 11:40 am Post subject: |
|
|
I have an update. It is not working again Maybe I spoke too soon...
Code: |
Macintosh-10:miniupnpc-1.4.20100412 ######$ ./upnpc-static -s
upnpc : miniupnpc library test client. (c) 2006-2010 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:80/igd.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1
Found a (not connected?) IGD : http://192.168.1.1:80/upnp/control?WANPPPConnection
Trying to continue anyway
Local LAN ip address : 192.168.1.10
GetConnectionTypeInfo failed.
Status : , uptime=1s, LastConnectionError :
Time started : Tue Apr 27 21:36:08 2010
MaxBitRateDown : 0 bps MaxBitRateUp 0 bps
GetExternalIPAddress() returned 401
GetExternalIPAddress failed.
Bytes: Sent: 0 Recv: 0
Packets: Sent: 0 Recv: 0
|
Code: |
Macintosh-10:miniupnpc-1.4.20100412 #######$ ./upnpc-static -l
upnpc : miniupnpc library test client. (c) 2006-2010 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:80/igd.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1
Found a (not connected?) IGD : http://192.168.1.1:80/upnp/control?WANPPPConnection
Trying to continue anyway
Local LAN ip address : 192.168.1.10
GetConnectionTypeInfo failed.
Status : , uptime=1s, LastConnectionError :
Time started : Tue Apr 27 21:38:31 2010
MaxBitRateDown : 0 bps MaxBitRateUp 0 bps
GetExternalIPAddress() returned 401
GetExternalIPAddress failed.
GetGenericPortMappingEntry() returned 401 (Invalid Action)
|
Code: |
Macintosh-10:miniupnpc-1.4.20100412 ######$ ./upnpc-static -r 54000 TCP
upnpc : miniupnpc library test client. (c) 2006-2010 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:80/igd.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1
Found a (not connected?) IGD : http://192.168.1.1:80/upnp/control?WANPPPConnection
Trying to continue anyway
Local LAN ip address : 192.168.1.10
GetExternalIPAddress failed.
AddPortMapping(54000, 54000, 192.168.1.10) failed with code 401 (Invalid Action)
GetSpecificPortMappingEntry() failed with code 401 (Invalid Action)
|
|
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Tue Apr 27, 2010 6:02 pm Post subject: |
|
|
looks like your router is reporting to be NOT connected to the internet ! _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
jah
Joined: 08 Apr 2010 Posts: 8
|
Posted: Wed Apr 28, 2010 12:40 pm Post subject: |
|
|
that is weird, because I am definitely connected to the net (i am typing this message right now).
Can you help? |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Wed Apr 28, 2010 5:31 pm Post subject: |
|
|
jah wrote: | that is weird, because I am definitely connected to the net (i am typing this message right now).
Can you help? |
yep this is weird. because if the same version of miniupnpc works one day and not the day after, I cant do anything ! Try to understand what changed.
Maybe you need to reboot your router every 3 days or something. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|