basement machine

General support for problems installing or using Deluge
Post Reply
noteinstein
New User
New User
Posts: 4
Joined: Fri Aug 22, 2008 11:46 am

basement machine

Post by noteinstein »

Hi, I have a Ubuntu machine in the basement that stays on and I have installed deluge onto it.

I also have a PC in my bedroom with Ubuntu and deluge - which I switch off when I'm not around.

Is it possible to leave deluge (daemon?) running on the basement server and connect to it using the deluge GTK ui or do I have to run the Web UI?

Can someone give me some pointers please or point me in the right direction?

[edit: I think I need to run

Code: Select all

deluged
on the server and run

Code: Select all

deluge --ui gtk
on the client, but is there a way to specify the IP address of the server from the client?

Thanks.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: basement machine

Post by johnnyg »

  1. Install deluge on the server and client.
  2. SSH into the server and run

    Code: Select all

    deluged
    as well as

    Code: Select all

    deluge -u web
    if you want web UI (otherwise you'll just have GTK UI access). You might want to check out this thread on init.d scripts.
  3. Make sure you allow remote connections by typing

    Code: Select all

    deluge -u null
    then

    Code: Select all

    config-set allow_remote True
    and finally

    Code: Select all

    exit
    If you don't do this you won't be able to connect to the server.
  4. If you don't know your server's ip, run

    Code: Select all

    ifconfig
  5. On the client run deluge and disable classic mode, outlined here: http://dev.deluge-torrent.org/wiki/Faq# ... rentdaemon
  6. After restarting deluge, you should now see a connection manager pop up.
  7. Remove the localhost daemon.
  8. Click Add, and enter your server's ip. Alternatively you can add your server's ip to your hosts file (/etc/hosts) in the format

    Code: Select all

    <server ip> <server name>
    and put the name of your server in this field. Leave the port as default.
  9. You should now see a green tick as the status for the host you just added. You'll probably want to expand the Options and select "Automatically connect to selected host on startup" and "Do not show this dialog on start-up".
  10. Click connect and the connection manager will close.
  11. If you've enabled the web ui, open up a browser and enter

    Code: Select all

    http://<server>:8112
    where <server> is either your server ip or server name (if you added it to the hosts file).
  12. The deluge login page should appear, the default password is "deluge".
Note: I should mention that by allowing remote connections on your server's daemon, anyone running deluge and who knows your server's ip can connect to it. It's therefore recommended that you block connections to that port from the outside world.

After doing those steps whenever you run deluge on your Ubuntu machine, it will appear like you are running it locally but you are in fact controlling the server's daemon :D

If you dual boot, you can also repeat the client steps for windows.
noteinstein
New User
New User
Posts: 4
Joined: Fri Aug 22, 2008 11:46 am

Re: basement machine

Post by noteinstein »

That's fantastic, thanks so much for the detailed instructions. It's all I needed and more :)

Wasn't aware of the wiki faq under the development link on the site

Thanks :)
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: basement machine

Post by johnnyg »

No worries, yes we should probably link the website FAQ to the wiki FAQ.
Also I should probably formally write up how to do the above under userguides.
BuzzD
New User
New User
Posts: 6
Joined: Wed Nov 12, 2008 10:56 am

Re: basement machine

Post by BuzzD »

Hi, I'm trying to solve the same problem. I run a server with ubuntu 8.04.
Will it be a problem to install the .deb on it since there is no xserver/gtk installed?
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: basement machine

Post by johnnyg »

No problem at all. The only thing is that you'll have to manually install the dependencies:

Code: Select all

sudo apt-get install libboost-date-time1.34.1 libboost-filesystem1.34.1 libboost-iostreams1.34.1 libboost-python1.34.1 libboost-thread1.34.1 librsvg2-common python-dbus python-glade2 python-notify python-pyopenssl python-setuptools python-xdg
should install the dependencies, and then

Code: Select all

sudo dpkg -i deluge-torrent_1.0.5-1_i386.hardy.deb
or

Code: Select all

sudo dpkg -i deluge-torrent_1.0.5-1_amd64.hardy.deb
will install deluge using the .deb (depending if you're running 64 bit or not).
BuzzD
New User
New User
Posts: 6
Joined: Wed Nov 12, 2008 10:56 am

Re: basement machine

Post by BuzzD »

Thanks,w as able to install it.

But it doesn't start on booting:
http://forum.deluge-torrent.org/viewtop ... t.d#p57525
Post Reply