2017년 9월 6일 수요일

멀린펌 트랜스미션 펌글






0. 공유기 USB에 외장하드나 USB메모리를 EXT4포멧으로 포멧후에 꽃아야한다.


EXT4포멧으로 변경하는방법은 미니툴 파티션 위자드 라는 프로그램을 받아서 변경한다.


추천방법 : USB2.0포트에는 옵트웨어 및 스왑파일, 트랜스미션을 설치할 8기가 이상의 USB메모리


USB 3.0포트에는 트랜스미션 및 네트워크 저장공간용도로 사용할 외장하드




1. 멀린펌 설치 & 공유기설정


http://asuswrt.lostrealm.ca/download


멀린펌 받아서 공유기 설정 페이지에 관리>펌웨어 업그레이드 눌러서 펌웨어파일 찾아보기로 업데이트


2. DDNS , 포트포워드 설정

공유기설정에서 WAN > 가상서버/포트포워딩 에서

HTTP Server / 8080 / 192.168.1.1 / 80 / TCP

FTP Server / 8021 / 192.168.1.1 / 21 / TCP

torrent / 9091 / 192.168.1.1 / 9091 / TCP

누르고 적용


DDNS에서



WWW.ASUS.COM

원하는 호스트이름 넣고 적용





2. 옵트웨어설치


공유기 설정에서

관리 > 시스템 >

Format JFFS partition at next boot 예

Enable JFFS custom scripts and configs 예

Enable SSH LAN + WAN

설정 후 아래 적용 > 위에 재시작



퍼티 다운로드 후 실행 (putty.exe)

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html


호스트네임에 DDNS.asuscomm.com 넣고 오픈


ID 와 PW넣고 공유기 접속


아래 영어 복사후에 마우스 오른쪽클릭으로 퍼티에 붙여넣기함 위아래 === 는 대응하여 나올 내용




cd /tmp

wget -c -O optware-ngu-setup.sh http://goo.gl/d1o6oE

chmod +x ./optware-ngu-setup.sh

./optware-ngu-setup.sh



===========================================================================================

admin@RT-AC66U:/tmp/home/root# ./optware-ngu-setup.sh

Info: This script was created by ryzhov_al and modified by TeHashX.

Info: Thanks @alllexx88 for New Generation Optware

Info: and @Rmerlin for his awesome firmwares

Info: This script will guide you through the Optware-NG installation.

Info: Script modifies only "optware-ng" folder on the chosen drive,

Info: no other data will be touched. Existing installation will be

Info: replaced with this one. Also some start scripts will be installed,

Info: the old ones will be saved on partition where Optware-NG is installed

Info: like /tmp/mnt/sda1/jffs_scripts_backup.tgzInfo: Looking for available partitions...

[1] --> /tmp/mnt/sda1

=> Please enter partition number or 0 to exit

[0-1]:

===========================================================================================




(0 1 2 중에 옵트웨어 설치할곳 숫자 누르고 엔터)


1




===========================================================================================

Info: /tmp/mnt/sda1 selected.

Info: Creating /tmp/mnt/sda1/optware-ng folder...

Info: Creating /tmp/opt symlink...

Info: Creating /jffs scripts backup...

tar: removing leading '/' from member names

Info: Modifying start scripts...

Info: Starting Optware-NG deployment....


--2015-08-16 16:59:31-- http://optware-ng.zyxmon.org/buildroot-mipsel/buildroot-mipsel-bootstrap.sh

Resolving optware-ng.zyxmon.org... 81.4.123.217

Connecting to optware-ng.zyxmon.org|81.4.123.217|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 329 [text/x-sh]

Saving to: 'buildroot-mipsel-bootstrap.sh'


buildroot-mipsel-bo 100%[=====================>] 329 --.-KB/s in 0s


2015-08-16 16:59:31 (3.00 MB/s) - 'buildroot-mipsel-bootstrap.sh' saved [329/329]


--2015-08-16 16:59:33-- http://optware-ng.zyxmon.org/buildroot-mipsel/ipkg-static_0.99.163-1_mipsel.ipk

Resolving optware-ng.zyxmon.org... 81.4.123.217

Connecting to optware-ng.zyxmon.org|81.4.123.217|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 160979 (157K) [text/plain]

Saving to: 'ipkg-static_0.99.163-1_mipsel.ipk'


ipkg-static_0.99.16 100%[=====================>] 157.21K 933KB/s in 0.2s


2015-08-16 16:59:33 (933 KB/s) - 'ipkg-static_0.99.163-1_mipsel.ipk' saved [160979/160979]


./data.tar.gz

./

./opt/

./opt/share/

./opt/share/ipkg/

./opt/share/ipkg/intercept/

./opt/share/ipkg/intercept/depmod

./opt/share/ipkg/intercept/ldconfig

./opt/share/ipkg/intercept/update-modules

./opt/bin/

./opt/bin/update-alternatives

./opt/bin/ipkg-static

./opt/bin/ipkg

./opt/etc/

./opt/etc/ipkg.conf

./opt/lib/

Info: init.d start/stop services scripts created

Info: updating packages...

Downloading http://optware-ng.zyxmon.org/buildroot-mipsel/Packages.gz

Inflating http://optware-ng.zyxmon.org/buildroot-mipsel/Packages.gz

Updated list of available packages in /opt/lib/ipkg/lists/alllexx

Successfully terminated.

Installing findutils (4.2.32-1) to /opt/...

Downloading http://optware-ng.zyxmon.org/buildroot-mipsel/findutils_4.2.32-1_mipsel.ipk

Installing uclibc-opt (0.9.33.2-3) to /opt/...

Downloading http://optware-ng.zyxmon.org/buildroot-mipsel/uclibc-opt_0.9.33.2-3_mipsel.ipk

Installing libnsl (0.9.33.2-5) to /opt/...

Downloading http://optware-ng.zyxmon.org/buildroot-mipsel/libnsl_0.9.33.2-5_mipsel.ipk

Configuring findutils

update-alternatives: Linking //opt/bin/find to /opt/bin/findutils-find

update-alternatives: Linking //opt/bin/xargs to /opt/bin/findutils-xargs

Configuring libnsl

Configuring uclibc-opt

Successfully terminated.

Info: Optware-NG is installed successfully...

Info: Now install some packages, with ipkg install package_name,

Info: like nano text editor, type in terminal "ipkg install nano"

Info: Here is the list of installable packages

Info: http://optware-ng.zyxmon.org/buildroot-mipsel/Packages.html

Info: Enjoy...

admin@RT-AC66U:/tmp/mnt/sda1#

===========================================================================================




이 사이에 스왑파일 만들라고 하는데 4 + 엔터 로 스왑파일 만들지 않고 넘어감.


그 이후에







cd /opt





===========================================================================================

admin@RT-AC66U:/tmp/mnt/sda1# cd /opt

admin@RT-AC66U:/tmp/mnt/sda1/optware-ng#

===========================================================================================




ipkg install nano



===========================================================================================

admin@RT-AC66U:/tmp/mnt/sda1/optware-ng# ipkg install nano

Installing nano (2.3.6-2) to /opt/...

Downloading http://optware-ng.zyxmon.org/buildroot-mipsel/nano_2.3.6-2_mipsel.ipk

Installing ncurses (5.7-3) to /opt/...

Downloading http://optware-ng.zyxmon.org/buildroot-mipsel/ncurses_5.7-3_mipsel.ipk

Installing zlib (1.2.8-2) to /opt/...

Downloading http://optware-ng.zyxmon.org/buildroot-mipsel/zlib_1.2.8-2_mipsel.ipk

Installing file (5.12-1) to /opt/...

Downloading http://optware-ng.zyxmon.org/buildroot-mipsel/file_5.12-1_mipsel.ipk

Configuring file

Configuring nano

Configuring ncurses

update-alternatives: Linking //opt/bin/clear to /opt/bin/ncurses-clear

Configuring zlib

Successfully terminated.

===========================================================================================


[[옵트웨어 설치끝]]














3. 트랜스미션 설치






ipkg install transmission nano






/opt/etc/init.d/S95transmission start






내부에서 인터넷 주소창에 ddns:9091 주소로 트랜스미션 접속테스트 초기id/pw : admin/admin

ex) http://ddns.asuscomm.com:9091/




/opt/etc/init.d/S95transmission stop

nano /opt/etc/transmission-daemon/settings.json




이곳에서 트랜스미션 접속 아이디 패스워드, 파일다운로드위치, 시드다운로드위치, 다운중파일 다운로드위치, 속도제한, 연결갯수제한, 포트 등을 설정

/tmp/mnt/sdb1/Transmission/watchdir (시드다운로드 위치)



다 설정후 컨트롤 o + 엔터 , 컨트롤 + x





[시작 스크립트]




/opt/etc/init.d/S95transmission start


nano /jffs/scripts/init-start




#!/bin/sh

echo 524288 > /proc/sys/net/core/rmem_max

echo 524288 > /proc/sys/net/core/wmem_max

echo 8192 > /proc/sys/vm/min_free_kbytes


컨트롤 o + 엔터 후에 컨트롤 + x


chmod a+rx /jffs/scripts/*



[외부접속시 방화벽예외 스크립트(안하면 외부에서 트랜스미션 접속안됨)]




​nano /jffs/scripts/firewall-start




#!/bin/sh

iptables -I INPUT -p tcp --destination-port 9091 -j ACCEPT

iptables -I INPUT -p tcp --destination-port 51413 -j ACCEPT


CTRL-O / 엔터 / CTRL-X 저장 종료


chmod a+rx /jffs/scripts/*

sh /jffs/scripts/firewall-start




[[트랜스미션 설치 끝]]





저는 이렇게 설정해서 트랜스미션 잘 사용중이지만 추가적으로 해야할사항이나 필요없는부분등은 댓글로 알려주시면 수정하겠습니다. 회사에서 시놀리지 916+로 나스관리 하면서 처음 나스를 접해보고 최근에 해외직구로 ac68p구입하여 간이나스로 사용 해보았는데 제 사용용도로는 충분한것 같습니다!

설명이 부족한것 같다 싶으신분은 링크2번 가셔서 영어원문설명서를 참조하세요

[출처] 딜바다닷컴 - http://www.dealbada.com/bbs/board.php?bo_table=forum_nas&wr_id=298
Share:

0 개의 댓글:

댓글 쓰기

Scroll To Top