UPnP and K26 -UPnP not working

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Author Message
edrikk
DD-WRT User


Joined: 31 Oct 2009
Posts: 186
Location: Canada

PostPosted: Tue Nov 24, 2009 22:09    Post subject: UPnP and K26 -UPnP not working Reply with quote
Hi guys,

And this question may be more for Eko, but may I ask why dd-wrt hasn't tried out miniupnp yet?

I see that one of the MAIN issues that comes up is people saying dd-wrt's UPNP implementation doesn't work, or is causing load, etc. BS has in the past said that he can't reproduce the issue, but at the end of the day, with so many people "complaining" something must be wrong....

So again, why not go to miniupnp? I have to tell you that I haven't had a single UPNP issue with any version of Tomato that I use (currently using 1.26 beta), and Tomato has miniupnp for this purpose.

The request to implement miniupnp is still open I see (HERE from one year ago now).


I think even as a test (i.e. a special EKO build with miniupnp patched in) may once and for all answer the question, and could maybe kill two birds with one stone (the second bird being reducing the number of threads/posts/bugs the devs have to read about this issue).
Sponsor
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Tue Nov 24, 2009 22:16    Post subject: Re: miniupnp Reply with quote
edrikk wrote:
So again, why not go to miniupnp? I have to tell you that I haven't had a single UPNP issue with any version of Tomato that I use (currently using 1.26 beta), and Tomato has miniupnp for this purpose.

The request to implement miniupnp is still open I see (HERE from one year ago now).

uPnP is not used by Brainslayer's customers.

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11563
Location: Wherever the wind blows- North America

PostPosted: Tue Nov 24, 2009 22:45    Post subject: Re: miniupnp Reply with quote
frater wrote:
edrikk wrote:
So again, why not go to miniupnp? I have to tell you that I haven't had a single UPNP issue with any version of Tomato that I use (currently using 1.26 beta), and Tomato has miniupnp for this purpose.

The request to implement miniupnp is still open I see (HERE from one year ago now).

uPnP is not used by Brainslayer's customers.


???? UPnP is part of the customer Paid build 12533. I just checked for it.

redhawk

_________________
The only stupid question....is the unasked one.
Masterman
DD-WRT Guru


Joined: 24 Aug 2009
Posts: 2070
Location: South Florida

PostPosted: Wed Nov 25, 2009 1:47    Post subject: Reply with quote
Ok, I did a test overnight with UPnP and just left it alone...I cannot explain it, but the CPU usage is sitting right where it should be... The only thing I changed was the Tx power on the Wireless, so I encourage everyone to attempt the same thing and see if the results match up


UPNPend.png
 Description:
 Filesize:  25.58 KB
 Viewed:  31975 Time(s)

UPNPend.png



_________________
Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Wed Nov 25, 2009 7:14    Post subject: Re: miniupnp Reply with quote
redhawk0 wrote:
???? UPnP is part of the customer Paid build 12533. I just checked for it.
redhawk

The verb is 'using'. You have to read between the lines.

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
Masterman
DD-WRT Guru


Joined: 24 Aug 2009
Posts: 2070
Location: South Florida

PostPosted: Wed Nov 25, 2009 7:38    Post subject: Reply with quote
CPU usage is back to 100% in Web-Gui...Funny tho, the load averages are all 1.00 and top shows UPnP wayyy down the list doing nothing with a D next to it...what does that mean?


EDIT - 'D' = uninterruptible sleep

Code:
top - 02:35:10 up 1 day,  4:41,  0 users,  load average: 1.04, 1.02, 1.00
Tasks:  39 total,   1 running,  38 sleeping,   0 stopped,   0 zombie
Cpu(s):  2.0%us,  1.3%sy,  0.0%ni, 95.7%id,  0.0%wa,  0.0%hi,  1.0%si,  0.0%st
Mem:    125016k total,   123136k used,     1880k free,     1164k buffers
Swap:        0k total,        0k used,        0k free,   111344k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9541 root      20   0  3608  876  508 S  2.0  0.7   5:51.65 httpd
30168 root      20   0  1644  636  492 R  1.0  0.5   0:00.95 top
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      15  -5     0    0    0 S  0.0  0.0   1:10.49 ksoftirqd/0
    1 root      20   0  1736  340  288 S  0.0  0.3   0:01.71 init
   38 root      15  -5     0    0    0 S  0.0  0.0   0:00.06 kblockd/0
   76 root      20   0     0    0    0 S  0.0  0.0   0:18.49 pdflush
   77 root      15  -5     0    0    0 S  0.0  0.0   0:18.99 kswapd0
    5 root      15  -5     0    0    0 S  0.0  0.0   0:00.05 khelper
  608 root      15  -5     0    0    0 S  0.0  0.0   0:03.97 mtdblockd
  635 root      20   0  2304  308  248 S  0.0  0.2   0:00.04 watchdog
  647 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
   78 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  680 root      15  -5     0    0    0 S  0.0  0.0   1:38.80 usb-storage
 1175 root      15  -5     0    0    0 S  0.0  0.0   0:00.05 kjournald
 2592 root      20   0  1452  528  436 S  0.0  0.4   0:00.04 xinetd
    4 root      15  -5     0    0    0 S  0.0  0.0   0:00.02 events/0
 5704 root      20   0  1532  228  188 S  0.0  0.2   0:00.00 telnetd
 5717 root      20   0  2160  684  436 S  0.0  0.5   0:00.08 proftpd
 5915 root      20   0  1976  328  260 S  0.0  0.3   0:00.01 dropbear
 6031 root      20   0  1532  308  264 S  0.0  0.2   0:07.43 syslogd
 6033 root      20   0  1528  252  208 S  0.0  0.2   0:06.95 klogd
 6404 root      20   0  3652 1012  576 S  0.0  0.8   0:00.01 smbd
 6411 root      20   0  2324  428   48 S  0.0  0.3   0:00.00 nmbd
 6706 root      15  -5     0    0    0 S  0.0  0.0   0:06.73 kjournald
  679 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0
 9501 root      20   0  2160  452  316 S  0.0  0.4   0:00.34 nas
 9515 root      20   0  1256  372  292 S  0.0  0.3   0:04.45 dnsmasq
 9516 root      20   0  1244  200  132 S  0.0  0.2   0:00.00 dnsmasq
 5611 root      20   0  2260  268  208 S  0.0  0.2   0:00.83 resetbutton
 9599 root      20   0  1992  336  284 S  0.0  0.3   0:00.02 process_monitor
 9650 root      20   0  1448  288  216 S  0.0  0.2   0:00.00 inadyn
 9887 root      20   0  1132  248  184 S  0.0  0.2   0:00.03 udhcpc
16088 root      20   0     0    0    0 S  0.0  0.0   0:13.06 pdflush
22747 root      20   0  2260  288  228 S  0.0  0.2   0:01.53 wland
22753 root      20   0     0    0    0 D  0.0  0.0   0:00.65 upnp
30156 root      20   0  2032  556  424 S  0.0  0.4   0:00.92 dropbear
30165 root      20   0  2216 1148  908 S  0.0  0.9   0:00.08 bash
 9483 root      20   0  1996  356  296 S  0.0  0.3   0:00.28 ttraff



UPnPafter.png
 Description:
 Filesize:  25.78 KB
 Viewed:  31809 Time(s)

UPnPafter.png



_________________
Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11563
Location: Wherever the wind blows- North America

PostPosted: Wed Nov 25, 2009 12:20    Post subject: Re: miniupnp Reply with quote
frater wrote:
redhawk0 wrote:
???? UPnP is part of the customer Paid build 12533. I just checked for it.
redhawk

The verb is 'using'. You have to read between the lines.


Understood....I'll buy that :lol:

redhawk

_________________
The only stupid question....is the unasked one.
evox2008
DD-WRT User


Joined: 01 May 2007
Posts: 79

PostPosted: Wed Nov 25, 2009 17:04    Post subject: Reply with quote
DD-WRT v24-sp2 (11/25/09) std-nokaid-nohotspot (SVN revision 13309M NEWD-2 K2.6 Eko)- uPnP not fixed, looked through the changes in trac - hotplug is fixed with 2.6 kernel.

miniUPnP daemon source code: http://miniupnp.free.fr/files/download.php?file=miniupnpd-1.4.20091106.tar.gz
AngelX13
DD-WRT Novice


Joined: 26 Aug 2009
Posts: 18

PostPosted: Thu Nov 26, 2009 20:42    Post subject: XBox360 Reply with quote
If the problem is reproducing the problem, then I can reproduce it 100% on my WRT320n by turning on my XBox 360.

If some donations are needed to motivate work on this, since paying customers don't use it, then lets see if we can get enough people willing to donate. I'll chip in $20.
olmari
DD-WRT Guru


Joined: 24 Oct 2006
Posts: 1447
Location: Finland

PostPosted: Thu Nov 26, 2009 22:57    Post subject: Re: XBox360 Reply with quote
AngelX13 wrote:
If some donations are needed to motivate work on this, since paying customers don't use it, then lets see if we can get enough people willing to donate. I'll chip in $20.


To get MiniUPnPd into DD-WRT I'll throw another 20€
edrikk
DD-WRT User


Joined: 31 Oct 2009
Posts: 186
Location: Canada

PostPosted: Fri Nov 27, 2009 0:03    Post subject: Re: XBox360 Reply with quote
olmari wrote:
AngelX13 wrote:
If some donations are needed to motivate work on this, since paying customers don't use it, then lets see if we can get enough people willing to donate. I'll chip in $20.


To get MiniUPnPd into DD-WRT I'll throw another 20€



Add me to that list.
I'm looking at replacing my WRT54G running Tomato. The thing is ROCK SOLID, but I want something with Gigabit ethernet and more memory.
Either WNR3500L or RT-N16, but that's a no go without UPNP!
AngelX13
DD-WRT Novice


Joined: 26 Aug 2009
Posts: 18

PostPosted: Fri Nov 27, 2009 6:04    Post subject: Reply with quote
So how about it? Eko / BS are you willing to work on this? Where should we send donations? Paypal to donate at dd-wrt dot si?
autobot
DD-WRT Guru


Joined: 07 May 2009
Posts: 1596

PostPosted: Mon Nov 30, 2009 2:46    Post subject: Reply with quote
I have been working on it but I'm not a developer. I will let you know if I come up with a solution.
_________________
Eko Builds

BrainSlayer Builds

DD-WRT Changelog RSS Feed
edrikk
DD-WRT User


Joined: 31 Oct 2009
Posts: 186
Location: Canada

PostPosted: Fri Dec 04, 2009 16:08    Post subject: Reply with quote
Hi Autobot!

Any luck on your efforts?
autobot
DD-WRT Guru


Joined: 07 May 2009
Posts: 1596

PostPosted: Fri Dec 04, 2009 20:08    Post subject: Reply with quote
Not really, but I have been trying to get the latest miniupnpd to link to a library newer than intended. I will get it worked out, it compiles...just won't link. I haven't worked on it much, busy with the hollidays and all that.
_________________
Eko Builds

BrainSlayer Builds

DD-WRT Changelog RSS Feed
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next Display posts from previous:    Page 1 of 9
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
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
You can attach files in this forum
You can download files in this forum