Difference between revisions of "TorrentFlux-b4rt"
(Added link to compiled transmissioncli, extra notes) |
(→TorrentFlux-b4rt) |
||
Line 1: | Line 1: | ||
== TorrentFlux-b4rt == | == TorrentFlux-b4rt == | ||
− | Wanted to directly download movies/series onto my AppleTV. | + | Wanted to directly download movies/series onto my AppleTV. After trial and error, managed to get |
− | + | TorrentFlux-b4rt working. | |
− | Can now download directly onto AppleTV using my preferred usenet supplier (easynews) web interface | + | Can now download directly onto AppleTV using my preferred usenet supplier (easynews) web interface, |
+ | as well als download torrents with transmissioncli | ||
Below is the (first) dump of my notes during installation. | Below is the (first) dump of my notes during installation. |
Latest revision as of 11:44, 12 April 2008
Contents
TorrentFlux-b4rt
Wanted to directly download movies/series onto my AppleTV. After trial and error, managed to get TorrentFlux-b4rt working.
Can now download directly onto AppleTV using my preferred usenet supplier (easynews) web interface, as well als download torrents with transmissioncli
Below is the (first) dump of my notes during installation.
My Installation Notes
Make a safe(r) installation
Upload following files from ISO:
nohup which uptime wget (from http://wiki.awkwardtv.org/wiki/Apple_TV_Binaries ) bunzip2 du
And
chmod 755 nohup which uptime wget bunzip2 du chown root:wheel nohup which uptime wget bunzip2 du
Upload following packages from ISO:
bzip2-9.root.tar.bz2 curl-28.root.tar.bz2 gnuzip-19.root.tar.bz2 top-15.root.tar.bz2 vim-13.root.tar.bz2 zip-6.root.tar.bz2
Now:
sudo mount -uw /
And copy/untar the files into correct locations (/usr/bin and untar with -C / option)
- vi /etc/sshd_config:
PermitPasswordLogin: no ChallengeResponseAuthentication: no
- Make sure your public/private key login works (test it!) and:
reboot
Install XAMPP (and disable most of it afterwards)
- Downloaded XAMPP
- Follow the installation guide on http://wiki.awkwardtv.org/wiki/XAMMP_-_Apache/MySQL/PHP5/Perl
After installation, move XAMPP files out of the system disk (not needed, but this allows you to boot with the system still mounted read-only):
/Applications/xampp/xamppfiles/mampp stop mv /Applications /mnt/Scratch ln -s /mnt/Scratch/Applications /Applications
- mkdir ~/htdocs
/Applications/xampp/xamppfiles/mampp StopFTP /Applications/xampp/xamppfiles/mampp StopSSL
- edit httpd.conf, remove all AliasMappings and point DocumentRoot to your ~/htdocs
/Applications/xampp/xamppfiles/mampp start
If everything works, make XAMPP autostart
If you want, do setHostName etc.
Set path and add xamppfiles/bin to it.
Install torrentflux-b4rt
Download latest version (beta2) and install torrentflux-b4rt [3]
- Set register_globals: off
- Must set php path yourself
- Set various other paths as well
- Download a compiled version of transmissioncli 1.10 from http://www.kiobi.com/transmissioncli-1.10.tgz
Missing sockstat binary on AppleTV: fix portlist function
In inc/functions/functions.core.netstat.php - function netstatPortList()
replace case2 statement with:
case 2: // bsd // JPD : Hardcoded AppleTV transmissioncli fix // $processUser = posix_getpwuid(posix_geteuid()); // $webserverUser = $processUser['name']; // $retStr .= shell_exec($cfg['bin_sockstat']." -4 -l -P tcp | ".$cfg['bin_awk']." '/(python|transmissi|wget|nzbperl|java).+\*:[0-9]/ {split(\$6, a, \":\");print a[2]}'"); $retStr .= shell_exec("ps ax | grep transmissioncli | grep -v grep | awk '{print \$11}'"); break;
Tip: Authentication Patch
In ClientHandler.wget.php - inject method:
$url = str_replace("http://downloads.members.easynews.com", "http://username:password@downloads.members.easynews.com", $url)
This allows copy&pasting easynews URL's into the wget box. Can ofcourse be replaced by your favorite newsprovider