AW: rtl-tcp-server running on avm-fritzbox

Alan Corey alancorey at yahoo.com
Thu Jun 6 14:21:25 UTC 2013


I don't know anything about your OS, but look at the 3rd line down in your posted listing:



open("/usr/lib/freetz/librtlsdr.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)



It isn't finding the library.  That same message repeats many times throughout your listing.  It's not finding many libraries from looking at it again.  If you're using cmake you can probably fix the paths to libraries in your CMakeCache.txt in the build directory.  If not you might need to set an LDFLAGS in your environment or something.

If the process doesn't have execute permissions on all the directories in the paths it won't find anything either because it can't search there.  Does it work if you run as root?

  Alan

-----

Radio Astronomy - the ultimate DX

--- On Thu, 6/6/13, Robert Kiendl <Robert.Kiendl at automatis.com> wrote:

From: Robert Kiendl <Robert.Kiendl at automatis.com>
Subject: AW: rtl-tcp-server running on avm-fritzbox
To: osmocom-sdr at lists.osmocom.org
Date: Thursday, June 6, 2013, 3:52 AM

Hi,

I guess there is a permission problem accessing the device. Under normal conditions udev is doing the permission stuff when plugging in the device. I have had once the similar issue for own compiled binary mipsbe for mikrotik and tplink devices. Because of the lack of udev is simply altered the permission after plugging the dongle (something like /dev/dvb/adapter[something]  perms 755)
This made it work afterwards.

Hope this info helps,

Ciao Robert, 73 de oe6rke

-----Ursprüngliche Nachricht-----
Von: osmocom-sdr-bounces at lists.osmocom.org [mailto:osmocom-sdr-bounces at lists.osmocom.org] Im Auftrag von df8oe at gmx.de
Gesendet: Donnerstag, 06. Juni 2013 08:41
An: osmocom-sdr at lists.osmocom.org
Betreff: rtl-tcp-server running on avm-fritzbox

I want to use a rtl-dvb-stick connected to a fritz-box-dsl-router via tcp. Software running on the fritzbox is freetz (www.freetz.org) and cpu-architecture is mips. So I created a makefile and compiled the software without errors. But when I start the software (usb-dongle connected) it throws a usb_claim_interface error -5. rtl_test recognizes the type of stick correctly but throws identical error message. So I started rtl_test with strace - here you can find the
output:

http://www.df8oe.de/output.txt

Any tipps for solving the problem are welcome ;)

Best regards
df8oe


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20130606/9cbcf5cc/attachment.html>


More information about the osmocom-sdr mailing list