USB Redirector for Linux (http://www.incentivespro.com) ?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Allgemeine Fragen
Author Message
fpausp
DD-WRT Novice


Joined: 04 Aug 2007
Posts: 3

PostPosted: Sun Nov 29, 2015 8:03    Post subject: USB Redirector for Linux (http://www.incentivespro.com) ? Reply with quote
hallo forum,

ich würde gerne einen usb-server unter dd-wrt 3.0 laufen lassen, meine hardware TL-WDR3600:

system type : Atheros AR9344 ver 1 rev 1.2 (0x2122)
processor : 0
cpu model : MIPS 74Kc V4.12


leider funktioniert das installations-script von http://www.incentivespro.com/downloads.html nicht, kann mir bitte jemand einen Tipp geben was ich noch tun kann ?



root@ecap01:~/usb-redirector-linux-mips# sh -x installer.sh install-server

Code:
+ INSTALLDIR=/usr/local/usb-redirector
+ FILESDIR=files
+ MODULESBINDIR=modules/bin
+ MODULESSRCDIR=modules/src
+ SHELLLINKDIR=/usr/local/bin
+ uname -r
+ KERNELDIR=/lib/modules/3.10.92/build
+ PIDFILE=/var/run/usbsrvd.pid
+ STUBNAME=tusbd
+ DAEMONNAME=usbsrvd
+ SHELLNAME=usbsrv
+ CLIENTSHELLNAME=usbclnt
+ INITSCRIPTNAME=rc.usbsrvd
+ UNINSTALLERNAME=uninstall.sh
+ TMPINITSCRIPTNAME=init.tmp
+ TMPUNINSTALLERNAME=uninst.tmp
+ KERNELMIN=2.6.15
+ KERNELMAX=3.19.0
+ SUPPORTEMAIL=support@incentivespro.com
+ whoami
installer.sh: line 822: whoami: not found
+ [ != root ]
+ usbsrv_install server
+ echo

+ echo *** Installing USB Redirector for Linux v3.2.2
*** Installing USB Redirector for Linux v3.2.2
+ echo ***  Destination dir: /usr/local/usb-redirector
***  Destination dir: /usr/local/usb-redirector
+ echo ***  Checking installation...
***  Checking installation...
+ usbsrv_check_syscalls
+ which sed
+ [ ! -x /bin/sed ]
+ which grep
+ [ ! -x /bin/grep ]
+ which chmod
+ [ ! -x /bin/chmod ]
+ which ln
+ [ ! -x /bin/ln ]
+ [ ! -x /sbin/insmod ]
+ [ ! -x /sbin/rmmod ]
+ which killall
+ [ ! -x /usr/bin/killall ]
+ return 0
+ exit_on_error Syscalls check failed:
+ [ 0 -ne 0 ]
+ usbsrv_check_previous_old_installation
+ exit_on_file_exist /usr/local/usb-server/usbsrvd
+ [ -h /usr/local/usb-server/usbsrvd ]
+ [ -f /usr/local/usb-server/usbsrvd ]
+ [ -x /usr/local/usb-server/usbsrvd ]
+ exit_on_file_exist /usr/local/usb-server/bin/tusbd.ko
+ [ -h /usr/local/usb-server/bin/tusbd.ko ]
+ [ -f /usr/local/usb-server/bin/tusbd.ko ]
+ [ -x /usr/local/usb-server/bin/tusbd.ko ]
+ exit_on_file_exist /usr/local/usb-server/bin/usbsrv
+ [ -h /usr/local/usb-server/bin/usbsrv ]
+ [ -f /usr/local/usb-server/bin/usbsrv ]
+ [ -x /usr/local/usb-server/bin/usbsrv ]
+ exit_on_file_exist /usr/local/usb-server/bin/usbclnt
+ [ -h /usr/local/usb-server/bin/usbclnt ]
+ [ -f /usr/local/usb-server/bin/usbclnt ]
+ [ -x /usr/local/usb-server/bin/usbclnt ]
+ usbsrv_check_previous_installation
+ exit_on_file_exist /usr/local/usb-redirector/bin/usbsrvd
+ [ -h /usr/local/usb-redirector/bin/usbsrvd ]
+ [ -f /usr/local/usb-redirector/bin/usbsrvd ]
+ [ -x /usr/local/usb-redirector/bin/usbsrvd ]
+ exit_on_file_exist /usr/local/usb-redirector/bin/tusbd.ko
+ [ -h /usr/local/usb-redirector/bin/tusbd.ko ]
+ [ -f /usr/local/usb-redirector/bin/tusbd.ko ]
+ [ -x /usr/local/usb-redirector/bin/tusbd.ko ]
+ exit_on_file_exist /usr/local/usb-redirector/bin/usbsrv
+ [ -h /usr/local/usb-redirector/bin/usbsrv ]
+ [ -f /usr/local/usb-redirector/bin/usbsrv ]
+ [ -x /usr/local/usb-redirector/bin/usbsrv ]
+ exit_on_file_exist /usr/local/usb-redirector/bin/usbclnt
+ [ -h /usr/local/usb-redirector/bin/usbclnt ]
+ [ -f /usr/local/usb-redirector/bin/usbclnt ]
+ [ -x /usr/local/usb-redirector/bin/usbclnt ]
+ exit_on_file_exist /usr/local/usb-redirector/uninstall.sh
+ [ -h /usr/local/usb-redirector/uninstall.sh ]
+ [ -f /usr/local/usb-redirector/uninstall.sh ]
+ [ -x /usr/local/usb-redirector/uninstall.sh ]
+ exit_on_file_exist /usr/local/bin/usbsrv
+ [ -h /usr/local/bin/usbsrv ]
+ [ -f /usr/local/bin/usbsrv ]
+ [ -x /usr/local/bin/usbsrv ]
+ usbsrv_check_source_files server
+ exit_on_file_not_exist ./files/uninstall.sh
+ [ ! -f ./files/uninstall.sh ]
+ exit_on_file_not_exist ./files/rc.usbsrvd
+ [ ! -f ./files/rc.usbsrvd ]
+ [ server = both ]
+ [ server = server ]
+ exit_on_file_not_exist ./files/usbsrv
+ [ ! -f ./files/usbsrv ]
+ exit_on_file_not_exist ./files/usbsrvd-srv
+ [ ! -f ./files/usbsrvd-srv ]
+ echo ***  Detecting system...
***  Detecting system...
+ detect_distrib
+ SYS_DISTRIB_NAME=unknown
+ SYS_DISTRIB_MODVER=no
+ SYS_DISTRIB_INIT_TYPE=
+ SYS_DISTRIB_INIT_DIR=
+ SYS_DISTRIB_RUNLEVEL_DIR=
+ SYS_DISTRIB_INIT_RCLOCAL=
+ [ -f /etc/fedora-release ]
+ [ -f /etc/mandriva-release ]
+ [ -f /etc/mandrake-release ]
+ [ -f /etc/mandakelinux-release ]
+ [ -f /etc/redhat-release ]
+ [ -f /etc/debian_version ]
+ [ -f /etc/debian_version ]
+ [ -f /etc/SuSE-release ]
+ [ -f /etc/gentoo-release ]
+ [ -f /etc/slackware-version ]
+ SYS_DISTRIB_NAME=other
+ SYS_DISTRIB_MODVER=no
+ [ -d /etc/init.d ]
+ SYS_DISTRIB_INIT_TYPE=sysv
+ SYS_DISTRIB_INIT_DIR=/etc/init.d
+ SYS_DISTRIB_RUNLEVEL_DIR=/etc
+ [ -z sysv ]
+ [ sysv = sysv ]
+ [ -z /etc/init.d ]
+ [ -z /etc ]
+ [ ! -d /etc/init.d ]
+ [ ! -d /etc ]
+ return 0
+ exit_on_error Can not detect Linux distribution, possibly it is not supported.
+ [ 0 -ne 0 ]
+ echo ***     distribution: other
***     distribution: other
+ check_distrib_syscalls
+ [ other = redhat ]
+ [ other = fedora ]
+ [ other = mandriva ]
+ [ other = debian ]
+ [ other = ubuntu ]
+ [ other = suse ]
+ [ other = gentoo ]
+ return 0
+ exit_on_error Syscalls check failed:
+ [ 0 -ne 0 ]
+ detect_kernel
+ uname -r
+ SYS_KERNEL_RELEASE=3.10.92
+ + echosed 3.10.92 s/^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/

+ SYS_KERNEL_VERSION=3.10.92
+ return 0
+ exit_on_error Can not detect kernel version
+ [ 0 -ne 0 ]
+ echo ***     kernel: 3.10.92
***     kernel: 3.10.92
+ parse_kernel_version
+ sed s/^\([0-9]\+\)\..*/\1/
+ echo 2.6.15
+ local kernel_min_major=2.6.15
+ sed s/^\([0-9]\+\)\.\([0-9]\+\)\..*/\2/
+ echo 2.6.15
+ local kernel_min_minor=2.6.15
+ sed s/^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\).*/\3/
+ echo 2.6.15
+ local kernel_min_patch=2.6.15
+ sed s/^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\).*/\4/
+ echo 2.6.15
+ local kernel_min_build=2.6.15
+ [ 2.6.15 = 2.6.15 ]
+ return 1
+ exit_on_error Can not parse kernel version.
+ [ 1 -ne 0 ]
+ echo ***  Cleaning up installation...
***  Cleaning up installation...
+ usbsrv_cleanup
+ stop_init_script rc.usbsrvd
+ local name=rc.usbsrvd
+ [ sysv = sysv ]
+ [ -x /etc/init.d/rc.usbsrvd ]
+ return 0
+ uninstall_init_script rc.usbsrvd
+ local dst_script_name=rc.usbsrvd
+ local dst_script_path
+ [ sysv = sysv ]
+ dst_script_path=/etc/init.d/rc.usbsrvd
+ rm -f /etc/init.d/rc.usbsrvd
+ [ other = redhat ]
+ [ other = fedora ]
+ [ other = mandriva ]
+ [ other = debian ]
+ [ other = ubuntu ]
+ [ other = suse ]
+ [ other = gentoo ]
+ [ sysv = bsd ]
+ [ sysv = sysv ]
+ rm /etc/rc0.d/K??rc.usbsrvd
+ rm /etc/rc1.d/K??rc.usbsrvd
+ rm /etc/rc2.d/K??rc.usbsrvd
+ rm /etc/rc3.d/S??rc.usbsrvd
+ rm /etc/rc4.d/S??rc.usbsrvd
+ rm /etc/rc5.d/S??rc.usbsrvd
+ rm /etc/rc6.d/K??rc.usbsrvd
+ return 0
+ rm -f /usr/local/usb-redirector/bin/usbsrvd
+ rm -f /usr/local/usb-redirector/bin/tusbd.ko
+ rm -f /usr/local/usb-redirector/bin/usbsrv
+ rm -f /usr/local/usb-redirector/bin/usbclnt
+ rm -f /usr/local/usb-redirector/uninstall.sh
+ [ -h /usr/local/bin/usbsrv ]
+ [ -h /usr/local/bin/usbclnt ]
+ rm -f /usr/local/usb-redirector/init.tmp
+ rm -f /usr/local/usb-redirector/uninst.tmp
+ rmdir /usr/local/usb-redirector/bin
+ rmdir /usr/local/usb-redirector
+ echo ***
***
+ echo ***  Installation failed!
***  Installation failed!
+ echo ??? Can not parse kernel version.
??? Can not parse kernel version.
+ exit 4
Sponsor
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7039
Location: Dresden, Germany

PostPosted: Sun Nov 29, 2015 13:54    Post subject: Reply with quote
alles was ich zum download auf der seite gefunden habe (unter usb redirector for linux) war der quellcode des usb redirectors der erstmal kompiliert werden muss und das kannst du auf dem router selber nicht durchführen. dazu brauchst du den cross compiler etc.
_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 7039
Location: Dresden, Germany

PostPosted: Sun Nov 29, 2015 13:58    Post subject: Reply with quote
zum kompilieren der treiber etc. verwendest du am sinnvollsten openwrt, da openwrt die notwendigen tools erzeugt. das installationsscript ist hierfür aber komplett unbrauchbar.

kleiner tip. dd-wrt enthält USB Over IP. ist quelloffen und kann eigentlich das selbe. es gibt wohl auch einen windows client dafür. habe aber lange nicht mehr damit gespielt

_________________
"So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
fpausp
DD-WRT Novice


Joined: 04 Aug 2007
Posts: 3

PostPosted: Sun Nov 29, 2015 18:11    Post subject: Reply with quote
Danke BrainSlayer für die Info, das Thema "cross compiler" muss ich sowieso irgendwann mal angehen...

Würde das auch unter debian jessie amd64 (kvm) funktionieren ?

lg
fpausp
GildertoMoreno
DD-WRT Novice


Joined: 19 Sep 2019
Posts: 1

PostPosted: Thu Sep 19, 2019 11:51    Post subject: Reply with quote
Wir haben im Büro versucht, einen USB Redirector für unseren Router zu kompilieren. Dafür haben wir https://www.net-usb.com/usb-redirector/how-to-use-usb-redirector/ verwendet. Probieren Sie es mit ihm.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Allgemeine Fragen 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