OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 668890.0
February 16, 2010 07:33 PM

Categories: Troubleshooting

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

Kevin Mahoney

Member
Joined: 02/16/2010

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!

Discussion:    Add a Comment | Comments 1-15 of 15 | Latest Comment

February 17, 2010 12:45 AM

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

Great reading before you upgrade: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Netgear 3500L Tomato beta 22 and 3x Fonera 2100 Gargoyle 1.3.5

February 17, 2010 9:02 AM

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

May 16, 2010 3:13 PM

Bump!

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

Thanks,

Kevin

June 28, 2010 4:28 PM

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. I've fixed this bug by using 'ioctl(sock, SIOCGIFNAME, &ifr)', but there is the way to fix it easier - just replace "false" to "true").

How to make it work:

- Download ushare sources ( http://ushare.geexbox.org/releases/ushare-1.1a.tar.bz2 )

- Fix file "ushare.c" before compiling:

Search lines

-------- (before)
log_error (_("Can't find interface %s.\n"),interface);
log_error (_("Recheck uShare's configuration and try again !\n"));
return false;
--------

and replace to:

-------- (after)
log_error (_("Can't find interface %s.\n"),interface);
log_error (_("Recheck uShare's configuration and try again !\n"));
return true;
--------

- Compile it.
# Installing GCC, Make and other stuff
ipkg-opt install buildroot
ipkg-opt install pkgconfig
ipkg-opt install make
# Configuring and compiling
unset LD_LIBRARY_PATH
./configure --prefix=/opt
make
# Trying to run...
./src/ushare
# Installing
make install

- Yeah! Now my WRT610Nv2 is DLNA server and I can use it on my LG TV.

July 28, 2010 7:26 AM

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

July 28, 2010 8:49 AM

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.

July 28, 2010 10:58 AM

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 :)

July 28, 2010 3:12 PM

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.

February 14, 2011 11:41 PM

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 !

May 3, 2011 1:05 PM

@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.

May 12, 2011 11:23 AM

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!

May 12, 2011 3:16 PM

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

May 14, 2011 1:35 AM

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.

WNR3500L running Toastman's Tomato.

May 14, 2011 6:13 AM

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

December 21, 2011 10:53 PM

concerning the "gettext" linker error:

In the config.mak file under 'EXTRALIBS=' I added -lintl

intl is the international lib that has gettext in it.

Hope this helps anyone who wants to compile. I compiled this just like StanislavPo suggested.

Discussion:    Add a Comment | Back to Top | Comments 1-15 of 15 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window