设置:运行 Debian 9 的远程服务器(无 GUI)。
通常情况下,我跑步transmission-cli
没有任何问题。我想transmission-cli
保存到远程位置。远程位置有足够的可用磁盘空间(我刚刚用 仔细检查过df -h
)。
这就是我所做的:
[···]$ sshfs my.remote.server.com:/dir/on/remote/server /home/cal-linux/remote -oallow_other
[···]$ chmod 777 /home/cal-linux/remote
然后,我运行transmission-cli
如下:
[···]$ transmission-cli -ep -w /home/cal-linux/remote <magnet-link>
这是行不通的。这是输出(经过编辑以删除时间戳和 ID 并替换 torrent 名称):
[2018-12-15 ··· ] Transmission 2.92 (14714) started
[2018-12-15 ··· ] RPC Server: Adding address to whitelist: 127.0.0.1
[2018-12-15 ··· ] DHT: Generating new id
[2018-12-15 ··· ] Saved "/home/cal-linux/.config/transmission/torrents/the-torrent.xxxx.torrent"
[2018-12-15 ··· ] Port Forwarding (NAT-PMP): initnatpmp succeeded (0)
[2018-12-15 ··· ] Port Forwarding (NAT-PMP): sendpublicaddressrequest succeeded (2)
Progress: 0.0%, dl from 0 of 0 peers (0 kB/s), ul to 0 (0 kB/s) [None] [2018-12-15 ··· ] Port Forwarding: State changed from "Not forwarded" to "Starting"
Progress: 0.0%, dl from 15 of 15 peers (0 kB/s), ul to 0 (0 kB/s) [N[2018-12-15 ··· ] the-torrent: Starting IPv4 DHT announce (poor, 15 nodes)
[2018-12-15 ··· ] Saved "/home/cal-linux/.config/transmission/torrents/the-torrent.xxxx.torrent"
[2018-12-15 ··· ] the-torrent: Pausing
[2018-12-15 ··· ] Saved "/home/cal-linux/.config/transmission/settings.json"
Progress: 0.0%, dl from 22 of 22 peers (0 kB/s), ul to 0 (0 kB/s) [None]
[2018-12-15 ··· ] Saved "/home/cal-linux/.config/transmission/resume/the-torrent.resume"
[2018-12-15 ··· ] the-torrent: Magnet Verify
[2018-12-15 ··· ] the-torrent: Queued for verification
[2018-12-15 ··· ] DHT: Not saving nodes, DHT not ready
[2018-12-15 ··· ] Port Forwarding: Stopped
[2018-12-15 ··· ] the-torrent: Removing torrent
[2018-12-15 ··· ] the-torrent: Pausing
我最初收到错误:
UDP: Failed to set receive buffer: requested 4194304, got 425984
UDP: Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf
与类似wmem_max
,但我添加了建议的行/etc/sysctl.conf
并重新启动。现在我没有收到这些错误,但它仍然无法工作(上面的输出是在进行更改之后sysctl.conf
)。
有什么建议么?
答案1
看起来你的传输和 sshfs 都工作得很好。正如您的问题中所述,您正在使用磁力链接下载(或播种)。这需要 DHT 从节点下载 torrent。如果没有客户端让您下载他们拥有的 torrent 文件,您将永远无法获得 torrent 文件并开始真正的下载。