DD-WRT Optware/Entware安裝教學

本帖最後由 Shadow+ 於 2016-3-20 13:06 編輯

做左CD-ROM 十幾年.係時候嘔番D野出來, 人人為我,我為人人了,


Linksys EA8500 load 了DD-WRT 之後, 要加入BT或其他額外module, 要需要一個叫optware 的平台. 而optware 早己於2011年便停止develop 了. Optware 本身就只支援broadcom 的router (當年能玩的router 就只有broadcom)

而EA8500 的CPU是Qualcomm Atheros的IPQ8064  , 如手機般, 是用ARM 架構的. 正式來說是ARMv7A compatible.


現在的optware 最新版, 就有2 個project team
optware-ng
entware-ng

我用了ENTWARE-NG 和他們提供的教學,總算完成了ENTWARE ,  transmission 和ARIA2 installation


程序如下

1, install DD-WRT
Flash 以下連結內的KONG's version DD-WRT firmware
http://www.desipro.de/ddwrt/K3-AC-IPQ806X/
http://www.desipro.de/ddwrt/K3-A ... actory-to-ddwrt.img

2,Entware-ng 的主網站在此: https://github.com/Entware-ng/Entware-ng/wiki/Install-on-DD-WRT

要準備安裝前, 必須要用一隻USB thumb / Hard drive 去做swapfile 和writeable OPT directory.
(呢隻野暫時只支援同時一個HD /USB thumb drive 類型connection)

大家可跟以下的教學partition 個drive手指. (我用了Gparted 方法)
http://www.dd-wrt.com/wiki/index ... rnal_Storage_Device

其中JFFS 和data 兩項不需要 (如果你用Harddrive 做, 咁data partition 是需要的.)

3, 做完後,reboot 自己隻ea8500 router,  把USB手指插入router

4, 你會見到linux swap partition 和OPT partition 在 --> services --> USB 頁面下方

5a, 你需要Service --> services --> secure shell --> enable SSHd
5b, 你需要enable 以下的在option在 services --> USB

USB Printer Support
USB Storage Support
Automatic Drive Mount

5c, 在Administration --> management
SSH Management  ( Enable )


6, 完成後,你需要download putty
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

並用putty 進入router
Login: root
Password (你自己之前set 果個)

7, 輸入
wget -O - http://pkg.entware.net/binaries/ ... /entware_install.sh | sh

entware-ng , 咁就攪掂
(題外話. 我的netvigator IP 竟然被pkg.entware.net ban 了. 攪了一輪, 才派到新IP RANGE)

8, aria2 installation
在putty , login router secure shell 內.輸入

opkg install aria2 nano
/opt/etc/init.d/S81aria2 start


9, Aria2 BT client + nano (script editing software) ,安裝完成
因ARIA2 是沒有build in GUI 的.你可在同一網內, 用http://ziahamza.github.io/webui-aria2/
Access 到自己的aria2 service

10, 要aria2 自己在router startup 時run, 可在router 內的 administration 的command 內.
輪入
/opt/etc/init.d/S81aria2 start
Save as startup script

/opt/etc/init.d/S81aria2 stop
Save as shutdown script

11, 你可以修改Aria2 的config.

nano /opt/etc/aria2.conf

參數就內容就自己爬文了.

由於 aria2 會被某些tracker banned. 看來transmissionBT 是唯一選擇. (之前試過rtorrent , 但可能dd-wrt 內置lighttpd , 和rtorrent 的lighttpd 有衝突.

transmissionbt  的教學在此.
https://github.com/Entware-ng/Entware-ng/wiki/Using-Transmission

TOP

即係flash完可以直接用router BT?

TOP

回覆 3# Dominator

無錯,Router 連接USB HDD

TOP

回覆  Dominator

無錯,Router 連接USB HDD
Shadow+ 發表於 2016-3-15 16:46


原本都無諗住flash dd-wrt住, 原廠都夠用
不過而家哩個功能又幾吸引
只係好多step, 驚變磚

TOP

回覆 5# Dominator


應該無咁易

TOP

回覆 3# Dominator


    不能, 要跟足呢D step.....
flash 完未有entware-ng & aria2

TOP

回覆 6# Shadow+


    true!

TOP