uTorrent for Linux Out (It works) Someone want to Qkpg it ?

Tell us your most wanted features from QNAP products.

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby paolomarino » Mon Apr 11, 2011 11:08 pm

I solved the glibc problem with this workaround:
viewtopic.php?f=50&t=42917#p189969

I had another problem with the fstab and uTorrent and I solved with this workaround:
http://forum.utorrent.com/viewtopic.php?id=97660

Now uTorrent works fine on my 509.

And this is the script I use to start uTorrent:
Code: Select all
#!/bin/sh

CHDIR=/share/MD0_DATA/.qpkg/utorrent
NAME=utserver
LAUNCH="$CHDIR/lib/ld-linux.so.2 --library-path $CHDIR/lib $CHDIR/$NAME -pidfile $CHDIR/utserver.pid -daemon"
STOP_TIMEOUT=5

case "$1" in
    start)
        /sbin/log_tool -a "Starting uTorrent"  -t 0 -u uTorrent -p 192.168.1.100 -m NAS
    cd $CHDIR
    $LAUNCH
        /sbin/log_tool -a "End Starting uTorrent"  -t 0 -u uTorrent -p 192.168.1.100 -m NAS

        ;;

    stop)

        /sbin/log_tool -a "Stopping uTorrent"  -t 0 -u uTorrent -p 192.168.1.100 -m NAS
    cd $CHDIR
    kill -9 `cat $CHDIR/utserver.pid`
    sleep 5
         rm $CHDIR/utserver.pid
        /sbin/log_tool -a "End Stopping uTorrent"  -t 0 -u uTorrent -p 192.168.1.100 -m NAS

        ;;

    restart)

        /sbin/log_tool -a "ReStarting uTorrent"  -t 0 -u uTorrent -p 192.168.1.100 -m NAS
    cd $CHDIR
    kill -9 `cat $CHDIR/utserver.pid`
    sleep 5
         rm $CHDIR/utserver.pid
    $LAUNCH
        /sbin/log_tool -a "End ReStarting uTorrent"  -t 0 -u uTorrent -p 192.168.1.100 -m NAS

        ;;

    *)

        echo "Usage: cd $CHDIR than ./uts-script.sh {start|stop|restart}"
        exit 2

        ;;

esac
 
exit 0



:mrgreen:
Happy Qnap TS-509 Ultimate (Intel E7500+ SCYTHE Kozuti + 4GB Ram) Owner :)
User avatar
paolomarino
Know my way around
 
Posts: 156
Joined: Sat Jun 13, 2009 3:24 am
Location: Ironforge
NAS Model: TS-509 Pro

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby Moogle Stiltzkin » Tue May 03, 2011 5:47 pm

Paolo could you kindly create a qpkg for this plz :mrgreen:
NAS
[Main Server] QNAP TS-659 Pro w. 4x 2TB Samsung EcoGreen F3 (HD203WI) EXT4 Raid5
[Backup] QNAP TS-509 Pro w. 5x 1TB Western Digital RE3 (WD1002FBYS) EXT4 Raid5

Other Devices
ESR-9850 Router | 10mbps download/upload FTTH Internet Connection | Windows 7 Ultimate Water Cooled PC with Intel i7 920 c0/c1 |


Desktop hard drives recommended for raid

How to setup Plex Media Server with QNAP
User avatar
Moogle Stiltzkin
Experience counts
 
Posts: 1177
Joined: Thu Dec 04, 2008 12:21 am
Location: Malaysia
NAS Model: TS-659 Pro II

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby paolomarino » Wed May 04, 2011 12:03 am

Sorry but the creation of a QKPG is completly out of my capabilities :)
Thanks for the trust.
If u follow the guides around it is very easy to install utorrent
dont be afraid ;)
Happy Qnap TS-509 Ultimate (Intel E7500+ SCYTHE Kozuti + 4GB Ram) Owner :)
User avatar
paolomarino
Know my way around
 
Posts: 156
Joined: Sat Jun 13, 2009 3:24 am
Location: Ironforge
NAS Model: TS-509 Pro

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby Moogle Stiltzkin » Wed May 04, 2011 4:27 pm

kitty scared :o
NAS
[Main Server] QNAP TS-659 Pro w. 4x 2TB Samsung EcoGreen F3 (HD203WI) EXT4 Raid5
[Backup] QNAP TS-509 Pro w. 5x 1TB Western Digital RE3 (WD1002FBYS) EXT4 Raid5

Other Devices
ESR-9850 Router | 10mbps download/upload FTTH Internet Connection | Windows 7 Ultimate Water Cooled PC with Intel i7 920 c0/c1 |


Desktop hard drives recommended for raid

How to setup Plex Media Server with QNAP
User avatar
Moogle Stiltzkin
Experience counts
 
Posts: 1177
Joined: Thu Dec 04, 2008 12:21 am
Location: Malaysia
NAS Model: TS-659 Pro II

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby Corey3443 » Wed May 18, 2011 7:34 pm

good guide, but im having trouble getting the lib files needed, (even reading your linked post about getting them from live disc)
would it be possible for u to post a .rar or .zip with the correct ones? it would be a great help =)
Qnap TS-659 Pro II with 4x 2TB (RAID-5) 2x 2TB (RAID-1) Hitachi Deskstar 7K3000 (HDS723020BLA642)
Job: Bit Torrent, File Server, PS3 Media Server, ISCSI for vmware Esxi, RRTP over Net, LDAP Server, Syslog Server
Qnap TS-412 4x1TB (RAID-5) Western Digital RE4 (WD1003FBYX)
My Offsite Backup, that i keep at parents
UPS: APC Backup Pro 550
Internet Connection: Fibre 40mb DOWN / 3mb UP
Corey3443
Starting out
 
Posts: 43
Joined: Fri Mar 04, 2011 1:18 pm
Location: Australia
NAS Model: TS-559 Pro II

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby paolomarino » Wed May 18, 2011 9:45 pm

These are the libs i am using:
http://netload.in/dateizNbpVMWtK1/archive.tgz.htm
Pay attention to the internal link to different lib version.
Good luck :)

PS I remember you I am a googler and not a programmer so be careful. This works fine on my system, but I dont know why ;) :mrgreen:
Happy Qnap TS-509 Ultimate (Intel E7500+ SCYTHE Kozuti + 4GB Ram) Owner :)
User avatar
paolomarino
Know my way around
 
Posts: 156
Joined: Sat Jun 13, 2009 3:24 am
Location: Ironforge
NAS Model: TS-509 Pro

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby Moogle Stiltzkin » Wed May 18, 2011 10:35 pm

any qpkg plz :(
NAS
[Main Server] QNAP TS-659 Pro w. 4x 2TB Samsung EcoGreen F3 (HD203WI) EXT4 Raid5
[Backup] QNAP TS-509 Pro w. 5x 1TB Western Digital RE3 (WD1002FBYS) EXT4 Raid5

Other Devices
ESR-9850 Router | 10mbps download/upload FTTH Internet Connection | Windows 7 Ultimate Water Cooled PC with Intel i7 920 c0/c1 |


Desktop hard drives recommended for raid

How to setup Plex Media Server with QNAP
User avatar
Moogle Stiltzkin
Experience counts
 
Posts: 1177
Joined: Thu Dec 04, 2008 12:21 am
Location: Malaysia
NAS Model: TS-659 Pro II

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby Corey3443 » Thu May 19, 2011 10:09 am

Tryed it, and got rid of 1 error, to get another.
Code: Select all

server started - using locale <NULL>
Using locale C
File not found during integrity check: ./settings.dat
File not found during integrity check: ./settings.dat.new
File not found during integrity check: ./settings.dat.old
File not found during integrity check: ./settings.dat
File not found during integrity check: ./settings.dat.new
File not found during integrity check: ./settings.dat.old
File not found during integrity check: ./dht.dat
File not found during integrity check: ./dht.dat.new
File not found during integrity check: ./dht.dat.old
File not found during integrity check: ./rss.dat
File not found during integrity check: ./rss.dat.new
File not found during integrity check: ./rss.dat.old
File not found during integrity check: ./resume.dat
File not found during integrity check: ./resume.dat.new
File not found during integrity check: ./resume.dat.old

qpkg is looking good right about now
Qnap TS-659 Pro II with 4x 2TB (RAID-5) 2x 2TB (RAID-1) Hitachi Deskstar 7K3000 (HDS723020BLA642)
Job: Bit Torrent, File Server, PS3 Media Server, ISCSI for vmware Esxi, RRTP over Net, LDAP Server, Syslog Server
Qnap TS-412 4x1TB (RAID-5) Western Digital RE4 (WD1003FBYX)
My Offsite Backup, that i keep at parents
UPS: APC Backup Pro 550
Internet Connection: Fibre 40mb DOWN / 3mb UP
Corey3443
Starting out
 
Posts: 43
Joined: Fri Mar 04, 2011 1:18 pm
Location: Australia
NAS Model: TS-559 Pro II

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby paolomarino » Thu May 19, 2011 1:20 pm

During the first start those errors are normal.
It do not found the dat configuration files so it will use the provided utserver.conf
Delete everything and restart from the fresh.
BUT You need edit utserver.conf first with the network configuration and the directory configuration of your nas.
It is a text file.
I have set ip to 192.168.1.100 (my nas ip)
I have set port 9595 because it is easy to remember.
So my connection url it is:
http://192.168.1.100:9595/gui/
Change this parameters in your utsetver.conf and than start utserver and try to connect it with the url:
http://your_nas_ip:your_port/gui/

PS sorry for the qkpg but I have tried with the qkpg sdk but it is over my possibilities.
Happy Qnap TS-509 Ultimate (Intel E7500+ SCYTHE Kozuti + 4GB Ram) Owner :)
User avatar
paolomarino
Know my way around
 
Posts: 156
Joined: Sat Jun 13, 2009 3:24 am
Location: Ironforge
NAS Model: TS-509 Pro

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby Moogle Stiltzkin » Thu May 19, 2011 2:17 pm

dang :(

How about an installation method like what internaut did, would this be possible instead ?

viewtopic.php?f=221&t=44679



You login to putty, code paste his code. It will auto download the file, then install and have a few easy simple prompts for settings. Then done.
NAS
[Main Server] QNAP TS-659 Pro w. 4x 2TB Samsung EcoGreen F3 (HD203WI) EXT4 Raid5
[Backup] QNAP TS-509 Pro w. 5x 1TB Western Digital RE3 (WD1002FBYS) EXT4 Raid5

Other Devices
ESR-9850 Router | 10mbps download/upload FTTH Internet Connection | Windows 7 Ultimate Water Cooled PC with Intel i7 920 c0/c1 |


Desktop hard drives recommended for raid

How to setup Plex Media Server with QNAP
User avatar
Moogle Stiltzkin
Experience counts
 
Posts: 1177
Joined: Thu Dec 04, 2008 12:21 am
Location: Malaysia
NAS Model: TS-659 Pro II

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby Corey3443 » Thu May 19, 2011 10:19 pm

i had edited the config, but i found it was loading the old settings.dat
deleted it and it works fine =)

ive got some free time this week, id be happy to set up a qkpg (if someone sends me the qnap sdk) or install script for this.
Qnap TS-659 Pro II with 4x 2TB (RAID-5) 2x 2TB (RAID-1) Hitachi Deskstar 7K3000 (HDS723020BLA642)
Job: Bit Torrent, File Server, PS3 Media Server, ISCSI for vmware Esxi, RRTP over Net, LDAP Server, Syslog Server
Qnap TS-412 4x1TB (RAID-5) Western Digital RE4 (WD1003FBYX)
My Offsite Backup, that i keep at parents
UPS: APC Backup Pro 550
Internet Connection: Fibre 40mb DOWN / 3mb UP
Corey3443
Starting out
 
Posts: 43
Joined: Fri Mar 04, 2011 1:18 pm
Location: Australia
NAS Model: TS-559 Pro II

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby Moogle Stiltzkin » Fri May 20, 2011 1:10 am

Someone please send Corey3443 whatever he needs please :mrgreen:


Corey is this it ? :?

viewtopic.php?f=131&t=36132
NAS
[Main Server] QNAP TS-659 Pro w. 4x 2TB Samsung EcoGreen F3 (HD203WI) EXT4 Raid5
[Backup] QNAP TS-509 Pro w. 5x 1TB Western Digital RE3 (WD1002FBYS) EXT4 Raid5

Other Devices
ESR-9850 Router | 10mbps download/upload FTTH Internet Connection | Windows 7 Ultimate Water Cooled PC with Intel i7 920 c0/c1 |


Desktop hard drives recommended for raid

How to setup Plex Media Server with QNAP
User avatar
Moogle Stiltzkin
Experience counts
 
Posts: 1177
Joined: Thu Dec 04, 2008 12:21 am
Location: Malaysia
NAS Model: TS-659 Pro II

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby Corey3443 » Fri May 20, 2011 4:31 am

seems to be, ill have a play with it once i get home.

EDIT: Looked into the QKPG, possible. but might take some time.
but a install script/method like Moogle suggested is easy.
ill have a draft copy once i get up, seems i just got home from work, and im tired as **.
Qnap TS-659 Pro II with 4x 2TB (RAID-5) 2x 2TB (RAID-1) Hitachi Deskstar 7K3000 (HDS723020BLA642)
Job: Bit Torrent, File Server, PS3 Media Server, ISCSI for vmware Esxi, RRTP over Net, LDAP Server, Syslog Server
Qnap TS-412 4x1TB (RAID-5) Western Digital RE4 (WD1003FBYX)
My Offsite Backup, that i keep at parents
UPS: APC Backup Pro 550
Internet Connection: Fibre 40mb DOWN / 3mb UP
Corey3443
Starting out
 
Posts: 43
Joined: Fri Mar 04, 2011 1:18 pm
Location: Australia
NAS Model: TS-559 Pro II

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby paolomarino » Fri May 20, 2011 5:08 pm

Corey3443 wrote:i had edited the config, but i found it was loading the old settings.dat
deleted it and it works fine =)

ive got some free time this week, id be happy to set up a qkpg (if someone sends me the qnap sdk) or install script for this.


Yes. The utservet.conf will be loaded only the first time or if the settings.dat and settings.dat.old are both corrupted.
I am happy it works now :)
If you can setup a qkpg it will be wonderful.

note:
if you will receive error:?? when you add a torrent to the download list try this workaround:
http://forum.utorrent.com/viewtopic.php?id=97660
it works fine for me
Happy Qnap TS-509 Ultimate (Intel E7500+ SCYTHE Kozuti + 4GB Ram) Owner :)
User avatar
paolomarino
Know my way around
 
Posts: 156
Joined: Sat Jun 13, 2009 3:24 am
Location: Ironforge
NAS Model: TS-509 Pro

Re: uTorrent for Linux Out (It works) Someone want to Qkpg i

Postby silas » Thu Jun 16, 2011 11:53 pm

i have it already done and working on qnap intel-based nas as a qpkg package based on exactly the same file structure like a latest rtorrent x86
viewtopic.php?f=146&t=45802

i will publish it soon
Image Image Image Image Image Image Image Image Image Image Image Image

E-mail: silas[-_-]qnapclub.pl | Skype: silas_raverworld | Gadu-Gadu: 7662900
QNAP Club Poland | Developers repository: http://pool.qnapclub.pl/ | SysOp's Corner: http://www.rootmag.pl
User avatar
silas
Moderator
 
Posts: 1119
Joined: Sun Sep 09, 2007 6:59 am
Location: Poland
NAS Model: TS-509 Pro

PreviousNext

Return to Features Wanted

Who is online

Users browsing this forum: papalexo and 1 guest