aiuto per modificare rtorrent
aiuto per modificare rtorrent
Ciao a tutti, avrei bisogno di una mano dato che io non sono un esperto e non vorrei fare disastri!!!!ho 2 domande:
1- io vorrei aumentare il ratio di rtorrent per portarlo non 1:1 ma di più, andando sul file di configurazione .rtorrent.rc da putty ho visto una stringa che dice:
schedule = ratio,60,60,"stop_on_ratio=100"
dovrei cambiare questa stringa per ottenere ciò che voglio?? e basta solo cambiare il 100 con un 200 per ottenere un ratio doppio 2:1??
2- ho notato che c'è una versione di rtorrent più recente di quella che ho installato e vorrei aggiornarla, posso sovrascrivere sull'altra o devo disistallare prima la vecchia? devo fare qualche cosa di particolare??
Scusatemi forse per voi sono sciocchezza ma io dato che ci ho messo una vita per far funzionare il tutto sono terrorizzato a modificare qualche cosa..!!!
Ringrazio anticipatamente chiunque mi dia una mano!!!
ciaoooooo
kobb
1- io vorrei aumentare il ratio di rtorrent per portarlo non 1:1 ma di più, andando sul file di configurazione .rtorrent.rc da putty ho visto una stringa che dice:
schedule = ratio,60,60,"stop_on_ratio=100"
dovrei cambiare questa stringa per ottenere ciò che voglio?? e basta solo cambiare il 100 con un 200 per ottenere un ratio doppio 2:1??
2- ho notato che c'è una versione di rtorrent più recente di quella che ho installato e vorrei aggiornarla, posso sovrascrivere sull'altra o devo disistallare prima la vecchia? devo fare qualche cosa di particolare??
Scusatemi forse per voi sono sciocchezza ma io dato che ci ho messo una vita per far funzionare il tutto sono terrorizzato a modificare qualche cosa..!!!
Ringrazio anticipatamente chiunque mi dia una mano!!!
ciaoooooo
kobb
Synology DS 114 DSM 6
aiuto per modificare rtorrent
ho fatto un casino pazzesco.. non mi va più na mazza.. o meglio ho installato rtorrent nuovo, ho provato a seguire la guida postata ma ho fatto un disastro!!! cmq non mi importa di avere un interfaccia io lo sempre usato da putty e non mi crea problemi, l'unica cosa è che ora screen non mi va ed ogni volta che lo lancio (prima con screen rtorrent e poi per richiamare il tutto screen -r come facevo prima) mi dice :
[screen is terminating]
Non so più che fare... avete consigli per favore?? sono in panicoooooooooooo
[screen is terminating]
Non so più che fare... avete consigli per favore?? sono in panicoooooooooooo
Synology DS 114 DSM 6
aiuto per modificare rtorrent
Scusa ma perchè non usi rtorrent integrato?
- UPS: APC CS650; APC RS500
- GTW: Vigor2860n+3.8.9.1): Wan FTTC(100M/20M,1IP) + USB3G
- SWC: HP 1820G-24; HP 1810G-8
- NAS: DS1618+: DSM6.2(DSM 6.2-23739),4GB; VX(2xWD40EFRX); LAN:LAG(1+2),3,4
aiuto per modificare rtorrent
ci stavo pensando infatti.. solo che tempo fa non funzionava come rtorrent era moooooolto più lento, cmq ora lo riuserò sperando che le cose siano migliorate!!! anche perchè se no esco di testa... le ho provate tutte!!!!!
Synology DS 114 DSM 6
aiuto per modificare rtorrent
Fra qualche giorno esce la nuova realease ti conviene installare quella.
Rtorrent è equivalente a quello che hai installato.
Rtorrent è equivalente a quello che hai installato.
- UPS: APC CS650; APC RS500
- GTW: Vigor2860n+3.8.9.1): Wan FTTC(100M/20M,1IP) + USB3G
- SWC: HP 1820G-24; HP 1810G-8
- NAS: DS1618+: DSM6.2(DSM 6.2-23739),4GB; VX(2xWD40EFRX); LAN:LAG(1+2),3,4
aiuto per modificare rtorrent
Ciao, io ho un altro problemino... dovrei installare dei certificati per poter scaricare da un determinato server, mi han dato le istruzioni per installarli ma non ci son riuscito, o meglio mi da errore, mi han detto di far così:
1-entrare come root in ssh
2-dare il comando---> apt-get install openssl
3-digitare----> nano ./certs.sh
3-bis- potete creare quel file anche con altri editor,come preferite
4-incollarci dento il codice:
#!/bin/sh
TRACKER= (qui va il traker)
openssl s_client -connect $TRACKER:443 /dev/null | sed -n '/BEGIN CERTIFICATE/,/END CERTIFICATE/p' >> /etc/ssl/certs/$TRACKER.crt
openssl x509 -in /etc/ssl/certs/$TRACKER.crt -out /etc/ssl/certs/$TRACKER.der -outform DER
openssl x509 -in /etc/ssl/certs/$TRACKER.der -inform DER -out /etc/ssl/certs/$TRACKER.pem -outform PEM
c_rehash
unset TRACKER
5- digitare---> chmod +x ./certs.sh
6-digitare---> ./certs.sh
Ora avete i certificati "installati". Per poter caricarli con rtorrent,dovete,invece di avviarlo normalmente con il comando "rtorrent" utilizzare: "rtorrent -o
Questo è quello che mi è stato detto.. però mi da errore e non mi si installano, se qualcuno può aiutarmi mi farebbe un grande favore!!!
grazie e ciaoooooooooo
1-entrare come root in ssh
2-dare il comando---> apt-get install openssl
3-digitare----> nano ./certs.sh
3-bis- potete creare quel file anche con altri editor,come preferite
4-incollarci dento il codice:
#!/bin/sh
TRACKER= (qui va il traker)
openssl s_client -connect $TRACKER:443 /dev/null | sed -n '/BEGIN CERTIFICATE/,/END CERTIFICATE/p' >> /etc/ssl/certs/$TRACKER.crt
openssl x509 -in /etc/ssl/certs/$TRACKER.crt -out /etc/ssl/certs/$TRACKER.der -outform DER
openssl x509 -in /etc/ssl/certs/$TRACKER.der -inform DER -out /etc/ssl/certs/$TRACKER.pem -outform PEM
c_rehash
unset TRACKER
5- digitare---> chmod +x ./certs.sh
6-digitare---> ./certs.sh
Ora avete i certificati "installati". Per poter caricarli con rtorrent,dovete,invece di avviarlo normalmente con il comando "rtorrent" utilizzare: "rtorrent -o
Questo è quello che mi è stato detto.. però mi da errore e non mi si installano, se qualcuno può aiutarmi mi farebbe un grande favore!!!
grazie e ciaoooooooooo
Synology DS 114 DSM 6
-
- Utente
- Messaggi: 43
- Iscritto il: sabato 28 giugno 2008, 12:29
aiuto per modificare rtorrent
mi accodo alal richiesta di cui supra
-
- Utente
- Messaggi: 43
- Iscritto il: sabato 28 giugno 2008, 12:29
aiuto per modificare rtorrent
riuppino....
vi posto cosa mi dice il putty quando provo ad eseguire la procedura postata poco sopra
login as: root
[email protected]'s password:
BusyBox v1.1.0 (2008.09.19-12:27+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
DiskStation> apt-get install openssl
-ash: apt-get: not found
potrebbe essere questo il problema? bohhhhh
DiskStation> nano ./certs.sh
qua incollo la stringa come riportato salvo ed esco
DiskStation> chmod +x ./certs.sh
DiskStation> ./certs.sh
./certs.sh: ./certs.sh: 1: -----BEGIN: not found
BusyBox v1.1.0 (2008.09.19-12:27+0000) multi-call binary
Usage: sed [-efinr] pattern [files...]
./certs.sh: ./certs.sh: 7: cannot create /etc/ssl/certs/bitvaulttorrent.com.crt: Directory nonexistent
usage: x509 args
-inform arg - input format - default PEM (one of DER, NET or PEM)
-outform arg - output format - default PEM (one of DER, NET or PEM)
-keyform arg - private key format - default PEM
-CAform arg - CA format - default PEM
-CAkeyform arg - CA key format - default PEM
-in arg - input file - default stdin
-out arg - output file - default stdout
-passin arg - private key password source
-serial - print serial number value
-hash - print hash value
-subject - print subject DN
-issuer - print issuer DN
-email - print email address(es)
-startdate - notBefore field
-enddate - notAfter field
-purpose - print out certificate purposes
-dates - both Before and After dates
-modulus - print the RSA key modulus
-pubkey - output the public key
-fingerprint - print the certificate fingerprint
-alias - output certificate alias
-noout - no certificate output
-ocspid - print OCSP hash values for the subject name and public key
-trustout - output a "trusted" certificate
-clrtrust - clear all trusted purposes
-clrreject - clear all rejected purposes
-addtrust arg - trust certificate for a given purpose
-addreject arg - reject certificate for a given purpose
-setalias arg - set certificate alias
-days arg - How long till expiry of a signed certificate - def 30 days
-checkend arg - check whether the cert expires in the next arg seconds
exit 1 if so, 0 if not
-signkey arg - self sign cert with arg
-x509toreq - output a certification request object
-req - input is a certificate request, sign and output.
-CA arg - set the CA certificate, must be PEM format.
-CAkey arg - set the CA key, must be PEM format
missing, it is assumed to be in the CA file.
-CAcreateserial - create serial number file if it does not exist
-CAserial arg - serial file
-set_serial - serial number to use
-text - print the certificate in text form
-C - print out C code forms
-md2/-md5/-sha1/-mdc2 - digest to use
-extfile - configuration file with X509V3 extensions to add
-extensions - section from config file with X509V3 extensions to add
-clrext - delete extensions before signing and input certificate
-nameopt arg - various certificate name options
-engine e - use engine e, possibly a hardware device.
-certopt arg - various certificate text options
./certs.sh: ./certs.sh: 9: /etc/ssl/certs/bitvaulttorrent.com.der: not found
usage: x509 args
-inform arg - input format - default PEM (one of DER, NET or PEM)
-outform arg - output format - default PEM (one of DER, NET or PEM)
-keyform arg - private key format - default PEM
-CAform arg - CA format - default PEM
-CAkeyform arg - CA key format - default PEM
-in arg - input file - default stdin
-out arg - output file - default stdout
-passin arg - private key password source
-serial - print serial number value
-hash - print hash value
-subject - print subject DN
-issuer - print issuer DN
-email - print email address(es)
-startdate - notBefore field
-enddate - notAfter field
-purpose - print out certificate purposes
-dates - both Before and After dates
-modulus - print the RSA key modulus
-pubkey - output the public key
-fingerprint - print the certificate fingerprint
-alias - output certificate alias
-noout - no certificate output
-ocspid - print OCSP hash values for the subject name and public key
-trustout - output a "trusted" certificate
-clrtrust - clear all trusted purposes
-clrreject - clear all rejected purposes
-addtrust arg - trust certificate for a given purpose
-addreject arg - reject certificate for a given purpose
-setalias arg - set certificate alias
-days arg - How long till expiry of a signed certificate - def 30 days
-checkend arg - check whether the cert expires in the next arg seconds
exit 1 if so, 0 if not
-signkey arg - self sign cert with arg
-x509toreq - output a certification request object
-req - input is a certificate request, sign and output.
-CA arg - set the CA certificate, must be PEM format.
-CAkey arg - set the CA key, must be PEM format
missing, it is assumed to be in the CA file.
-CAcreateserial - create serial number file if it does not exist
-CAserial arg - serial file
-set_serial - serial number to use
-text - print the certificate in text form
-C - print out C code forms
-md2/-md5/-sha1/-mdc2 - digest to use
-extfile - configuration file with X509V3 extensions to add
-extensions - section from config file with X509V3 extensions to add
-clrext - delete extensions before signing and input certificate
-nameopt arg - various certificate name options
-engine e - use engine e, possibly a hardware device.
-certopt arg - various certificate text options
./certs.sh: ./certs.sh: 11: /etc/ssl/certs/bitvaulttorrent.com.pem: not found
./certs.sh: ./certs.sh: 12: c_rehash: not found
./certs.sh: ./certs.sh: 15: -----END: not found
DiskStation>
Le istruzioni finali dicono di:
Ora avete i certificati "installati". Per poter caricarli con rtorrent,dovete,invece di avviarlo normalmente con il comando "rtorrent" utilizzare: "rtorrent -o http_capath=/etc/ssl/certs" per ogni sessione aperta,e poi lo potete utilizzare normalmente.
Io provo a digitare la stringa sul putty e mi si aprew la finestra di rtorrent che pero' non so utlizzare.... apro la dlstation ma non va nessun download dal tracker incriminato, viaggiano solo gli up che avevo in linea prima del cambiamento dei certificati.
Il problema nasce dal fatto, secondo me, che il tracker indirizza su htpps mentre la stragrande maggiroanza indirizza su http....
please hel pme!!!
ho un invito ancora da dare ma senza soluzione noi poveri nassiani siamo 8-[
e se cambiassi firm? ora ho il DSM 2.0-0722 del 2008/09/19
vi posto cosa mi dice il putty quando provo ad eseguire la procedura postata poco sopra
login as: root
[email protected]'s password:
BusyBox v1.1.0 (2008.09.19-12:27+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
DiskStation> apt-get install openssl
-ash: apt-get: not found
potrebbe essere questo il problema? bohhhhh
DiskStation> nano ./certs.sh
qua incollo la stringa come riportato salvo ed esco
DiskStation> chmod +x ./certs.sh
DiskStation> ./certs.sh
./certs.sh: ./certs.sh: 1: -----BEGIN: not found
BusyBox v1.1.0 (2008.09.19-12:27+0000) multi-call binary
Usage: sed [-efinr] pattern [files...]
./certs.sh: ./certs.sh: 7: cannot create /etc/ssl/certs/bitvaulttorrent.com.crt: Directory nonexistent
usage: x509 args
-inform arg - input format - default PEM (one of DER, NET or PEM)
-outform arg - output format - default PEM (one of DER, NET or PEM)
-keyform arg - private key format - default PEM
-CAform arg - CA format - default PEM
-CAkeyform arg - CA key format - default PEM
-in arg - input file - default stdin
-out arg - output file - default stdout
-passin arg - private key password source
-serial - print serial number value
-hash - print hash value
-subject - print subject DN
-issuer - print issuer DN
-email - print email address(es)
-startdate - notBefore field
-enddate - notAfter field
-purpose - print out certificate purposes
-dates - both Before and After dates
-modulus - print the RSA key modulus
-pubkey - output the public key
-fingerprint - print the certificate fingerprint
-alias - output certificate alias
-noout - no certificate output
-ocspid - print OCSP hash values for the subject name and public key
-trustout - output a "trusted" certificate
-clrtrust - clear all trusted purposes
-clrreject - clear all rejected purposes
-addtrust arg - trust certificate for a given purpose
-addreject arg - reject certificate for a given purpose
-setalias arg - set certificate alias
-days arg - How long till expiry of a signed certificate - def 30 days
-checkend arg - check whether the cert expires in the next arg seconds
exit 1 if so, 0 if not
-signkey arg - self sign cert with arg
-x509toreq - output a certification request object
-req - input is a certificate request, sign and output.
-CA arg - set the CA certificate, must be PEM format.
-CAkey arg - set the CA key, must be PEM format
missing, it is assumed to be in the CA file.
-CAcreateserial - create serial number file if it does not exist
-CAserial arg - serial file
-set_serial - serial number to use
-text - print the certificate in text form
-C - print out C code forms
-md2/-md5/-sha1/-mdc2 - digest to use
-extfile - configuration file with X509V3 extensions to add
-extensions - section from config file with X509V3 extensions to add
-clrext - delete extensions before signing and input certificate
-nameopt arg - various certificate name options
-engine e - use engine e, possibly a hardware device.
-certopt arg - various certificate text options
./certs.sh: ./certs.sh: 9: /etc/ssl/certs/bitvaulttorrent.com.der: not found
usage: x509 args
-inform arg - input format - default PEM (one of DER, NET or PEM)
-outform arg - output format - default PEM (one of DER, NET or PEM)
-keyform arg - private key format - default PEM
-CAform arg - CA format - default PEM
-CAkeyform arg - CA key format - default PEM
-in arg - input file - default stdin
-out arg - output file - default stdout
-passin arg - private key password source
-serial - print serial number value
-hash - print hash value
-subject - print subject DN
-issuer - print issuer DN
-email - print email address(es)
-startdate - notBefore field
-enddate - notAfter field
-purpose - print out certificate purposes
-dates - both Before and After dates
-modulus - print the RSA key modulus
-pubkey - output the public key
-fingerprint - print the certificate fingerprint
-alias - output certificate alias
-noout - no certificate output
-ocspid - print OCSP hash values for the subject name and public key
-trustout - output a "trusted" certificate
-clrtrust - clear all trusted purposes
-clrreject - clear all rejected purposes
-addtrust arg - trust certificate for a given purpose
-addreject arg - reject certificate for a given purpose
-setalias arg - set certificate alias
-days arg - How long till expiry of a signed certificate - def 30 days
-checkend arg - check whether the cert expires in the next arg seconds
exit 1 if so, 0 if not
-signkey arg - self sign cert with arg
-x509toreq - output a certification request object
-req - input is a certificate request, sign and output.
-CA arg - set the CA certificate, must be PEM format.
-CAkey arg - set the CA key, must be PEM format
missing, it is assumed to be in the CA file.
-CAcreateserial - create serial number file if it does not exist
-CAserial arg - serial file
-set_serial - serial number to use
-text - print the certificate in text form
-C - print out C code forms
-md2/-md5/-sha1/-mdc2 - digest to use
-extfile - configuration file with X509V3 extensions to add
-extensions - section from config file with X509V3 extensions to add
-clrext - delete extensions before signing and input certificate
-nameopt arg - various certificate name options
-engine e - use engine e, possibly a hardware device.
-certopt arg - various certificate text options
./certs.sh: ./certs.sh: 11: /etc/ssl/certs/bitvaulttorrent.com.pem: not found
./certs.sh: ./certs.sh: 12: c_rehash: not found
./certs.sh: ./certs.sh: 15: -----END: not found
DiskStation>
Le istruzioni finali dicono di:
Ora avete i certificati "installati". Per poter caricarli con rtorrent,dovete,invece di avviarlo normalmente con il comando "rtorrent" utilizzare: "rtorrent -o http_capath=/etc/ssl/certs" per ogni sessione aperta,e poi lo potete utilizzare normalmente.
Io provo a digitare la stringa sul putty e mi si aprew la finestra di rtorrent che pero' non so utlizzare.... apro la dlstation ma non va nessun download dal tracker incriminato, viaggiano solo gli up che avevo in linea prima del cambiamento dei certificati.
Il problema nasce dal fatto, secondo me, che il tracker indirizza su htpps mentre la stragrande maggiroanza indirizza su http....
please hel pme!!!
ho un invito ancora da dare ma senza soluzione noi poveri nassiani siamo 8-[
e se cambiassi firm? ora ho il DSM 2.0-0722 del 2008/09/19
-
- Utente
- Messaggi: 10
- Iscritto il: mercoledì 17 dicembre 2008, 18:44
aiuto per modificare rtorrent
ciao,
dopo lunga e penosa malattia forse ho trovato una soluzione....
in pratica ho fatto così :
- installi openssl
- crei una cartella che contenga i certificati. (io ho messo /opt/certs/)
- dai questo comando : openssl s_client -connect bitvaulttorrent.com:443 -showcerts
- ti esce una pappardela, ti prendi tutto quello che sta tra "-----BEGIN CERTIFICATE-----" e "-----END CERTIFICATE-----" (compresi) e lo incolli in un file che chiamerai "bitvaulttorrent_com.pem" messo nella cartella dei certificati che hai creato prima.
- scarichi (sempre nella cartella dei certificati) il file con i certificati delle authority con questo comando : wget http://prdownloads.sourc...onuts/cert.pem?download
- scarichi nella cartella /root/ questo script : wget http://web.mit.edu/crypto/bin/c_rehash
- installi perl : ipkg install perl (alla fine di tutto lo puoi anche togliere perhè serve solo per lo script sopra)
- vai nelle cartella dei certificati e dai questo comando : perl /root/c_rehash [cartella certificati] (per me /opt/certs)
- apri il file di configurazione di rtorrent (di solito /root/.rtorrent.rc) e da qualche parte aggiungi questa riga : http_capath = /opt/certs/ (la cartella dei certificati)
riavvia rtorrent e dovrebbe andare. almeno a me ha funzionato.
dopo lunga e penosa malattia forse ho trovato una soluzione....
in pratica ho fatto così :
- installi openssl
- crei una cartella che contenga i certificati. (io ho messo /opt/certs/)
- dai questo comando : openssl s_client -connect bitvaulttorrent.com:443 -showcerts
- ti esce una pappardela, ti prendi tutto quello che sta tra "-----BEGIN CERTIFICATE-----" e "-----END CERTIFICATE-----" (compresi) e lo incolli in un file che chiamerai "bitvaulttorrent_com.pem" messo nella cartella dei certificati che hai creato prima.
- scarichi (sempre nella cartella dei certificati) il file con i certificati delle authority con questo comando : wget http://prdownloads.sourc...onuts/cert.pem?download
- scarichi nella cartella /root/ questo script : wget http://web.mit.edu/crypto/bin/c_rehash
- installi perl : ipkg install perl (alla fine di tutto lo puoi anche togliere perhè serve solo per lo script sopra)
- vai nelle cartella dei certificati e dai questo comando : perl /root/c_rehash [cartella certificati] (per me /opt/certs)
- apri il file di configurazione di rtorrent (di solito /root/.rtorrent.rc) e da qualche parte aggiungi questa riga : http_capath = /opt/certs/ (la cartella dei certificati)
riavvia rtorrent e dovrebbe andare. almeno a me ha funzionato.
aiuto per modificare rtorrent
scusa ma rtorrent che avvio da riga di comando è lo stesso che si usa con il browser del synology? se è così nn dovrei vedere i torrent quando li metto a scaricare da riga di comando?
un'ultima domanda: a me nella root nn c'era il file di configurazione di rtorrent (.rtorrent.rc) dove cavolo lo posso trovare?
Ciao e grazie
un'ultima domanda: a me nella root nn c'era il file di configurazione di rtorrent (.rtorrent.rc) dove cavolo lo posso trovare?
Ciao e grazie