WD MC 분류

WD My Cloud 새펌웨어에 트랜스미션 설치하기

컨텐츠 정보

  • 152,636 조회
  • 495 댓글
  • 0 추천
  • 목록

본문

1. 들어가며

 

V4.00.00-607 펌웨어 버전부터 기존의 방식대로 트랜스미션이 깔리지 않습니다.

 

그래서 펌웨어에 맞게 변환된 deb 파일로 설치해야 합니다.

 

원문 : http://community.wd.com/t5/WD-My-Cloud/Guide-Transmission-v2-84-for-firmware-V4-00-00-607-7-2014/td-p/770207

 

 

2. 설치하기

 

putty로 들어갑니다.

 

 

cd /DataVolume

 

위 명령어로 저장소 폴더로 들어갑니다.

 

 

 

위 명령어로 트랜스미션 파일을 다운받습니다.

 

 

WDMyCloud:/DataVolume# wget --no-check-certificate dl.dropbox.com/s/qlpws6g99b171qz/transmission_2.84-1_armhf.deb

--2014-08-03 17:57:24--  http://dl.dropbox.com/s/qlpws6g99b171qz/transmission_2.84-1_armhf.deb

Resolving dl.dropbox.com (dl.dropbox.com)... 107.21.219.204

Connecting to dl.dropbox.com (dl.dropbox.com)|107.21.219.204|:80... connected.

HTTP request sent, awaiting response... 302 FOUND

Location: http://dl.dropboxusercontent.com/s/qlpws6g99b171qz/transmission_2.84-1_armhf.deb [following]

--2014-08-03 17:57:25--  http://dl.dropboxusercontent.com/s/qlpws6g99b171qz/transmission_2.84-1_armhf.deb

Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 23.21.62.152, 23.21.243.212, 23.23.104.102, ...

Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|23.21.62.152|:80... connected.

HTTP request sent, awaiting response... 302 FOUND

Cookie coming from dropbox.com attempted to set domain to dropbox.com

Cookie coming from dropbox.com attempted to set domain to dropbox.com

Location: https://dl.dropboxusercontent.com/s/qlpws6g99b171qz/transmission_2.84-1_armhf.deb [following]

--2014-08-03 17:57:25--  https://dl.dropboxusercontent.com/s/qlpws6g99b171qz/transmission_2.84-1_armhf.deb

Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|23.21.62.152|:443... connected.

WARNING: The certificate of `dl.dropboxusercontent.com' is not trusted.

WARNING: The certificate of `dl.dropboxusercontent.com' hasn't got a known issuer.

HTTP request sent, awaiting response... 200 OK

Length: 2506180 (2.4M) [application/x-debian-package]

Saving to: `transmission_2.84-1_armhf.deb'

 

100%[======================================>] 2,506,180    445K/s   in 6.8s

 

2014-08-03 17:57:34 (358 KB/s) - `transmission_2.84-1_armhf.deb' saved [2506180/2506180]

 

WDMyCloud:/DataVolume#

 

 

위와 같이 받아집니다.

 

 

설치하기 전 권한 관련 작업을 합니다. (http://www.php5.me/blog/마이클라우드-트랜스미션-설치시-fopen-에러-뜰-경우-대/) 블로그 참조하였습니다.

 

chown -R man /var/cache/man

 

아무런 반응이 없습니다.

 

 

dpkg -i transmission_2.84-1_armhf.deb;

 

이제 위 명령어로 설치합니다.

 

 

 

WDMyCloud:/DataVolume# dpkg -i transmission_2.84-1_armhf.deb;

Selecting previously unselected package transmission.

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

Preparing to unpack transmission_2.84-1_armhf.deb ...

Unpacking transmission (2.84-1) ...

Setting up transmission (2.84-1) ...

Processing triggers for man-db (2.7.0.2-5) ...

WDMyCloud:/DataVolume#

 

위와 같이 설치가 됩니다.

 

 

export i=/usr/local/bin/transmission-stop;echo -e '#!/bin/sh\n\nkill `ps -ef|grep transmission-daemon|awk {"print $2"}`>/dev/null 2>&1'>$i;chmod 775 $i;

 

위 명령어를 내리면(전부 한줄입니다.) transmission-stop 라는 명령어로 트랜스미션을 정지시킬 수 있습니다.

 

 

transmission-daemon;transmission-stop;

 

위 명령어를 내리면 트랜스미션이 시작되었다가 정지되면서 settings.json 파일이 생성됩니다.

 

 

3. 토렌트 폴더 생성하기

 



 

 

위와 같이 torrent 라는 폴더를 생성합니다.

 

사용자 접근은 원하시는대로 설정하면 됩니다.

 

 

4. 설정 수정하기

 

다시 SSH로 돌아가서

 

mkdir /shares/torrent/watch

 

위 명령어로 시드파일 감시폴더를 생성합니다.

 

 

chmod -R 777 /shares/torrent/watch

 

감시폴더의 권한을 풀어줍니다.

 

 

nano ~/.config/transmission-daemon/settings.json

 

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

 

 

{

    "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 로 저장 후 닫습니다.

 

 

transmission-daemon

 

위 명령어로 다시 시작합니다.

 

 

5. 재부팅시 자동으로 트랜스미션 실행하기(옵션)

 

crontab -e

 

 

위 명령어를 내리면 자동 실행을 설정할 수 있습니다.

 

@reboot /usr/local/bin/transmission-daemon > /dev/null 2>&1

 

위 내용을 넣고

 

컨트롤 + O, 엔터, 컨트롤 + X를 누르면 저장 후 나옵니다.  (자안님 덕분에 잘 되겠네요 ^^)

 

이 기능을 지우고 싶다면

 

crontab -e

 

위 명령어를 내린 후 컨트롤 + k 로 내용을 지우고

 

컨트롤 + O, 엔터, 컨트롤 + X 로 저장하면 됩니다.

 

 

6. 테스트하기

 

 

이제 웹브라우저에 가서 

 

http://마이클라우드내부IP:9091

 

위 주소로 들어가면 아이디 비번을 누르는 창이 뜨고, 맞게 넣으면 트랜스미션 화면이 나옵니다.

 

나머지 모바일이나 모바일앱에서 활용하는 방법은

 

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

 

위 링크의 3번을 참고하세요~!

관련자료

댓글 495 / 50 페이지

돌아온행인님의 댓글

2022년12월  따라서 하고 있는데 되네요

  48  wget --no-check-certificate https://www.dropbox.com/s/jsudc3fx8dsqwbr/transmission_2.84-1_armhf.deb
  49  chown -R man /var/cache/man
  50  dpkg -i transmission_2.84-1_armhf.deb

ciel님의 댓글

2024년1월 현시점 본 내용으로 18T HDD로 잘 적용 하였습니다~ 예전부터 많은 도움 받고 있습니다~
다시한번 감사 드려야 할 듯하여 ㅎㅎ
전체 99 / 1 페이지
RSS

최근글


새댓글


알림 0