NAS

WD My Cloud 트랜스미션 설치하기

우성군 51 56385 0

0. 주의

 

펌웨어 버전을 반드시 확인하세요.


V 03.XX 버전에서만 설치 가능합니다.

 

V 04.XX 이상에서는 벽돌 됩니다.

 

V 04.XX 버전을 위한 트랜스미션 강좌는

 

http://www.wsgvet.com/bbs/board.php?bo_table=iomega&wr_id=1008

 

위 링크를 참조하세요.

 

 

소스리스트는 수정안해도 된다고 합니다.

 

 

1. 소스리스트 수정하기




SSH Putty 로그인 후



cp /etc/apt/sources.list /etc/apt/sources.list.bak


위 명령어로 소스 리스트를 백업합니다.


> /etc/apt/sources.list


위 명령어로 소스리스트를 초기화합니다.



echo deb http://ftp.us.debian.org/debian/ jessie main >> /etc/apt/sources.list


위 명령어로 소스리스트를 넣습니다.



apt-get update


위 명령어로 소스리스트를 업데이트 합니다.



WDMyCloud:~# apt-get update

Get:1 http://ftp.us.debian.org jessie InRelease [162 kB]

Get:2 http://ftp.us.debian.org jessie/main Translation-en [4441 kB]

Get:3 http://ftp.us.debian.org jessie/main armhf Packages [6395 kB]

Fetched 11.0 MB in 43s (254 kB/s)

Reading package lists... Done

WDMyCloud:~#


위와 같이 진행됩니다.

 

 

2. 트랜스미션 설치하기

 

 

apt-get install transmission-cli transmission-common transmission-daemon

 

위 명령어로 트랜스미션 패키지들을 설치합니다.

 

물어보면 y 엔터 누르면 됩니다.

 

 

WDMyCloud:~# apt-get install transmission-cli transmission-common transmission-daemon

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  ca-certificates init-system-helpers libcurl3-gnutls libffi6 libgmp10

  libgnutls-deb0-28 libhogweed2 libnatpmp1 libnettle4 libp11-kit0 librtmp1

  libsystemd-daemon0 libtasn1-6

Suggested packages:

  gnutls-bin natpmp-utils minissdpd transmission-gtk

The following NEW packages will be installed:

  ca-certificates init-system-helpers libcurl3-gnutls libffi6 libgmp10

  libgnutls-deb0-28 libhogweed2 libnatpmp1 libnettle4 librtmp1

  libsystemd-daemon0 libtasn1-6 transmission-cli transmission-common

  transmission-daemon

The following packages will be upgraded:

  libp11-kit0

1 upgraded, 15 newly installed, 0 to remove and 263 not upgraded.

Need to get 2890 kB of archives.

After this operation, 7030 kB of additional disk space will be used.

Do you want to continue [Y/n]? y

.

.

.

 kB]

Get:3 http://ftp.us.debian.org/debian/ jessie/main libhogweed2 armhf 2.7.1-3 [116 kB]

Get:4 http://ftp.us.debian.org/debian/ jessie/main libffi6 armhf 3.1-2 [18.1 kB]

Get:5 http://ftp.us.debian.org/debian/ jessie/main libp11-kit0 armhf 0.20.3-2 [140 kB]

Get:6 http://ftp.us.debian.org/debian/ jessie/main libtasn1-6 armhf 4.0-2 [42.0 kB]

Get:7 http://ftp.us.debian.org/debian/ jessie/main libgnutls-deb0-28 armhf 3.2.16-1 [908 kB]

Get:8 http://ftp.us.debian.org/debian/ jessie/main librtmp1 armhf 2.4+20131018.git79459a2-4 [54.4 kB]

Get:9 http://ftp.us.debian.org/debian/ jessie/main libcurl3-gnutls armhf 7.37.1-1 [223 kB]

Get:10 http://ftp.us.debian.org/debian/ jessie/main libsystemd-daemon0 armhf 208-6 [23.6 kB]

Get:11 http://ftp.us.debian.org/debian/ jessie/main libnatpmp1 armhf 20110808-3 [8194 B]

Get:12 http://ftp.us.debian.org/debian/ jessie/main transmission-common all 2.82-1.1 [255 kB]

Get:13 http://ftp.us.debian.org/debian/ jessie/main init-system-helpers all 1.20 [13.8 kB]

Get:14 http://ftp.us.debian.org/debian/ jessie/main transmission-daemon armhf 2.82-1.1+b1 [187 kB]

Get:15 http://ftp.us.debian.org/debian/ jessie/main ca-certificates all 20140325 [193 kB]

Get:16 http://ftp.us.debian.org/debian/ jessie/main transmission-cli armhf 2.82-1.1+b1 [323 kB]

Fetched 2890 kB in 11s (241 kB/s)

Preconfiguring packages ...

Selecting previously unselected package libgmp10:armhf.

dpkg: warning: files list file for package 'libssh2-1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libxau6:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'liblockfile1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libkrb5-3:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libwrap0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libtagc0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libcap2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libglib2.0-0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libgphoto2-port0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpng12-0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libtalloc2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libevent-2.0-5:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libedit2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libldap-2.4-2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libavahi-client3:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libgphoto2-2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libtag1c2a:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'liblua5.1-0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpkcs11-helper1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpcre3:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libavahi-common3:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libsensors4:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libx11-6:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libnfsidmap2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libbsd0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libavahi-common-data:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libjpeg8:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libsasl2-2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libcurl3:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libtirpc1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libkrb5support0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'librtmp0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpcap0.8:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libdevmapper1.02.1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libexpat1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libltdl7:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libkeyutils1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libreadline5:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libantlr3c-3.2-0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libasound2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libxcb1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libtdb1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libxpm4:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libtag1-vanilla:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'liblzo2-2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libogg0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libfontconfig1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libmagic1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libk5crypto3:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libgssglue1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libunistring0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libwbclient0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libfuse2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libgssapi-krb5-2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libparted0debian1:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libgd2-xpm:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libconfuse0:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libexif12:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libffi5:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libflac8:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libdbus-1-3:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libxml2:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libfreetype6:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libxdmcp6:armhf' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpam-cap:armhf' missing; assuming package has no files currently installed

(Reading database ... 24499 files and directories currently installed.)

Unpacking libgmp10:armhf (from .../libgmp10_2%3a6.0.0+dfsg-4_armhf.deb) ...

Selecting previously unselected package libnettle4:armhf.

Unpacking libnettle4:armhf (from .../libnettle4_2.7.1-3_armhf.deb) ...

Selecting previously unselected package libhogweed2:armhf.

Unpacking libhogweed2:armhf (from .../libhogweed2_2.7.1-3_armhf.deb) ...

Selecting previously unselected package libffi6:armhf.

Unpacking libffi6:armhf (from .../libffi6_3.1-2_armhf.deb) ...

Preparing to replace libp11-kit0:armhf 0.12-3 (using .../libp11-kit0_0.20.3-2_armhf.deb) ...

Unpacking replacement libp11-kit0:armhf ...

Selecting previously unselected package libtasn1-6:armhf.

Unpacking libtasn1-6:armhf (from .../libtasn1-6_4.0-2_armhf.deb) ...

Selecting previously unselected package libgnutls-deb0-28:armhf.

Unpacking libgnutls-deb0-28:armhf (from .../libgnutls-deb0-28_3.2.16-1_armhf.deb) ...

Selecting previously unselected package librtmp1:armhf.

Unpacking librtmp1:armhf (from .../librtmp1_2.4+20131018.git79459a2-4_armhf.deb) ...

Selecting previously unselected package libcurl3-gnutls:armhf.

Unpacking libcurl3-gnutls:armhf (from .../libcurl3-gnutls_7.37.1-1_armhf.deb) ...

Selecting previously unselected package libsystemd-daemon0:armhf.

Unpacking libsystemd-daemon0:armhf (from .../libsystemd-daemon0_208-6_armhf.deb) ...

Selecting previously unselected package libnatpmp1.

Unpacking libnatpmp1 (from .../libnatpmp1_20110808-3_armhf.deb) ...

Selecting previously unselected package transmission-common.

Unpacking transmission-common (from .../transmission-common_2.82-1.1_all.deb) ...

Selecting previously unselected package init-system-helpers.

Unpacking init-system-helpers (from .../init-system-helpers_1.20_all.deb) ...

Selecting previously unselected package transmission-daemon.

Unpacking transmission-daemon (from .../transmission-daemon_2.82-1.1+b1_armhf.deb) ...

Selecting previously unselected package ca-certificates.

Unpacking ca-certificates (from .../ca-certificates_20140325_all.deb) ...

Selecting previously unselected package transmission-cli.

Unpacking transmission-cli (from .../transmission-cli_2.82-1.1+b1_armhf.deb) ...

Processing triggers for man-db ...

Setting up libgmp10:armhf (2:6.0.0+dfsg-4) ...

Setting up libnettle4:armhf (2.7.1-3) ...

Setting up libhogweed2:armhf (2.7.1-3) ...

Setting up libffi6:armhf (3.1-2) ...

Setting up libp11-kit0:armhf (0.20.3-2) ...

Setting up libtasn1-6:armhf (4.0-2) ...

Setting up libgnutls-deb0-28:armhf (3.2.16-1) ...

Setting up librtmp1:armhf (2.4+20131018.git79459a2-4) ...

Setting up libcurl3-gnutls:armhf (7.37.1-1) ...

Setting up libsystemd-daemon0:armhf (208-6) ...

Setting up libnatpmp1 (20110808-3) ...

Setting up transmission-common (2.82-1.1) ...

Setting up init-system-helpers (1.20) ...

Setting up transmission-daemon (2.82-1.1+b1) ...

id: debian-transmission: No such user

[ ok ] Starting bittorrent daemon: transmission-daemon.

Setting up ca-certificates (20140325) ...

Setting up transmission-cli (2.82-1.1+b1) ...

Processing triggers for libc-bin ...

Processing triggers for ca-certificates ...

Updating certificates in /etc/ssl/certs... 168 added, 0 removed; done.

Running hooks in /etc/ca-certificates/update.d....done.

WDMyCloud:~#


 

 

위와 같이 진행됩니다.

 

 

3. 소스리스트 복원하기

 

 

설치가 완료되었으므로 소스 리스트를 복원합니다.

 

cp /etc/apt/sources.list.bak /etc/apt/sources.list

 

물어보면 y엔터를 누릅니다.

 

 

WDMyCloud:~# cp /etc/apt/sources.list.bak /etc/apt/sources.list

cp: overwrite `/etc/apt/sources.list'? y

WDMyCloud:~#

 

위와 같이 진행이 됩니다.

 

 

소스리스트를 업데이트합니다.

 

apt-get update

 

위 명령어로 업데이트합니다.

 

 

WDMyCloud:~# apt-get update

Ign http://ftp.us.debian.org wheezy InRelease

Get:1 http://ftp.us.debian.org wheezy Release.gpg [1655 B]

Get:2 http://ftp.us.debian.org wheezy Release [168 kB]

Get:3 http://ftp.us.debian.org wheezy/main armhf Packages [5688 kB]

Get:4 http://ftp.us.debian.org wheezy/main Translation-en [3847 kB]

Fetched 9705 kB in 50s (190 kB/s)

Reading package lists... Done

WDMyCloud:~#

 

위와 같이 진행됩니다.

 

 

※ 혹시나 원본소스가 제대로 들어갔는지 보시려면

 

nano /etc/apt/sources.list

 

위 명령어를 내린 후

 

있는 내용이

 

 

위 내용과 다르면 다 지우고 위 내용을 그대로 복사 후 붙여넣기하면 됩니다.

 

그 후에 apt-get update를 진행하세요.

 

 

4. 토렌트 폴더 생성하기

 


 

 

▲ 위와 같이 대시보드에서 torrent라는 폴더를 생성합니다.

 


 

▲ 위와 같이 엑세스 권한을 admin (또는 사용자)에게 줍니다.

 

 

이제 안전하게 토렌트 파일을 받을 수 있습니다.

 

다른 사용자들은 접근할 수 없습니다. FTP나 네트워크 공유로도 보이지 않습니다.

 

 

5. 트랜스미션 설정 수정하기

 

 

/etc/init.d/transmission-daemon stop

 

트랜스미션 설정 수정을 위해 위 명령어로 잠시 정지시킵니다. (다음에 수정을 할 때도 꼭 정지 후 수정해야 반영이 됩니다.)

 

 

WDMyCloud:~# /etc/init.d/transmission-daemon stop

[ ok ] Stopping bittorrent daemon: transmission-daemon.

WDMyCloud:~#

 

위와 같이 정지가 됩니다.

 

 

sed -i 's/USER=debian-transmission/USER=root /g' /etc/init.d/transmission-daemon

 

위 명령어로 권한(?) 부분을 수정합니다.

 

 

mkdir /shares/torrent/watch

 

chmod -R 777 /shares/torrent/watch

 

위 두 명령어로 트랜스미션 감시폴더를 생성 및 권한을 줍니다.

 

감시폴더에 시드파일(토렌트파일)을 넣으면 자동으로 트랜스미션이 시작됩니다.

 

 

nano /etc/transmission-daemon/settings.json

 

위 명령어로 트랜스미션 설정으로 들어갑니다.

 

컨트롤 + K 를 누르고 있으면 다 지워집니다.

 

그리고 밑의 내용을 복사하여 우클릭하면 붙여넣어집니다.

 

{

    "alt-speed-down": 50,

    "alt-speed-enabled": false,

    "alt-speed-time-begin": 540,

    "alt-speed-time-day": 127,

    "alt-speed-time-enabled": false,

    "alt-speed-time-end": 1020,

    "alt-speed-up": 50,

    "bind-address-ipv4": "0.0.0.0",

    "bind-address-ipv6": "::",

    "blocklist-enabled": false,

    "blocklist-url": "http://www.example.com/blocklist",

    "cache-size-mb": 4,

    "dht-enabled": true,

    "download-dir": "/shares/torrent",

    "download-limit": 100,

    "download-limit-enabled": 0,

    "download-queue-enabled": true,

    "download-queue-size": 5,

    "encryption": 1,

    "idle-seeding-limit": 30,

    "idle-seeding-limit-enabled": false,

    "incomplete-dir": "/root/Downloads",

    "incomplete-dir-enabled": false,

    "lpd-enabled": false,

    "max-peers-global": 200,

    "message-level": 2,

    "peer-congestion-algorithm": "",

    "peer-id-ttl-hours": 6,

    "peer-limit-global": 200,

    "peer-limit-per-torrent": 50,

    "peer-port": 51413,

    "peer-port-random-high": 65535,

    "peer-port-random-low": 49152,

    "peer-port-random-on-start": false,

    "peer-socket-tos": "default",

    "pex-enabled": true,

    "port-forwarding-enabled": false,

    "preallocation": 1,

    "prefetch-enabled": 1,

    "queue-stalled-enabled": true,

    "queue-stalled-minutes": 30,

    "ratio-limit": 2,

    "ratio-limit-enabled": false,

    "rename-partial-files": true,

    "rpc-authentication-required": true,

    "rpc-bind-address": "0.0.0.0",

    "rpc-enabled": true,

    "rpc-password": "admin_password",

    "rpc-port": 9091,

    "rpc-url": "/transmission/",

    "rpc-username": "admin",

    "rpc-whitelist": "127.0.0.1",

    "rpc-whitelist-enabled": false,

    "scrape-paused-torrents-enabled": true,

    "script-torrent-done-enabled": false,

    "script-torrent-done-filename": "",

    "seed-queue-enabled": false,

    "seed-queue-size": 10,

    "speed-limit-down": 100,

    "speed-limit-down-enabled": false,

    "speed-limit-up": 100,

    "speed-limit-up-enabled": false,

    "start-added-torrents": true,

    "trash-original-torrent-files": true,

    "umask": 0,

    "upload-limit": 100,

    "upload-limit-enabled": 0,

    "upload-slots-per-torrent": 14,

    "utp-enabled": true,

    "watch-dir": "/shares/torrent/watch",

    "watch-dir-enabled": true

}

 

 

위의 빨간 부분은 기존과 대비하여 수정되거나 추가된 부분입니다.

 

아이디와 비밀번호 부분은 반드시 수정합니다.

 

admin 과 admin_password 입니다.

 

 

컨트롤 + O, 엔터, 컨트롤 + X 로 저장 후 닫습니다.

 

 

/etc/init.d/transmission-daemon start

 

위 명령어로 트랜스미션을 다시 시작합니다.

 

 

6. 트랜스미션으로 토렌트 다운받기

 


 

▲ 위와 같이 브라우저에서 내부IP:9091을 넣으면 암호를 물어봅니다.

 

아까 수정했던 아이디와 비밀번호를 넣습니다.

 

 

 

▲ 위와 같이 정상적으로 실행이 되고 있습니다.

 


 

▲ 이제 파일 선택을 하여 파일을 업로드 합니다.

 

여기서 주의해야 할 점이 Destination folder (1.91 TB free) 와 같은 식으로 나와야 합니다. 

 

다운로드 폴더를 잘 못지정하면 1.9GB로 나오니 반드시 확인해줘야 합니다.

 


 

▲ 대충 5MB/s 정도 나오네요.

 


 

▲ HTOP을 통해서 보니 CPU를 거의 100% 다 쓰는 것으로 보입니다.

 

다른 분들은 10MB/s 까지 나온다고 하니 5~10MB/s 정도 나오는게 맞다고 봅니다.

 

 

추가 어플과 관련된 부분은

 

MBL 트랜스미션 설치 강좌 하단을 참조바랍니다. (http://www.wsgvet.com/bbs/board.php?bo_table=iomega&wr_id=35)

, ,

51 Comments
우성군 06.20 23:17  
[@잉구라] 펌웨어 2.XX는 펌웨어 3.XX,, 4.XX 버전과 하드웨어부터 달라서 호환이 되지 않습니다.

펌웨어 2.XX에 맞는 트랜스미션 설치법이 있을 것입니다.

구글 검색해보시는 것을 추천드립니다.