跳至主要內容

Linksys EA8500 DD-WRT + Entware-ng + ARIA2 BT Client 教學

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

EA8500 CPUQualcomm AtherosIPQ8064  , 如手機般, 是用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-AC-IPQ806X/EA8500-factory-to-ddwrt.img


要準備安裝前, 必須要用一隻USB 手指去做swapfile writeable OPT directory. (其實用Hard drive 也可, 但問題係, 你攞走harddrive 去第二度, 可能router optware 就唔work , 而且hard-drive 本身也要特別重新partition ext3 比/opt 和swapfile ,又要backup本身資料, 好煩)

 --> 事後發現, 暫時後邊兩個usb port (包括esatap port) 只同時支援一隻device) 即只能用一隻HD / 或一隻USB 手指.


大家可跟以下的教學partition 隻手指. (我用了Gparted 方法)
http://www.dd-wrt.com/wiki/index.php/How_to_Format_and_Partition_External_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 以下的在optionservices --> 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/armv7/installer/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


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


留言

發佈留言

歡迎留言.一起分享