PDA

View Full Version : Torrent client for Premium only



valerica
18-06-2009, 09:33 AM
I modified a file in order to make az torrent client work like an emu .
All files r located in Public Upload , can't upload here .
Here's how 2 :
a)Join all archives with hjsplit & unrar.
b)FTP folders & files 2 directories like u c them in the archive
c)Modify if necessary opencas.conf & module.seq to meet yr requirements .
d)Reboot receiver.
e)Go to yr tracker & save .torrent hash.
e)In yr Firefox browser (IE not working) go to
http://AZBOX_IP_ADRESS:9091/transmission/web/
(web interface in azbox) & open yr already downloaded .torrent link .
Now yr az will leeach & seed the file(s) . Any other emu will work at the same time with az torrent client .

Cheers ,
Val .

valerica
18-06-2009, 09:57 AM
An update for a) : unrar , no need to join files , only 1 archive .


Cheers ,
Val .

valerica
11-08-2009, 06:40 PM
Latest transmission 1.73-1 compiled for azbox in the attachm .
Here's how 2 :
a)Stop torrent if running ;
b)Replace 3 files from /bin folder with the ones from .rar archive ;
c)Activate "torrent" from plug-ins & start/restart it .
Some new features :
- u can use now IE browser;
- more stability & increase speed compared 2 old 1.42 vers. ;

Cheers ,
Val .

casper.casper
24-11-2009, 11:58 PM
I'm running torrent client transmission version 1.42 in my azbox premium without problems.
I want to update to 1.73.
I copy the 3 files for version 1.73 in the bin folder of the program.
But when i launch the script trstart.sh an error ocurred.

Where u obtain this version? it doesn't work for me

valerica
25-11-2009, 11:45 AM
I used this :
https://www.satpimps.co.uk/showthread.php?t=112665
Now u can compile 176-1 vers. available on the server .

Cheers ,
Val .

fundidun
27-11-2009, 05:01 PM
Valerica I try to install from the server last night vers 176-1. but I could not tear it always gives me the same error


MMP[/]$ ipkg instal transmission
Configuring transmission
/opt/etc/init.d/S90transmission: line 12: [: =: unary operator expected
Segmentation fault
postinst script returned status 139
ERROR: transmission.postinst returned 139
Nothing to be done
Successfully terminated.
MMP[/]$

Tells me how the built and installed, I did not have the version 142 in my azbox before, is a clean installation

It's like missing files, I edited the line 12 by putting the IP but continues azbox failure.


MMP[/]$ cat /opt/etc/init.d/S90transmission
#!/bin/sh
#
# Transmission daemon start script
#
TM_DOWNLOAD=/opt/download
TM_CONFIG=/opt/etc/transmission/.config
TM=/opt/bin/transmission-daemon

start() {
[ -e /opt/etc/default/transmission ] && . /opt/etc/default/transmission

if [ ${TM_ENABLE} = false ] ; then
echo "transmission is disabled in /opt/etc/default/trasmission"
exit 0
fi


$TM -w $TM_DOWNLOAD -a *.*.*.* -g $TM_CONFIG -T el original aparece asi, yo le pongo la ip del deco en los *
}

stop() {
killall -9 transmission-daemon
}

restart() {
stop
start
}

case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac

exit $?

MMP[/]$

Help me, please

valerica
27-11-2009, 10:41 PM
Yse this script in S90 :


#!/bin/sh
#
# Transmission daemon start script
#
TM_DOWNLOAD=/opt/download
TM_CONFIG=/opt/etc/transmission/.config
TM=/opt/bin/transmission-daemon

start() {
[ -e /opt/etc/default/transmission ] && . /opt/etc/default/transmission

if [ ${TM_ENABLE} = false ] ; then
echo "transmission is disabled in /opt/etc/default/trasmission"
exit 0
fi


$TM -w $TM_DOWNLOAD -a *.*.*.* -g $TM_CONFIG -T
}

stop() {
killall -9 transmission-daemon
}

restart() {
stop
start
}

case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac

exit $?

and try again .

Cheers ,
Val .

fundidun
28-11-2009, 01:40 PM
Hello Valerica not know if I'm doing something wrong.

Discharge the transmission with ipkg, I modify the S90transmission


#!/bin/sh
#
# Transmission daemon start script
#
TM_DOWNLOAD=/opt/download
TM_CONFIG=/opt/etc/transmission/.config
TM=/opt/bin/transmission-daemon

start() {
[ -e /opt/etc/default/transmission ] && . /opt/etc/default/transmission

if [ ${TM_ENABLE} = false ] ; then
echo "transmission is disabled in /opt/etc/default/trasmission"
exit 0
fi


$TM -w $TM_DOWNLOAD -a 192.168.1.4 -g $TM_CONFIG -T
}

stop() {
killall -9 transmission-daemon
}

restart() {
stop
start
}

case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac

exit $?

Then turn off and on the receiver

and I direct the browser to configure http://192.168.1.4:9091/transmission/web/.

But the Web is not transmission, indicating to me the steps to install it.

Thanks

casper.casper
28-11-2009, 06:36 PM
I instaled yesterday this version and works ok for me.

Try to put a ip range not an ip adress if your Azbox its Ip 192.168.1.4 put in the line of the script 192.168.1.*
Now a computer with an ip in the range can conect with transmission by web, but if u put 192.168.1.4 only the azbox can conect by web and another computer can't.
I think that it's the problem.

Try this change and good luck.

fundidun
28-11-2009, 06:52 PM
Hi Casper, I modified the data and still not working.

Could you tell me how you installed?

I download transmission by ipkg

Ta S90transmission modify the file as you tell me

$TM -w $TM_DOWNLOAD -a 192.168.1. -g $TM_CONFIG -T

save and turn off and turn on my receiver

Try entering the web to configure it but I can not, and 9091 ports are open on the router.

Do I have to change or give any other file attributes?

Does it have to be the receiver on or in standby that up?

Do you need some plugin installed pair that works?

crontab or something similar

My firmware is azbox-0.9.3911-patch.bin

transmission - 1.76-1 - Lightweight BitTorrent client and daemon, with web interface bundled.


MMP[/]$ ipkg upgrade transmission
Configuring transmission
/opt/etc/init.d/S90transmission: line 12: [: =: unary operator expected
Segmentation fault
postinst script returned status 139
ERROR: transmission.postinst returned 139
Nothing to be done
Successfully terminated.
MMP[/]$


This already has me a little ****ed jajajja

casper.casper
28-11-2009, 08:06 PM
Hi, Change this line

$TM -w $TM_DOWNLOAD -a 192.168.1. -g $TM_CONFIG -T

for

$TM -w $TM_DOWNLOAD -a 192.168.1.* -g $TM_CONFIG -T

and it'll be done

casper.casper
28-11-2009, 08:42 PM
Well if the above doesn't work. I installed with ipkg

ipkg install transmission

like u

itsn't necesary to do nothing more.

If u are using the script S90transmission is for start transmission on startup

I start transmission manual by telnet and kill by telnet too. You can try my script to start transmission:

#!/bin/sh
killall transmission-daemon
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/DATA/hdb1/opt/lib
export CLUTCH_HOME=/DATA/hdb1/opt/share/transmission/web/
/DATA/hdb1/opt/bin/transmission-daemon -w /DATA/hdb1/download/torrents -a 192.168.2.* -g /DATA/hdb1/download/torrents/.config -T

It's necesary to check paths and ip. Put into a file like trstart.sh and launch it.
then check with ps if transmission-daemon are executing in ur azbox

fundidun
28-11-2009, 09:37 PM
Casper jajaja I leave but I can not think something is not right on the downloaded file, I followed all your instructions and continue as always gives the same error.


MMP[transmission]$ ./trstart.sh
killall: transmission-daemon: no process killed
Segmentation fault


MMP[/]$ find | grep transmission

./opt/etc/init.d/S90transmission
./opt/etc/transmission.conf
./opt/etc/transmission
./opt/etc/transmission/.config
./opt/etc/transmission/trstart.sh
./opt/lib/ipkg/info/transmissiond.control
./opt/lib/ipkg/info/transmissiond.postinst
./opt/lib/ipkg/info/transmissiond.conffiles
./opt/lib/ipkg/info/transmissiond.list
./opt/lib/ipkg/info/transmission.control
./opt/lib/ipkg/info/transmission.prerm
./opt/lib/ipkg/info/transmission.postinst
./opt/lib/ipkg/info/transmission.conffiles
./opt/lib/ipkg/info/transmission.list
./opt/sbin/transmission_watchdog
./opt/bin/transmissiond
./opt/bin/transmission-daemon
./opt/bin/transmission-remote
./opt/bin/transmissioncli
./opt/share/man/man1/transmission-daemon.1
./opt/share/man/man1/transmission-remote.1
./opt/share/man/man1/transmissioncli.1
./opt/share/www/cgi-bin/transmission.cgi
./opt/share/doc/transmission
./opt/share/doc/transmission/ChangeLog
./opt/share/doc/transmission/COPYING
./opt/share/doc/transmission/NEWS
./opt/share/doc/transmission/README
./opt/share/doc/transmissiond
./opt/share/doc/transmissiond/NEWS
./opt/share/doc/transmissiond/README.daemon
./opt/share/transmission
./opt/share/transmission/web
./opt/share/transmission/web/index.html
./opt/share/transmission/web/LICENSE
./opt/share/transmission/web/images
./opt/share/transmission/web/images/buttons
./opt/share/transmission/web/images/buttons/tab_backgrounds.png
./opt/share/transmission/web/images/buttons/toolbar_buttons.png
./opt/share/transmission/web/images/buttons/info_general.png
./opt/share/transmission/web/images/buttons/torrent_buttons.png
./opt/share/transmission/web/images/buttons/info_activity.png
./opt/share/transmission/web/images/buttons/file_priority_buttons.png
./opt/share/transmission/web/images/buttons/file_wanted_buttons.png
./opt/share/transmission/web/images/buttons/info_files.png
./opt/share/transmission/web/images/graphics
./opt/share/transmission/web/images/graphics/logo.png
./opt/share/transmission/web/images/graphics/chrome.png
./opt/share/transmission/web/images/graphics/iphone_chrome.png
./opt/share/transmission/web/images/graphics/filter_bar.png
./opt/share/transmission/web/images/graphics/filter_icon.png
./opt/share/transmission/web/images/graphics/transfer_arrows.png
./opt/share/transmission/web/images/favicon.ico
./opt/share/transmission/web/images/favicon.png
./opt/share/transmission/web/images/webclip-icon.png
./opt/share/transmission/web/images/progress
./opt/share/transmission/web/images/progress/progress.png
./opt/share/transmission/web/stylesheets
./opt/share/transmission/web/stylesheets/iphone.css
./opt/share/transmission/web/stylesheets/common.css
./opt/share/transmission/web/stylesheets/ie6.css
./opt/share/transmission/web/stylesheets/ie7.css
./opt/share/transmission/web/**********
./opt/share/transmission/web/**********/jquery
./opt/share/transmission/web/**********/jquery/json.min.js
./opt/share/transmission/web/**********/jquery/jquery.contextmenu.min.js
./opt/share/transmission/web/**********/jquery/jquery.min.js
./opt/share/transmission/web/**********/jquery/jquery.form.min.js
./opt/share/transmission/web/**********/jquery/jquery.transmenu.min.js
./opt/share/transmission/web/**********/menu.js
./opt/share/transmission/web/**********/dialog.js
./opt/share/transmission/web/**********/transmission.js
./opt/share/transmission/web/**********/transmission.remote.js
./opt/share/transmission/web/**********/common.js
./opt/share/transmission/web/**********/torrent.js
./DATA/hdb1/opt/etc/init.d/S90transmission
./DATA/hdb1/opt/etc/transmission.conf
./DATA/hdb1/opt/etc/transmission
./DATA/hdb1/opt/etc/transmission/.config
./DATA/hdb1/opt/etc/transmission/trstart.sh
./DATA/hdb1/opt/lib/ipkg/info/transmissiond.control
./DATA/hdb1/opt/lib/ipkg/info/transmissiond.postinst
./DATA/hdb1/opt/lib/ipkg/info/transmissiond.conffiles
./DATA/hdb1/opt/lib/ipkg/info/transmissiond.list
./DATA/hdb1/opt/lib/ipkg/info/transmission.control
./DATA/hdb1/opt/lib/ipkg/info/transmission.prerm
./DATA/hdb1/opt/lib/ipkg/info/transmission.postinst
./DATA/hdb1/opt/lib/ipkg/info/transmission.conffiles
./DATA/hdb1/opt/lib/ipkg/info/transmission.list
./DATA/hdb1/opt/sbin/transmission_watchdog
./DATA/hdb1/opt/bin/transmissiond
./DATA/hdb1/opt/bin/transmission-daemon
./DATA/hdb1/opt/bin/transmission-remote
./DATA/hdb1/opt/bin/transmissioncli
./DATA/hdb1/opt/share/man/man1/transmission-daemon.1
./DATA/hdb1/opt/share/man/man1/transmission-remote.1
./DATA/hdb1/opt/share/man/man1/transmissioncli.1
./DATA/hdb1/opt/share/www/cgi-bin/transmission.cgi
./DATA/hdb1/opt/share/doc/transmission
./DATA/hdb1/opt/share/doc/transmission/ChangeLog
./DATA/hdb1/opt/share/doc/transmission/COPYING
./DATA/hdb1/opt/share/doc/transmission/NEWS
./DATA/hdb1/opt/share/doc/transmission/README
./DATA/hdb1/opt/share/doc/transmissiond
./DATA/hdb1/opt/share/doc/transmissiond/NEWS
./DATA/hdb1/opt/share/doc/transmissiond/README.daemon
./DATA/hdb1/opt/share/transmission
./DATA/hdb1/opt/share/transmission/web
./DATA/hdb1/opt/share/transmission/web/index.html
./DATA/hdb1/opt/share/transmission/web/LICENSE
./DATA/hdb1/opt/share/transmission/web/images
./DATA/hdb1/opt/share/transmission/web/images/buttons
./DATA/hdb1/opt/share/transmission/web/images/buttons/tab_backgrounds.png
./DATA/hdb1/opt/share/transmission/web/images/buttons/toolbar_buttons.png
./DATA/hdb1/opt/share/transmission/web/images/buttons/info_general.png
./DATA/hdb1/opt/share/transmission/web/images/buttons/torrent_buttons.png
./DATA/hdb1/opt/share/transmission/web/images/buttons/info_activity.png
./DATA/hdb1/opt/share/transmission/web/images/buttons/file_priority_buttons.png
./DATA/hdb1/opt/share/transmission/web/images/buttons/file_wanted_buttons.png
./DATA/hdb1/opt/share/transmission/web/images/buttons/info_files.png
./DATA/hdb1/opt/share/transmission/web/images/graphics
./DATA/hdb1/opt/share/transmission/web/images/graphics/logo.png
./DATA/hdb1/opt/share/transmission/web/images/graphics/chrome.png
./DATA/hdb1/opt/share/transmission/web/images/graphics/iphone_chrome.png
./DATA/hdb1/opt/share/transmission/web/images/graphics/filter_bar.png
./DATA/hdb1/opt/share/transmission/web/images/graphics/filter_icon.png
./DATA/hdb1/opt/share/transmission/web/images/graphics/transfer_arrows.png
./DATA/hdb1/opt/share/transmission/web/images/favicon.ico
./DATA/hdb1/opt/share/transmission/web/images/favicon.png
./DATA/hdb1/opt/share/transmission/web/images/webclip-icon.png
./DATA/hdb1/opt/share/transmission/web/images/progress
./DATA/hdb1/opt/share/transmission/web/images/progress/progress.png
./DATA/hdb1/opt/share/transmission/web/stylesheets
./DATA/hdb1/opt/share/transmission/web/stylesheets/iphone.css
./DATA/hdb1/opt/share/transmission/web/stylesheets/common.css
./DATA/hdb1/opt/share/transmission/web/stylesheets/ie6.css
./DATA/hdb1/opt/share/transmission/web/stylesheets/ie7.css
./DATA/hdb1/opt/share/transmission/web/**********
./DATA/hdb1/opt/share/transmission/web/**********/jquery
./DATA/hdb1/opt/share/transmission/web/**********/jquery/json.min.js
./DATA/hdb1/opt/share/transmission/web/**********/jquery/jquery.contextmenu.min.js
./DATA/hdb1/opt/share/transmission/web/**********/jquery/jquery.min.js
./DATA/hdb1/opt/share/transmission/web/**********/jquery/jquery.form.min.js
./DATA/hdb1/opt/share/transmission/web/**********/jquery/jquery.transmenu.min.js
./DATA/hdb1/opt/share/transmission/web/**********/menu.js
./DATA/hdb1/opt/share/transmission/web/**********/dialog.js
./DATA/hdb1/opt/share/transmission/web/**********/transmission.js
./DATA/hdb1/opt/share/transmission/web/**********/transmission.remote.js
./DATA/hdb1/opt/share/transmission/web/**********/common.js
./DATA/hdb1/opt/share/transmission/web/**********/torrent.js


MMP[/]$ ./opt/bin/transmission-daemon
Segmentation fault


MMP[/]$ ipkg update transmission
Downloading http://www.medialounge.ru/ipkg/azbox/stable//Packages
Updated list of available packages in /opt/lib/ipkg/lists/oleg
Successfully terminated.
MMP[/]$ ipkg upgrade transmission
Configuring transmission
/opt/etc/init.d/S90transmission: line 12: [: =: unary operator expected
Segmentation fault
postinst script returned status 139
ERROR: transmission.postinst returned 139
Nothing to be done
Successfully terminated.
MMP[/]$


nano S90transmission change $TM -w $TM_DOWNLOAD -a 192.168.1.* -g $TM_CONFIG -T

but no work for me :(

casper.casper
29-11-2009, 02:13 PM
Well, mi firmware is 0.9.3877

When i install ipkg like explain in the post https://www.satpimps.co.uk/showthread.php?t=112665 the link to the list of packages are http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ and it's diferent to yours.

This is my output for ipkg update.

AZBOX[~]$ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/optware
Successfully terminated.

Try to change the address for download packages into ipkg. You need to change <src> in /opt/etc/ipkg.conf

This is my ipkg.conf file:

#Uncomment the following line for native packages feed (if any)
#src/gz native http://ipkg.nslu2-linux.org/feeds/optware/oleg/native/stable
src/gz optware http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable
dest /opt/ /
#option verbose-wget

Try to unistall with ipkg remove transmission change ipkg.conf and install again with the other packages link.

By the other hand, perhaps ur azbox are full of memory ram use. Check with "free". You can insert swap memory and try to launch transmission again. For insert a file (not a partition, it's more easy for this purpose) watch this link http://www.azboxhd.es/foro/plugins-y-utilidades/3327-swap-para-azbox.html (It's necesary to change the path for your hard disk.


dd if=/dev/zero of=DATA/hdb1/swapfile bs=1024 count=102400
mkswap /DATA/hdb1/swapfile
swapon /DATA/hdb1/swapfile

With this instructions you create a file for swap and activate it for this time. It's necesary to create a script to launch the commands:

mkswap /DATA/hdb1/swapfile
swapon /DATA/hdb1/swapfile
at start time if you want to do the swap memory permanent. For testing purpose only do one time, and check with free that u have swap memory active.

Without swap:

total used free shared buffers
Mem: 101500 96192 5308 0 1040
Swap: 0 0 0
Total: 101500 96192 5308


With swap:

total used free shared buffers
Mem: 101500 96252 5248 0 1160
Swap: 102392 0 102392
Total: 203892 96252 107640

Activate swap memory and try to launch transmission.

fundidun
29-11-2009, 04:15 PM
:respect-059: :respect-059: :cup-006:


MMP[/]$ ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable//Packages
Updated list of available packages in /opt/lib/ipkg/lists/oleg
Successfully terminated.
MMP[/]$ free
total used free shared buffers
Mem: 101500 96376 5124 0 5564
Swap: 0 0 0
Total: 101500 96376 5124
MMP[/]$ dd if=/dev/zero of=DATA/hdb1/swapfile bs=1024 count=102400

MMP[/]$ mkswap /DATA/hdb1/swapfile
Setting up swapspace version 1, size = 45228032 bytes
MMP[/]$ swapon /DATA/hdb1/swapfile
MMP[/]$ free
total used free shared buffers
Mem: 101500 97720 3780 0 328
Swap: 44164 0 44164
Total: 145664 97720 47944
MMP[/]$

Installing transmission (1.76-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable//transmission_1.76-1_mipsel.ipk
Configuring transmission
Successfully terminated.

MMP[etc]$ ./trstart.sh
killall: transmission-daemon: no process killed

MMP[etc]$ ps

1588 root 1488 S /DATA/hdb1/opt/bin/transmission-daemon -w /DATA/hdb1/download/torrents -a 192.168.1.* -g /DATA/hdb1/download/torrents/.config -T
1589 root 1488 S /DATA/hdb1/opt/bin/transmission-daemon -w /DATA/hdb1/download/torrents -a 192.168.1.* -g /DATA/hdb1/download/torrents/.config -T
1590 root 1488 S /DATA/hdb1/opt/bin/transmission-daemon -w /DATA/hdb1/download/torrents -a 192.168.1.* -g /DATA/hdb1/download/torrents/.config -T




And works perfect !!!!!

The problem was the file that was down from another server that was corrupt.

casper thanks now I have to test that the court not EMUS not saturate the bandwidth of the home network.

Carries out, a manual if all goes well for you to install also members http://www.azboxhd.es/foro/foro.php

If not too much to ask, what do you usually use your preferences?


http://img209.imageshack.us/img209/8708/torrente.jpg

casper.casper
29-11-2009, 06:49 PM
I'm happy that u can run transmission now. The default config works ok for me.
You need to open port 51413 in ur router to ur azbox ip address like another p2p client.

You need to check how transmission works with ur EMUs. I don't have EMUs in my box.

I usually use transmission with my decoder in standby, and i stop the transmission-daemon when i'm watching tv or recording anything.

Cheers,