DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#26 2009-08-20 23:14:15

raf32
New member
Registered: 2009-08-20
Posts: 1

Re: rTorrent + wTorrent - FunPlug and ipkg

people, I have followed the guide and after a LOT of fighting with the DNS-323 it seems that I got rtorrent and wtorrent working. I'm a n00b, so I didn't even know how to use ssh... First of all, AWESOME GUIDE! Thank you! Second of all, I think some stuff could be added to the guide:

How to enter the DNS-323 with ssh (for n00bs like myself...)

How to create another user besides root on the DNS-323 (don't know if this was necessary, but everybody advises not run stuff as root, so I used useradd and passwd, then mkdir /home/<myuser>)

How to move stuff from your computer to the DNS-323 (I used scp; this step was needed to place wtorrent there)

.rtorrent.rc wasn't anywhere, I googled it and found an example. I placed it on /home/<myuser> (with scp hahaha)

What to insert in the install.php form of wtorrent (SPECIALLY the part about the scgi port being the port that we had set for lighttpd (8080)... I'm a n00b... That`s why it wouldn`t connect!)

And...

How to setup everything to start when the box starts (including wtorrent, so you can just use it from any computer on your network without the need to keep ssh'ing into it. If I could barely use ssh under linux, I probably wouldn't be able to do something as cool as that under Windows...)

AND this last part ISN'T WORKING! I assumed I had to setup lighttpd and rtorrent to start at boot, right? So I grabbed rtorrentInit.sh from their website, moved it to /etc/init.d/rtorrent , modified the "user" variable in it to the user I had created, "config" to "`su -c 'echo $HOME' $user`/.rtorrent.rc" and didn't know what to do with base="`su -c 'echo $HOME' $user`", so I left it alone - ALTHOUGH I had to modify the "session" variable in .rtorrent.rc to get /etc/init.d/rtorrent start to work.

If I run /etc/init.d/lighttpd start or /etc/init.d/rtorrent start manually from the ssh shell, it works (at least it seems to, because wtorrent works and connects to rtorrent). BUT no matter what I do or how many times I reboot the box, it WON'T start automatically. HELP!

I've tried "update-rc.d rtorrent defaults", "update-rc.d lighttpd defaults" and it didn't work. In fact, it said lighttpd was already set to start up!

Then I've tried to add /etc/init.d/lighttpd start and /etc/init.d/rtorrent start to /boot/linuxrc and STILL NO LUCK.

What am I missing? How hard can it be to tell the system to start some bloody services?!?!?!?


Thanks in advance.

EDIT: NICE, now wtorrent suddenly won't connect to rtorrent... Both if I start it from the cli or the service...

Last edited by raf32 (2009-08-20 23:21:18)

Offline

 

#27 2009-08-23 06:24:35

Bobby
Member
Registered: 2009-04-05
Posts: 42

Re: rTorrent + wTorrent - FunPlug and ipkg

Since you mentioned that you used windows, you could always just go Network > Your DNS > and paste stuff there, no need for scp or any ftp client tongue.

The wiki tells you how to SSH, you just have to look for it tongue

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB