After reboot, do ps and you should see lighttpd running as well as screen with your rtorrent attached to it including the -n -o import=...rtorrent.conf.
Now, go to your browser and connect to the lighttpd:
You should see "lighttpd server is running." Excellent!Code:http://routerIP:8081
Next connect to the socket interface:
You should see an empty screen (as in white...) but that's good. Otherwise if you get 500 Server error, then something is wrong. Either rtorrent isn't running, or lighttpd isn't passing RPC through the socket. Hard to say, you will have to troubleshoot it...Code:http://routerIP:8081/RPC2
We are ready to connect to our rtorrent now. Unpack the downloaded ntorrent binary somewhere (C:\Program Files\ntorrent, /Applications/ntorrent, /opt/ntorrent ...) and run it. The *ix users can use .sh file included, Winblows users should double-click on the .jar file.
You will see a Profiles dialogue, select http from the protocol drop-down.
Under host enter the IP of your router.
Connection port is 8081 (default for lighttpd or whatever else you set it to).
Mountpoint is /RPC2 (remember that's what we told lighttpd to use as an interface between the rtorrent socket and the Web).
Username is your user on the router, and Password is its password.
Tick "Remember Password" and click "Save profile".
In a moment you should be connected. Look at the bottom of the ntorrent window, there are some numbers there. You should see the Port: 10000-11000 (range we have set earlier), and your Ping: 2 sec or so...zomg it worked, you lucky, you !
So, "File/Add torrent" and off you go, it's pretty simple to use - you'll figure it out on your own.
Happy Holidays!
P.S. This is how I've done it (to best of my knowledge/recollection) so if you run into trouble you are on your own...




Reply With Quote
