Page 1 of 1

Azureus, Netgear, and UPnP

Posted: Tue Aug 09, 2005 12:42 pm
by DCrazy
My Linksys BEFSR41(v2) gave up the ghost over the weekend -- it got hit with a power surge. So, I took advantage of a sale and picked up a Netgear WGR614(v6), the base line Wireless G router and simply disabled wireless access. The router itself works great, but unfortunately Azureus can't seem to use UPnP to forward the ports it needs. I installed the UPnP interface in Windows Setup and made sure that the proper exception was active in Windows Firewall, but to no avail. Upon startup, Azureus complains that UPnP forwarding failed. I'd rather not statically forward the ports, since the wiring in this house is being pushed to the max and the circuit breaker trips about once a week. When that happens, all the machines get new IP addresses, and I have to go into the router setup to reconfigure each statically forwarded port.

Anyone have success in getting UPnP to work on their Netgear router?

Posted: Tue Aug 09, 2005 12:50 pm
by CDN_Merlin
Assign your PC a static IP. I do this at home as I host many multiplayer games using a router. This works fine.

Posted: Tue Aug 09, 2005 12:51 pm
by DCrazy
If I assign it a static IP I also have to copy the DNS server info to the PC. I don't want to bother with that.

Besides, my concern extends beyond just Azureus. I want to know why UPnP forwarding isn't working. The icon for the router shows up fine in My Network Places, so why can't Azureus access it?

[edit]
By the way, here's the log from Azureus. It's apparently able to see the UPnP router, but not invoke any actions upon it.

UPnP: root discovered = http://192.168.1.1:80/Public_UPNP_gatedesc.xml, local = /192.168.1.2
Mapping request: Distributed DB (UDP/6881), enabled = true
Downloading: http://192.168.1.1:80/Public_UPNP_gatedesc.xml
Relative URL base is http://192.168.1.1:80/
Residential Gateway
http://192.168.1.1:80/Public_UPNP_Layer3F.xml, http://192.168.1.1:80/Public_UPNP_C1
WAN Device
http://192.168.1.1:80/Public_UPNP_WAND.xml, http://192.168.1.1:80/Public_UPNP_C2
WAN Connection Device *
http://192.168.1.1:80/Public_UPNP_WANIPConn.xml, http://192.168.1.1:80/Public_UPNP_C3
Found WANConnectionDevice
Found WANIPConnection
Downloading: http://192.168.1.1:80/Public_UPNP_WANIPConn.xml
com.aelitis.net.upnp.UPnPException: Invoke of 'urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping' fails: http://192.168.1.1:80/Public_UPNP_C3
UPnP: Mapping 'UDP tracker client port (UDP/6881)' failed
com.aelitis.net.upnp.UPnPException: Invoke of 'urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping' fails: http://192.168.1.1:80/Public_UPNP_C3
UPnP: Mapping 'Incoming Peer Data Port (TCP/6881)' failed

[/edit]

Posted: Tue Aug 09, 2005 12:53 pm
by Instig8
ever considder setting up your commuter with a static ip? you can use an ip outside of the dhcp range.

Posted: Tue Aug 09, 2005 3:49 pm
by Krom
Another vote for static IP.

Posted: Tue Aug 09, 2005 3:50 pm
by Jeff250
Yeah, inputting the DNS servers isn't the end of the world. I had mine memorized at one point.

Posted: Tue Aug 09, 2005 7:07 pm
by Krom
You don't even have to input the DNS if you don't want to, just input the routers IP as the DNS server.

Posted: Tue Aug 09, 2005 8:50 pm
by roid
thanks for this thread. it's poked me into looking into howto install UPNP on my win2k system (it doesn't come standard on win2k).
maybe if i install msn messenger it'll also install UPNP.
i'm sick of manually forwarding ports.

Posted: Tue Aug 09, 2005 9:49 pm
by DCrazy
Roid: go into Add/Remove Windows Components, and it should be under Networking.

Also, this would come in handy in the future, since I will be using a wireless router for a laptop, and obviously if I'm playing Road Warrior, I'm going to need to use DHCP (and UPnP control over someone else's router would be nice :P).

Posted: Tue Aug 09, 2005 10:06 pm
by roid
win2k doesn't have it there DC. under Networking Services it only has:

- RIP listener
- Simple TCP/IP services


and i've installed MSN messenger and according to this program UPNP still isn't installed. i'm not having much luck on google either :-/
it may well be impossible to isntall UPNP onto win2k.

Posted: Tue Aug 09, 2005 10:43 pm
by Krom
Just incase you were confused by the engrish of the linksys manuals that say DHCP needs to be disabled to use port forwarding, it's completely WRONG!

I have my router set to DHCP 25 IPs starting at 192.168.1.50, I have all my PCs on static IPs, my main one is 192.168.1.100, my server is 192.168.1.200, etc.

As long as the ports you pick don't conflict with the DHCP port range you can use static systems and dynamic systems side by side at the same time and still use port forwarding.

Posted: Tue Aug 09, 2005 10:55 pm
by DCrazy
That's not what I'm referring to. I know very well I can do that, but I consider disabling DHCP in order to use UPnP an ass-backwards way around the problem. I'd rather address the problem at its face (UPnP is not working on my router) than simply avoid the issue by not using either DHCP or UPnP, for the reasons I have previously described but I will again enumerate:

1. Why bother configuring things statically when they can be done dynamically?
2. Why manually configure DNS and everything else on my machine when the router can do it for me?
3. Why force me to reconfigure my laptop whenever I bring it back into my house, rather than use UPnP all the time, and therefore have one less thing to worry about?

Besides, I really want to know why it's not working. I want to know if it's user error, a flaw in the Netgear router, or a flaw in the way Azureus is written. If anyone knows of a program I can use to test UPnP, please let me know. I can always use a different torrent program, but I can't just switch routers. I'm not made of money.

Posted: Tue Aug 09, 2005 11:13 pm
by fliptw
I've have misgivings about netgear, Dlink is fine however.

Does turning off the rather useless Windows Firewall(not bitching about outgoing apps is stupid and unsafe) help any?

Posted: Wed Aug 10, 2005 9:34 am
by KompresZor
firmware?

Posted: Wed Aug 10, 2005 12:15 pm
by Top Wop
There's an unreleased beta (yet very functional) firmware that fixes these problems, ill post you the link later tonight or PM/E-mail me and ill send it to you.

Posted: Wed Aug 10, 2005 12:38 pm
by Krom
Netgear makes excellent switches, but I never liked their routers that much. Linksys makes excellent routers, but I hate their switches. :P

Posted: Wed Aug 10, 2005 7:25 pm
by BUBBALOU
Why did you not just pick up a Linksys WRT54G????

Basically the same as the Netgear.. without NAT/UPnP issues

Posted: Wed Aug 10, 2005 9:46 pm
by DCrazy
Because I work at Staples, the router was on sale for $29.99, I have a 12% discount, and I already got one for free so I knew that it wasn't a piece of ★■◆●.

If that weren't the case I wouldn't have gotten a wireless router at all. I would have gotten another BEFSR41.

Posted: Thu Aug 11, 2005 12:02 pm
by Top Wop
DOH I just realized that our models are slightly different.

Try e-mailing Netgear about your problem, they may give you a firmware update which hasnt been released yet as they did with mine. They tend to have helpful tech support.

Posted: Mon Aug 15, 2005 5:03 pm
by SkyNet
DCrazy, this seems to be a known problem with many hardware wireless routers. They simply do not work.

I've had two D-Link DI-624 routers now. The first one UPnP worked fine, but it would drop the wireless connection at random times quite frequently. The second seems to do okay, and to my knowledge hasn't dropped the connection. However it's UPnP doesn't work. So I gain one thing, and lose another.

I'm now in the market to get another router that isn't D-Link since they can't seem to get it right. If you do research on the internet. You will however see that there are many people from all the manufactures having problems of these types with their routers. So it's anyones guess...

Most people that I've talked with use Linksys, and haven't had problems, so that's going to be my next try.