Azureus, Netgear, and UPnP

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Azureus, Netgear, and UPnP

Post 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?
User avatar
CDN_Merlin
DBB_Master
DBB_Master
Posts: 9780
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Post 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.
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post 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]
User avatar
Instig8
DBB Ace
DBB Ace
Posts: 347
Joined: Wed Jun 20, 2001 2:01 am
Location: Orange County, CA, USA
Contact:

Post by Instig8 »

ever considder setting up your commuter with a static ip? you can use an ip outside of the dhcp range.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16135
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Another vote for static IP.
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6538
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Post by Jeff250 »

Yeah, inputting the DNS servers isn't the end of the world. I had mine memorized at one point.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16135
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post 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.
User avatar
roid
DBB Master
DBB Master
Posts: 9996
Joined: Sun Dec 09, 2001 3:01 am
Location: Brisbane, Australia
Contact:

Post 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.
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post 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).
User avatar
roid
DBB Master
DBB Master
Posts: 9996
Joined: Sun Dec 09, 2001 3:01 am
Location: Brisbane, Australia
Contact:

Post 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.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16135
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post 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.
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post 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.
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post 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?
User avatar
KompresZor
DBB Captain
DBB Captain
Posts: 919
Joined: Wed Jul 31, 2002 2:01 am
Location: Clearfield, Pennslyvania

Post by KompresZor »

firmware?
User avatar
Top Wop
DBB Master
DBB Master
Posts: 5104
Joined: Wed Mar 01, 2000 3:01 am
Location: Far from you.
Contact:

Post 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.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16135
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Netgear makes excellent switches, but I never liked their routers that much. Linksys makes excellent routers, but I hate their switches. :P
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Post by BUBBALOU »

Why did you not just pick up a Linksys WRT54G????

Basically the same as the Netgear.. without NAT/UPnP issues
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post 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.
User avatar
Top Wop
DBB Master
DBB Master
Posts: 5104
Joined: Wed Mar 01, 2000 3:01 am
Location: Far from you.
Contact:

Post 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.
User avatar
SkyNet
DBB Ace
DBB Ace
Posts: 78
Joined: Mon Jul 19, 2004 3:56 pm
Location: Spartanburg, South Carolina
Contact:

Post 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.
Post Reply