DD-WRT UPnP support

14 posts / 0 new
Last post
Kevin Mahoney
Kevin Mahoney's picture
DD-WRT UPnP support

I'm trying to get Ushare to work on my WNR3500L. I keep getting the error:

Can't find interface br0.
Recheck uShare's configuration and try again !

 

I've scoured the forums to figure out what is going on and I came across some discussion on there being a bug with the socket API or something. Does anyone know what is going on?

Are there any other programs that provide DLNA service?

 Thanks!

nukie
nukie's picture
What build are you using? Use

What build are you using? Use the latest build 13832

If you depend on upnp you might want to upgrade to a newer bulid since there was some fixes for upnp in later builds. I an not shure if it will fix your problem.

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=63539&highlight=upnp

Kevin Mahoney
Kevin Mahoney's picture
I'm running: dd-wrt.v24-13832

I'm running: dd-wrt.v24-13832_NEWD-2_K2.6_big.bin

Kevin Mahoney
Kevin Mahoney's picture
Bump!

Bump!

Still haven't been successful at getting uShare working. What are the alternatives? Is anyone else running uShare?

Thanks,

Kevin

spykos
spykos's picture
Hi, I did all the above in my

Hi, I did all the above in my Asus RT-N16 but it fails in make. Any clues ?

presentation.c:(.text+0xdc): undefined reference to `dcgettext'
presentation.c:(.text+0x1c0): undefined reference to `dcgettext'
presentation.c:(.text+0x1fc): undefined reference to `dcgettext'
presentation.c:(.text+0x2a4): undefined reference to `dcgettext'
presentation.c:(.text+0x304): undefined reference to `dcgettext'
presentation.o:presentation.c:(.text+0x340): more undefined references to `dcgettext' follow
ushare.o: In function `main':
ushare.c:(.text+0x1900): undefined reference to `bindtextdomain'
ushare.c:(.text+0x1918): undefined reference to `textdomain'
ushare.c:(.text+0x1ad4): undefined reference to `dcgettext'
ushare.c:(.text+0x1ba8): undefined reference to `dcgettext'
ushare.c:(.text+0x1c60): undefined reference to `dcgettext'
ushare.c:(.text+0x1d0c): undefined reference to `dcgettext'
ushare.c:(.text+0x1e88): undefined reference to `dcgettext'
ushare.o:ushare.c:(.text+0x1ec4): more undefined references to `dcgettext' follow
collect2: ld returned 1 exit status
make: *** [ushare] Error 1

Kong
Kong's picture
I've spent few hours trying

I've spent few hours trying to start it. Yes, there is bug in the function "has_iface". (It can't find interface by name.)

This is because dd-wrt patched if.h, if you don't use dd-wrts toolchain you have to patch if.h otherwise if will not be able to get interface info by name.

@spykos

You error message is telling you that the linker cannot find the symbol dcgettext, I assume ushare includes gettext, but you have not supplied the location of the gettext library

Anyways I'll soon post an update of my dd-wrt build which will include minidlna.

creaturecool
creaturecool's picture
There's also Teddy Bear's

There's also Teddy Bear's Tomato mod
http://www.linksysinfo.org/forums/showthread.php?t=63587

it's very light-weight and provides a very reliable dlna service :)

spykos
spykos's picture
Is it easy to patch if.h ? I

Is it easy to patch if.h ? I looked in dd-wrt forum and didn't find a solution. At the moment I am trying tomato but i prefer to stick with dd-wrt.

AK
AK's picture
I'm in the same boat right

I'm in the same boat right now,
Asus RT-N16 , Firmware: DD-WRT v24-sp2 (11/21/10) big,
got everything running great so far, transmission, and playing with other optware stuff, but i cant for the life of me get ushare to work, followed the tutorial on the dd-wrt site, but i keep getting that exact massage..

root@DD-WRT:~# /opt/bin/ushare
Can't find interface br0.
Recheck uShare's configuration and try again !

Jiten
Jiten's picture
@StanislavPo: I downloaded

@StanislavPo: I downloaded the ushare source and compiled it for my Belkin f7d3302. But I get the linkin error.

presentation.o: In function `build_presentation_page':
presentation.c:(.text+0xdc): undefined reference to `dcgettext'
presentation.c:(.text+0x1c0): undefined reference to `dcgettext'
presentation.c:(.text+0x1fc): undefined reference to `dcgettext'
presentation.c:(.text+0x2a4): undefined reference to `dcgettext'
presentation.c:(.text+0x304): undefined reference to `dcgettext'
presentation.o:presentation.c:(.text+0x340): more undefined references to `dcgettext' follow
ushare.o: In function `main':
ushare.c:(.text+0x1900): undefined reference to `bindtextdomain'
ushare.c:(.text+0x1918): undefined reference to `textdomain'
ushare.c:(.text+0x1ad4): undefined reference to `dcgettext'
ushare.c:(.text+0x1ba8): undefined reference to `dcgettext'
ushare.c:(.text+0x1c60): undefined reference to `dcgettext'
ushare.c:(.text+0x1d0c): undefined reference to `dcgettext'
ushare.c:(.text+0x1e88): undefined reference to `dcgettext'
ushare.o:ushare.c:(.text+0x1ec4): more undefined references to `dcgettext' follow
collect2: ld returned 1 exit status
make[1]: *** [ushare] Error 1
make[1]: Leaving directory `/mnt/data/Code/ushare-1.1a/src'
make: *** [all] Error 2

Can u please upload/mail me ur "ushare" binary. Thanks.

chipi
chipi's picture
Hello!

Hello!

How I can use it ushare on WRT160NL ruter?
Ruter Firmware: DD-WRT v24-sp2 (08/07/10) std (SVN revision 14896)
I installed it so :
http://wrt160nl.org/files/wrt160nlmod.pdf

Ushare wrong:
Can't find interface: br0
Recheck uShare's configuration and try again !

Help me! Please!

Thank you!

chipi
chipi's picture
The problem on the image:

The problem on the image: (click the link)
http://ftptarhely.com/chipi/kepek/pcforum/ushare_problem.jpg

Striatum
Striatum's picture
chipi said: Hello! How I can

chipi said: Hello! How I can use it ushare on WRT160NL ruter? Ruter Firmware: DD-WRT v24-sp2 (08/07/10) std (SVN revision 14896) I installed it so : http://wrt160nl.org/files/wrt160nlmod.pdf Ushare wrong: Can't find interface: br0 Recheck uShare's configuration and try again ! Help me! Please! Thank you!

It seems that Kong said to you that it was a compilation problem of ushare, that makes it incompatiblewith DD-WRT.

 

Unless you are used to editing/patching sources, using toolchains and compiling you'd better search for another DLNA server, as Mediatomb, or MiniDLNA (both present in Optware), with a bit of googling to configure and use them.

chipi
chipi's picture
I downloaded it the miniDLNA

I downloaded it the miniDLNA program.
But into a mistake I clashed.
Does not start, because does not find it ffp.subs file.
Samsung TV want to start.
The problem on the images (click the link):
http://ftptarhely.com/chipi/kepek/pcforum/minidlna_error.jpg