本帖最後由 niceiceman 於 2016-3-9 16:21 編輯
做左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 手指去做swapfile 和writeable OPT directory. (其實用Hard drive 也可, 但問題係, 你攞走harddrive 去第二度, 可能router 的optware 就唔work 了, 而且hard-drive 本身也要特別重新partition ext3 比/opt 和swapfile ,又要backup本身資料, 好煩)
大家可跟以下的教學partition 隻手指. (我用了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
參數就內容就自己爬文了. |