Necessary Downloads
- Dtella Source
- The ‘hub’ that allows you to connect to other users on campus. This application is invisible and runs silently in the background of your computer. Alone, this will do nothing.
- LinuxDC++
- The application that utilizes the hub in order to share and download to other campus users. When this is closed nothing can be downloaded or shared.
Dependencies
On Linux, we have you run the source code directly using Python. But to do so, you’ll have to do a few things first:
For linux distros with aptitude, run the following command to install the dependencies:
- sudo apt update && sudo apt -y install python-dev python-twisted python-crypto screen linuxdcpp
Then, use this command to run the dtella.py program in a screen session:
- screen python dtella.py
Press Ctrl+A then Ctrl+D to back out of the screen window; this will run the dtella.py in the background. You may now close the terminal window. In the event that you want to reconnect to the screen session to check on the status or restart the program, open the terminal again and type “screen -r”.
Once you’ve got the dtella.py program running, you can open the LinuxDC++ GUI and add the hub with address 127.0.0.1:7314. This will allow you to connect to the dtella network.
For any other flavor of Linux, use pip to find the following dependencies:
- Python 2.x
- The Dtella client is written in Python. You will need Python 2.7 to run it. Python 3 won’t work. We’re working on it.
- Twisted (If it doesn’t work, 16.3.1 is a known good version)
- Dtella uses the Twisted networking library to operate
- Zope Interface (Zope is usually installed when you install Twisted.)
- Twisted uses Zope Interface for abstraction.
- PyCrypto
- Pycrypto is used to secure the Dtella packet communication
Set Up Your Router
You can ignore this step if you don’t have a router and are plugged directly into the wall.
Please visit the router setup page where you will find a basic guide that should work for most router types as well as custom tutorials for many popular routers.
Install Dtella
- Install all dependencies listed above on your system first manually or using your favorite package manager
- Extract the Dtella source code tarball with your favorite extraction utility to a place of your choosing
- Run dtella.py.