install transmission on openwrt
安装transmission
opkg update
opkg list | grep transmission
opkg install transmission-cli transmission-daemon transmission-remote transmission-web transmission-web-control
配置transmission
vim /etc/config/transmission
修改第一个:
把option enabled 0
改为option enabled 1
注意修改配置文件的位置,
mkdir -p /root/.local
cp -R /tmp/transmission /root/.local/
chown -R transmission:transmission /root/.local/transmission
vim /etc/config/transmission/
:%s/\/tmp\//\/root\/.local\//g
:wq
这样就不会关机重启后,tmp里面的配置文件丢失了。
当然,也可以顺带修改:
option rpc_authentication_required true
option rpc_password 'xxx'
option rpc_username 'xxx'
option download_dir '/media/docente/transmission'
注意设置权限,非常重要
chown -R transmission:transmisssion '/media/docente/transmission'
启动transmission
先确保跟随系统启动:
/etc/init.d/transmission enabled
然后启动transmission
/etc/init.d/transmission start
访问:
https://your_openwrt_ip:9091