Forum

Full Version: [Part 1] Download torrent & newsserver package
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
You can do something like this:
Code:
mkdir /media/usb/downloads
mkdir /media/usb/incomplete
cp -R /home/xbian/downloads/* /media/usb/downloads/
cp -R /home/xbian/incomplete/* /media/usb/incomplete/
rm -r /home/xbian/downloads
rm -r /home/xbian/incomplete
ln -s /media/usb/downloads /home/xbian/downloads
ln -s /media/usb/incomplete /home/xbian/incomplete
Terminal

xbian@xbian:~# mkdir /media/usb/downloads
xbian@xbian:~# mkdir /media/usb/incomplete
xbian@xbian:~# cp -R /home/xbian/downloads/* /media/usb/downloads/
cp: cannot stat `/home/xbian/downloads/*': No such file or directory
xbian@xbian:~# sudo su
+root@xbian:/home/xbian# mkdir /media/usb/downloads
mkdir: cannot create directory `/media/usb/downloads': File exists
root@xbian:/home/xbian# mkdir /media/usb/incomplete
mkdir: cannot create directory `/media/usb/incomplete': File exists
root@xbian:/home/xbian# cp -R /home/xbian/downloads/* /media/usb/downloads/
cp: cannot stat `/home/xbian/downloads/*': No such file or directory
root@xbian:/home/xbian# cp -R /home/xbian/incomplete/* /media/usb/incomplete/
cp: cannot stat `/home/xbian/incomplete/*': No such file or directory
root@xbian:/home/xbian# rm -r /home/xbian/downloads
root@xbian:/home/xbian# rm -r /home/xbian/incomplete
root@xbian:/home/xbian# ln -s /media/usb/downloads /home/xbian/downloads
root@xbian:/home/xbian# ln -s /media/usb/incomplete /home/xbian/incomplete
root@xbian:/home/xbian#

It´s ok?
Try it.
I did not say anything about changing transmission settings...
But with the old configuration is downloaded to the sd or the hard drive? I want it on the hard drive. Thanks and sorry for the inconvenience,
Can you do:
Code:
ls -Al /home/xbian/downloads/
I try it:

https://forum.transmissionbt.com/viewtopic.php?f=2&t=10384

Terminal
xbian@xbian:~# ls -Al /home/xbian/downloads/
total 0
xbian@xbian:~#
What did you do?
me no, my friend by remote but don´t work.

Terminal
xbian@xbian:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 3.6G 717M 2.8G 21% /
/dev/root 3.6G 717M 2.8G 21% /
devtmpfs 75M 0 75M 0% /dev
tmpfs 15M 540K 15M 4% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 30M 0 30M 0% /run/shm
/dev/sda1 1.9T 516G 1.4T 28% /media/usb0
/dev/mmcblk0p1 34M 14M 21M 41% /boot
xbian@xbian:~# p sax
-bash: p: command not found
xbian@xbian:~# ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:01 init [2]
2 ? S 0:00 [kthreadd]
3 ? S 0:00 [ksoftirqd/0]
5 ? S< 0:00 [kworker/0:0H]
7 ? S< 0:00 [kworker/u:0H]
8 ? S< 0:00 [khelper]
9 ? S 0:00 [kdevtmpfs]
10 ? S< 0:00 [netns]
11 ? S 0:00 [bdi-default]
12 ? S< 0:00 [kblockd]
13 ? S 0:00 [khubd]
14 ? S< 0:00 [rpciod]
16 ? S 0:00 [khungtaskd]
17 ? S 0:00 [kswapd0]
18 ? S 0:00 [fsnotify_mark]
19 ? S< 0:00 [nfsiod]
20 ? S< 0:00 [crypto]
28 ? S< 0:00 [kthrotld]
29 ? S< 1:02 [VCHIQ-0]
30 ? S< 0:15 [VCHIQr-0]
31 ? S< 0:00 [dwc_otg]
32 ? S< 0:00 [DWC Notificatio]
34 ? S< 0:00 [deferwq]
36 ? S 0:04 [mmcqd/0]
37 ? S< 0:00 [kworker/0:1H]
38 ? S 0:00 [jbd2/mmcblk0p2-]
39 ? S< 0:00 [ext4-dio-unwrit]
142 ? Ss 0:00 udevd --daemon
257 ? S< 0:00 [cfg80211]
282 ? S 0:00 udevd --daemon
455 ? S 0:00 [scsi_eh_0]
456 ? S 0:00 [usb-storage]
519 ? S 0:00 [kworker/0:2]
1117 ? Ss 0:00 /sbin/mount.ntfs /dev/sda1 /media/usb0 -o rw,noexec,nodev,sync,noatime,nodiratime,gid=1001,uid=1001,umask=0
1580 ? S 0:01 /usr/sbin/ifplugd -i lo -q -f -u0 -d10 -w -I
1587 ? S 0:01 /usr/sbin/ifplugd -i wlan0 -q -f -u0 -d10 -w -I
1590 ? S 0:05 /usr/sbin/ifplugd -i eth0 -q -f -u0 -d10 -w -I
1608 ? Ss 0:00 /sbin/wpa_supplicant -s -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -C /var/run/wpa_supplicant
1655 ? Ss 0:00 /sbin/rpcbind -w
1688 ? Ss 0:00 /sbin/rpc.statd
1715 ? Ss 0:00 /usr/sbin/rpc.idmapd
1903 ? Ss 0:00 /usr/sbin/cron
1968 ? Ss 0:00 /usr/bin/dbus-daemon --system
2027 ? S 0:00 avahi-daemon: running [xbian.local]
2028 ? S 0:00 avahi-daemon: chroot helper
2064 ? Ssl 0:00 /usr/sbin/NetworkManager
2078 ? Sl 0:00 /usr/lib/policykit-1/polkitd --no-debug
2101 ? S 0:00 /usr/sbin/modem-manager
2102 ? Ss 0:01 /usr/local/sbin/lircd --driver=default
2171 ? Ss 0:01 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 102:104
2239 ? Ss 0:00 /usr/sbin/sshd
2270 ? Sl 1:36 /usr/local/bin/transmission-daemon -f -g /usr/local/etc/transmission/
2284 ? S 0:00 /bin/bash /etc/init.d/xbmc start
2286 ? Ss 0:00 startpar -f -- xbmc
2290 ? S 0:00 /bin/bash /etc/init.d/xbmc start
2295 ? Sl 40:00 /usr/local/lib/xbmc/xbmc.bin --standalone
2297 tty1 Ss 0:00 /bin/login -f tty1
2298 tty2 Ss+ 0:00 /sbin/getty 38400 tty2
2299 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
2300 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
2301 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
2302 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
2303 ? Ss+ 0:00 /sbin/getty -L ttyAMA0 115200 vt100
2304 ? S 0:00 udevd --daemon
2306 ? Sl 0:00 /usr/sbin/console-kit-daemon --no-daemon
2379 tty1 S+ 0:00 -bash
2422 ? Sl 0:02 /usr/lib/udisks/udisks-daemon
2423 ? S 0:00 udisks-daemon: not polling any devices
2636 ? S 0:07 [kworker/u:1]
2643 ? S 0:08 [kworker/u:0]
2650 ? S 0:07 [kworker/u:3]
7273 ? S 0:00 [kworker/0:0]
16737 ? S 0:00 [flush-179:0]
18159 ? Ss 0:00 sshd: xbian [priv]
18178 ? S 0:00 sshd: xbian@pts/1
18179 pts/1 Ss 0:00 -bash
18891 pts/1 R+ 0:00 ps ax
xbian@xbian:~# ps ax|grep trans -i
2270 ? Sl 1:36 /usr/local/bin/transmission-daemon -f -g /usr/local/etc/transmission/
18921 pts/1 S+ 0:00 grep --color=auto trans -i
xbian@xbian:~# cd /usr/local/etc/
xbian@xbian:/usr/local/etc# ls -l
total 4
drwxr-sr-x 2 root staff 4096 Feb 14 13:05 transmission
xbian@xbian:/usr/local/etc# cd transmission/
xbian@xbian:/usr/local/etc/transmission# ls
settings.json
xbian@xbian:/usr/local/etc/transmission# ll
-bash: ll: command not found
xbian@xbian:/usr/local/etc/transmission# ls -l
total 4
-rwxrwxrwx 1 root root 2293 Feb 6 20:05 settings.json
xbian@xbian:/usr/local/etc/transmission# vim settings.json
-bash: vim: command not found
xbian@xbian:/usr/local/etc/transmission# vi settings.json
xbian@xbian:/usr/local/etc/transmission# cd /home/xbian/
xbian@xbian:~# ls -l
total 15496
lrwxrwxrwx 1 root root 20 Feb 14 14:11 downloads -> /media/usb/downloads
lrwxrwxrwx 1 root root 21 Feb 14 14:11 incomplete -> /media/usb/incomplete
drwxrwxrwx 2 xbian xbian 4096 Feb 14 13:05 torrents
-rw-r--r-- 1 root root 15863704 Feb 7 21:21 xbian-package-transmission1.0.deb
xbian@xbian:~# cd downloads
xbian@xbian:~/downloads# ls
xbian@xbian:~/downloads# ls -l
total 0
xbian@xbian:~/downloads# whoami
xbian
xbian@xbian:~/downloads# touch a
xbian@xbian:~/downloads# ls l
ls: cannot access l: No such file or directory
xbian@xbian:~/downloads# ls -l
total 0
-rwxrwxrwx 1 xbian xbian 0 Feb 14 16:26 a
xbian@xbian:~/downloads# rm a
xbian@xbian:~/downloads# cd /media/usb
xbian@xbian:/media/usb# ls -l
total 230917
-rwxrwxrwx 1 xbian xbian 182 Feb 24 2012 Autorun.inf
drwxrwxrwx 1 xbian xbian 4096 Sep 29 08:14 Brutos Diego y Rosa
drwxrwxrwx 1 xbian xbian 0 Jan 17 10:51 Comics
drwxrwxrwx 1 xbian xbian 4096 Jan 20 17:10 DEscargas
drwxrwxrwx 1 xbian xbian 8192 Jan 17 11:06 DOCUMENTALES
drwxrwxrwx 1 xbian xbian 12288 Jan 17 12:50 Libros
drwxrwxrwx 1 xbian xbian 0 Jan 17 11:14 Mapas
drwxrwxrwx 1 xbian xbian 61440 Jan 17 10:55 Music
drwxrwxrwx 1 xbian xbian 53248 Feb 12 23:30 Pel??culas
drwxrwxrwx 1 xbian xbian 8192 Jan 17 13:37 Portatil
drwxrwxrwx 1 xbian xbian 4096 Jan 17 12:20 Raws
drwxrwxrwx 1 xbian xbian 0 Jan 17 10:54 Revistas
drwxrwxrwx 1 xbian xbian 0 Jan 16 12:11 Seagate
-rwxrwxrwx 2 xbian xbian 1644118 Mar 5 2012 SeagateExpansion.ico
drwxrwxrwx 1 xbian xbian 4096 Feb 12 20:29 Series
-rwxrwxrwx 1 xbian xbian 156312 Jan 16 2009 Setup.exe
-rwxrwxrwx 1 xbian xbian 175978 Feb 12 19:23 SuperTV-1.105.7.zip
drwxrwxrwx 1 xbian xbian 4096 Jan 17 11:26 apps ipad
drwxrwxrwx 1 xbian xbian 4096 Jan 20 17:43 completadas
drwxrwxrwx 1 xbian xbian 48 Feb 14 16:26 downloads
drwxrwxrwx 1 xbian xbian 0 Feb 14 14:09 incomplete
-rwxrwxrwx 1 xbian xbian 367369 Jan 20 17:31 mywebtv-xbmc-addon-frodo-1.0.0.zip
-rwxrwxrwx 1 xbian xbian 2420675 Jan 20 17:26 pelisalacarta-xbmc-addon-frodo-3.2.41.zip
-rwxrwxrwx 1 xbian xbian 2228739 Jan 16 14:38 plugin.video.SportsDevil-1.8.4.1.zip
-rwxrwxrwx 1 xbian xbian 253041 Feb 12 18:41 plugin.video.fptt3.1.1.zip
-rwxrwxrwx 1 xbian xbian 242872 Feb 12 18:33 plugin.video.rtmpGUIplus_1.1.0_dj2d.zip
-rwxrwxrwx 1 xbian xbian 45468792 Jan 18 12:41 quartz.reloaded-master.zip
-rwxrwxrwx 1 xbian xbian 958 Jan 20 17:30 repository.t0mm0-1.0.3.zip
-rwxrwxrwx 1 xbian xbian 367247 Jan 20 17:30 repository.xbmc-adult.zip
-rwxrwxrwx 1 xbian xbian 80647056 Jan 18 13:06 skin.transparency_3.11.4.zip
-rwxrwxrwx 1 xbian xbian 99641164 Jan 18 13:03 stoli-Metropolis-2.6.0-0-g883db6d.zip
-rwxrwxrwx 1 xbian xbian 2633552 Jan 20 17:28 tvalacarta-xbmc-addon-frodo-3.3.6.zip
drwxrwxrwx 1 xbian xbian 4096 Feb 1 14:33 videos
drwxrwxrwx 1 xbian xbian 4096 Feb 1 14:33 xbmc_videodb_2013-02-01
drwxrwxrwx 1 xbian xbian 4096 Feb 7 23:14 xbmc_videodb_2013-02-08
drwxrwxrwx 1 xbian xbian 4096 Feb 12 20:15 xbmc_videodb_2013-02-11
xbian@xbian:/media/usb# cd downloads/
xbian@xbian:/media/usb/downloads# ls -l
total 0
xbian@xbian:/media/usb/downloads# cd /
xbian@xbian:/#
Broadcast message from root@xbian (console) (Thu Feb 14 16:29:36 2013):

The system is going down for system halt NOW!
Connection to 192.168.1.131 closed by remote host.
Connection to 192.168.1.131 closed.
Can you please move the output to pastebin.
(14th Feb, 2013 08:33 PM)CurlyMo Wrote: [ -> ]Like i said, please install the version as explained in the first post of this thread.

I did this. But cant find its config or something, it didnt starts with RPi starts...

P.S. Maybe I need something like http://forum.xbian.org/thread-196-post-2095.html#pid2095 ?
Did you first remove the old transmission deamon?

And first put the output on pastebin before i help any further.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Reference URL's