What is DC++?
DC++ uses ADC protocol for peer to peer file sharing. ( Too geeky??)
In layman’s terms, it helps to share files between users connected on a common local area network. It works on principles similar to torrenting(peer to peer).
Why do I need a DC++ hub?
DC++ is popular in various colleges/institutions for sharing of media files – music, movies, TV series, PDFs etc. It helps to transfer files at fast speeds and get access to media content available with your friend.
A new episode of the latest TV Series released?? Get it from your friend who already downloaded it without the hassle of crawling the whole web for the download link…
Setting up DC++ Hub:
This is a step by step guide to setup an ADC (DC++) Hub on a Raspberry Pi 3 using uhub:
- First, download and install a fresh copy of Raspbian. [LINK]
- Perform updates
- Install uhub
- Run uhub client.
The hub will probably not run because of the uhub plugins which are not installed by default. You have to manually disable those plugins to run the hub. These can be easily added later on.
- Open the plugins.conf file.
- Comment out the following highlighted 3 lines as shown in the screenshot
- Try running the server again, it should work properly.
- This is a basic DC Hub which serves at port 1511. To connect to the server, in your DC++ Client enter the hub address as the IP of the raspberry pi: 1511
eg. Local IP of Raspberry: 192.168.31.123
DC Hub : 192.168.31.123:1511
Customizing the DC hub
The next part of the blog deals with customizing the DC hub as per your requirements.
Setting a static IP:
You might want to set up a static IP, as the network switch may assign a different IP to your Raspberry Pi on network change (eg rebooting, IP assigned to another device etc)
Set the IP you want on the highlighted line and uncomment the line.
Installing Plugins for uhub: [LINK]
- The plugins have limited support available.
- They can be downloaded from uhub GitHub repo [LINK]
- To activate the plugins go to Setting up DC++ hub>>4. Uncomment the lines where the plugins are added.
In this guide, we walked over the steps to set up a DC++ hub on Raspberry Pi. Enjoy file sharing like never before. Stay tuned for future tech blog posts // … 😉