|
本帖最后由 jsllb1986 于 2014-9-4 09:59 编辑
简单说下步骤:
1、格式化U盘
2、进入华硕固件的WEB GUI页面,开启jffs空间。注意要二步操作,首先Enable JFFS partition,应用;然后再Format JFFS partition at next boot选是,应用,重启路由。
3、telnet 192.168.1.1安装entware4、安装完entware,一步步输入以下命令- opkg install nano
- opkg install transmission-daemon
- opkg install transmission-web
- mkdir /mnt/sda1/Torrent/
- mkdir /mnt/sda1/Torrent/Incomplete
- mkdir /mnt/sda1/Torrent/Watch
- mkdir /mnt/sda1/Torrent/Completed
- /opt/etc/init.d/S88transmission stop
- nano -w /opt/etc/transmission/settings.json
复制代码 5、按光标找到"download-dir": "incomplete-dir": "watch-dir":三个开头的,修改后面的路径。修改完后,按ctrl+x退出,y保存,回车
- "download-dir": "/mnt/sda1/Torrent/Completed",
- "incomplete-dir": "/mnt/sda1/Torrent/Incomplete",
- "watch-dir": "/mnt/sda1/Torrent/Watch",
复制代码 6、- nano -w /jffs/scripts/firewall-start
复制代码 加入以下语句。按ctrl+x退出,y保存,回车
- #!/bin/sh
- iptables -I INPUT -p tcp --destination-port 51413 -j ACCEPT
- iptables -I INPUT -p udp --destination-port 51413 -j ACCEPT
复制代码
- chmod a+rx /jffs/scripts/firewall-start
复制代码 7、- /jffs/scripts/firewall-start
- /opt/etc/init.d/S88transmission start
复制代码 8、http://192.168.1.1:9091/transmission
|
|