Hosting a DC hub (PtokaX) on Rpi

Hosting a DC hub can be irritating sometimes as it needs to be kept online 24×7 and also it can be resource hungry as number of users connecting to the hub increases.

image_rpi_dc

In this post, we will see how a PtokaX DC++ hub can be hosted on a Raspberry Pi (or any other SBC / PC running a Debian based OS).

In this post, I am not gonna go into detail how to connect Rpi to the network and all that stuff as I assume Rpi is already configured and running a raspbian image. I also assume that you already have hub config files and scripts ready (/cfg and /scripts folders).

Steps:

1. Installing necessary dependencies and tools.

sudo apt-get -y install make g++ zlib1g-dev liblua5.1-dev liblua5.2-dev

2. Getting PtokaX unix source

wget http://www.PtokaX.org/files/0.5.0.2-nix-src.tgz

3. Extracting tar

tar -xf 0.5.0.2-nix-src.tgz

4. Compiling source

cd PtokaX

make

After successful compilation, copy existing config files (cfg folder) and necessary lua scripts (scripts folder) to PtokaX home path.

Change necessary details like server ip address and other by modifying Settings.xml file.

After making necessary changes, start PtokaX from terminal by typing…

sudo ./PtokaX

See if it is working.

You can add it to rc.local if you want to enable it every time Rpi boots up.

(Ref: link1, link2, link3)

I hope it helps.

Drop comments in case of any problems / difficulties. I will try my best to solve.

Happy hacking.

15,427 thoughts on “Hosting a DC hub (PtokaX) on Rpi

  1. How many simultaneous users can the hub handle?..any significant heating or other issues which need to be taken care of?
    P.S I wanna implement this thing for my college hub so ~ 2000 simultaneous users can be served..

    1. Hello Rishabh,

      You will have to try it on your own. If I remember correctly, it used to handle about ~ 1000 users without any problems. Let us know your findings.

  2. Hey,

    I have issue with Hub. I can connect to my hub, others users can also connect. But I can not connect to anyone on my hub – connection timeout. I forwarded ports, but without success. Please help.

  3. i have recently purchased rip 3 model b and i’m in a college where p2p is blocked and other downloading sites, so i want to set up an dc hub in college, i’m also new to raspberry pi i don’t know much. can i get help from scratch?

  4. I tried making hub in rpi ArchLinux but failed.
    Could you please make a tutorial for archlinux in rpi including port forwarding.
    I am using router in college’s LAN.
    Thank you

  5. Good post. I learn something tougher on completely different blogs everyday. It can always be stimulating to read content from different writers and observe a bit of something from their store. I’d desire to make use of some with the content material on my weblog whether you don’t mind. Natually I’ll give you a hyperlink in your net blog. Thanks for sharing. http://hellowh983mm.com

  6. Yet another thing to mention is that an online business administration program is designed for college students to be able to smoothly proceed to bachelors degree programs. The 90 credit education meets the lower bachelor education requirements when you earn your current associate of arts in BA online, you’ll have access to the most up-to-date technologies with this field. Some reasons why students are able to get their associate degree in business is because they can be interested in this area and want to obtain the general education and learning necessary in advance of jumping to a bachelor education program. Thanks for the tips you really provide inside your blog.

  7. Something else is that while searching for a good on-line electronics retail outlet, look for online shops that are constantly updated, retaining up-to-date with the most current products, the best deals, as well as helpful information on services and products. This will make certain you are doing business with a shop which stays on top of the competition and gives you what you ought to make knowledgeable, well-informed electronics buying. Thanks for the important tips I have really learned from your blog.

  8. online payday loan loan payday multiple payday loans cash loan payday online loans online loans online payday loans what is an unsecured loan installment loans installment loans online installment loans regions loans guaranteed loans for bad credit cash advance lenders online loans payday loans com what is a cash advance quick loans loans today quick loans payday loans loans payday lenders network loans payday no fax payday loans loans payday loans payday loans payday loans online loans online online loans no credit bad credit payday lenders payday loan payday advance loan instant payday loan online payday loan cash advance advance cash advance cash personal loans companies

  9. personal loans calculators installment loans guaranteed installment loans guaranteed installment loans guaranteed loans online loans online payday loans same day bank loans for bad credit cash advance loan cash advance need a fast loan cash advance a payday loan loans in california payday loan american financial loans online loans tribal loans for bad credit online payday advance loan online loans loans online personal loans online quick loans online loans online payday loans payday loans loans payday loans payday online loan calculator guaranteed approval payday loan loans in houston payday loans comparison no fax payday loans loans with no checking account no fax payday loans payday loans

  10. installment loans personal loan online installment loans personal loan online loan broker advance cash cash advance cash advance tribal installment loans payday loans payday loans no fax stafford loans money fast online quick loans quick loans quick online loans instant approval quick loans instant personal loan approval quick loans quick loans online loans loans online how do payday loans work online loans cash advance loan online loans payday personal loans low interest rates payday loans loan today loan for 2000 payday loans no credit loans in tulsa ok

  11. Draft of the same year on the bottom rookie will be what?In general the draft should be able to blow the other party, who would have thought them took Owen on the 60th pick small Thomas in the same year, he turned out to be in the position of the challenger?
    nike air max 97

  12. loans online personal loan interest loans online no credit check online pay day loans payday loans payday loan no credit check payday loans payday loans quick cash loans online loans online direct loans online find loan quick cash loans paperless payday loans loans in ontario 1000 payday loan installment loans guaranteed installment loans payday loans no faxing credit loans personal loan repayment payday loan payday loan payday loan cash loan payday loan payday payday loan payday loan

  13. Owen said: “Cleveland need game.”Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight’s eastern conference finals first time has pushed the next Wednesday.
    ugg 5815

  14. The NBA playoffs now for today, have determined the warriors in the western conference and will compete for a spot in the finals quota, knight still don’t know who his opponent was.However, even in the face of the celtics or the wizards, presumably knight will be
    nmd human race

  15. Thanks for your write-up. One other thing is when you are advertising your property all on your own, one of the concerns you need to be aware of upfront is when to deal with property inspection records. As a FSBO vendor, the key about successfully moving your property along with saving money upon real estate agent commission rates is know-how. The more you realize, the more stable your property sales effort might be. One area in which this is particularly significant is reports.
    adidas pure boost

  16. The NBA playoffs now for today, have determined the warriors in the western conference and will compete for a spot in the finals quota, knight still don’t know who his opponent was.However, even in the face of the celtics or the wizards, presumably knight will be
    nike sb dunk

  17. “I don’t think eastern conference finals will be a long war, knight’s strength is too strong. The celtics nobody with lebron, they even Owen this level of star all have no, they are really no one can stop the knight.
    bape hoodie

  18. Owen said: “Cleveland need game.”Indeed, they rested for too long.In green, and the wizards to after the tiebreak, the beginning of the knight’s eastern conference finals first time has pushed the next Wednesday.
    jordan 32

  19. Carey – Owen about injury of varese, said it happened out how knight players want to play games.”I was about to enter a 5 on 5 game, but after three seconds, varese is injured
    ecco

  20. Obviously, the right to occupy a team-high 21.6 shots of Michael Owen, but failed to hit as James scores, this let a person feel, Owen has become a “cancer” of the knight.But many fans also feel,
    curry 2

  21. Because Michael Owen at the side of huang zhan, so his nickname called small report.The earliest Owen left the impression of the world, is probably the flashy passing movements and dazzling breakthroughs, remember in the rookie challenge, he drew down two slipped past knight
    under armour shoes

  22. Draft of the same year on the bottom rookie will be what?In general the draft should be able to blow the other party, who would have thought them took Owen on the 60th pick small Thomas in the same year, he turned out to be in the position of the challenger?
    kyrie 4

  23. 651272 16033There is an ending. Just remember that I meant for this to be an art game. I do feel like I spent an inordinate amount of time on the much more traditional gameplay elements, which might make the meaning of the game a bit unclear. In the event you mess around with it though, you will discover it. 488059

  24. The titanium necklace is a strong tool to assist alleviate discomfort in your neck and shoulders and promote relaxation in the entire
    physique. The necklace which you used before cannot offer you as consolation to the neck as this one can give youIt has a
    very good impact for anti-fatigue and anti-radiation, and may effectively eradicate cervical issues.
    So really feel the power of titanium necklace.

  25. You could definitely see your expertise in the work you write.
    Τhe sector hopes for even more passionate ԝriters likе you who are not afraid to say how they believe.
    All the time go afteг your heart. “History is the version of past events that people have decided to agree upon.” by Nap᧐leon.

  26. you are in reality a excellent webmastеr.
    The ѡeb site loaing sped is іncredible. It kind off feeⅼs that
    you are doing any distincctive trick. In аԁdіtion, Thhe contents are mastеrpiece.

    you have performed a wonderful job in this subject!

  27. loans personal loans personal buy now pay later bad credit personal loans loan estimate installment loans loans online personal loans no credit loans online money lender no credit check loans default loans online loan payday payday loan payday loan payday loan payday loans apply for a payday loan direct lender payday loans no teletrack personal loan contract template no credit loans online installment loans cash advances online online installment loans loans online loans online best online loans directloan

  28. payday loans no fax loans payday mortgage [url=https://paydayloans.science]loans payday[/url] quick loans personal bank loans quick loans [url=https://quickloans.bid]no interest loan[/url] bad credit personal loans guaranteed approval secure online payday loans loan without a job [url=https://loansonline.cricket]loans online[/url] personal loans online advance cash installment loans online [url=https://onlineloans.science]loans online[/url] loans personal loan place cheap personal loans [url=https://personalloans.science]personal loans unsecured[/url] payday loan direct payday loan payday loan [url=https://paydayloan.science]payday loan[/url] payday loan payday loan a payday loan [url=https://paydayloan.cricket]payday loan[/url]

  29. In ᧐rder to be succcessfuⅼ with freelancing, its necessary to be seⅼf-disciplined,
    motivateԁ, and organized. Forr those who еlect to take the route oof
    freelancing, you will have to be ablе to seek and obtajn prospective jobs, be
    very efficcient in scheduuling your time, and
    have good matһ skills for tһhe aim of billing andd taxes.

  30. I simply wished to thank you so much once again. I’m not certain the things that I would’ve undertaken in the absence of the entire advice shared by you concerning that topic. It had been a challenging scenario in my circumstances, however , witnessing a expert fashion you dealt with that made me to jump over delight. Now i am happier for this guidance and hope you know what a great job you’re putting in teaching other individuals via your blog. I’m certain you have never encountered any of us.

  31. payday loans in nc cash advance definition quick loans [url=https://quickloans.bid]quick loans[/url] payday loan payday loan no faxing a payday loan [url=https://paydayloan.cricket]a payday loan[/url] payday loans payday loans borrow money [url=https://paydayloans.science]payday loans no fax[/url] loans online online personal loans cash advance installment loans [url=https://onlineloans.cricket]24 hour payday loan[/url] installment loans installment loans guaranteed installment loans guaranteed [url=https://installmentloans.trade]payday loans no lenders[/url] cash loans online loans online cash loans online [url=https://onlineloans.science]online loans[/url]

  32. cash advance cash advance cash advance [url=https://cashadvance.science]advance cash[/url] loans online loan money payday loan near me [url=https://loansonline.bid]loans online[/url] loans online online loans online loans [url=https://loansonline.science]loans online direct[/url] installment loans installment loans loan rate calculator [url=https://installmentloans.cricket]installment loans[/url] cash advance loans online loans online bad credit payday lenders [url=https://loansonline.cricket]loans online[/url]

  33. best online loans online payday loans legit online loans [url=https://onlineloans.cricket]online personal loans[/url] approved loans a payday loan a payday loan [url=https://paydayloan.cricket]payday loan[/url] quick loans best payday loan online quick loans [url=https://quickloans.webcam]quick cash loans[/url] payday loan bad personal loans personal loans [url=https://personalloans.science]loans personal[/url] payday advance loans online emergency loans quick loans [url=https://quickloans.bid]fast loans bad credit[/url] payday cash advances a payday loan payday loan [url=https://paydayloan.science]a payday loan[/url] installment loans guaranteed installment loans installment loans guaranteed [url=https://installmentloans.cricket]online installment loans[/url] a payday loan payday loan direct payday loan [url=https://paydayloan.webcam]payday loan[/url] online loans online loans online loans [url=https://onlineloans.science]swift payday loans[/url] quick loans online personal loans online personal loans online [url=https://loansonline.science]cash loans no credit[/url]

  34. online installment loans payday loans tacoma wa installment loans [url=https://installmentloans.cricket]cash til payday loan[/url] payday loans online online loans direct payday loan lenders online [url=https://onlineloans.science]bank loans bad credit[/url] direct consolidation loan advance money quick loans [url=https://quickloans.bid]quick loans[/url] payday loan speedy loan payday advance loan [url=https://paydayloan.webcam]personal loans with poor credit[/url] cheap personal loans loans personal payday loans bad [url=https://personalloans.science]personal loans[/url] payday loans no fax loans payday loans payday [url=https://paydayloans.science]payday loans no fax[/url] loans online consumer payday loans loans online [url=https://loansonline.cricket]instant loan online[/url] loans in las vegas nevada bad credit loans online payday loan [url=https://paydayloan.cricket]payday loan[/url] cash advance online simple interest loans fast cash advance [url=https://cashadvance.science]cash advance[/url] bad credit history loans online loans online [url=https://loansonline.science]payday loans online[/url]

  35. The following time I learn a weblog, I hope that it doesnt disappoint me as much as this one. I imply, I do know it was my option to read, however I really thought youd have one thing attention-grabbing to say. All I hear is a bunch of whining about one thing that you might fix in case you werent too busy in search of attention.

  36. I just lately came across your blog and have been reading along. I thought I would leave my initial comment. I do not know what to say except that I have liked reading. Good blog. I will keep viewing this blog really usually.

  37. Pretty useful article. I merely stumbled upon your internet site and wanted to say that I’ve very favored learning your weblog posts. Any signifies I’ll be subscribing with your feed and I hope you publish once additional soon.

  38. Carey – Owen about injury of varese, said it happened out how knight players want to play games.”I was about to enter a 5 on 5 game, but after three seconds, varese is injured
    kyrie 3

  39. rates on personal loans online loans online loans [url=https://onlineloans.webcam]cash payday loans[/url] loans online loans online very bad credit payday loans [url=https://loansonline.cricket]online payday loans canada[/url] installment loans guaranteed installment loans new payday loan companies [url=https://installmentloans.trade]installment loans guaranteed[/url]

  40. advance cash cash advance advance cash [url=https://cashadvance.science]fast cash advance[/url] payday loans bad credit quick loans payday loans in philadelphia [url=https://quickloans.webcam]quick loans[/url] best payday loans pool loan personal loans online [url=https://onlineloans.science]payday loans online[/url] loans personal personal loan companies cheap personal loans [url=https://personalloans.science]personal loans[/url] loan offices need a fast loan cash payday loans [url=https://onlineloans.webcam]online loans[/url]

  41. Particular paid google internet pages offer complete databases relating whilst personal essentials of persons while range beginning telephone number, civil drive public records, as well as criminal arrest back-ground documents.

  42. Pingback: nmd shoes
  43. Spot lets start on this write-up, I really believe this excellent website requirements a lot more consideration. I’ll more likely once again to learn far more, thank you that info.

  44. Pingback: Cheap Jerseys
  45. Fantastic goods from you, man. I have understand your stuff previous to and you are just extremely fantastic. I really like what you’ve acquired here, certainly like what you are stating and the way in which you say it. You make it enjoyable and you still care for to keep it smart. I can’t wait to read much more from you. This is really a terrific website.

  46. The the next time I just read a weblog, I hope that this doesnt disappoint me up to this place. What i’m saying is, It was my method to read, but I really thought youd have something interesting to say. All I hear is usually a bunch of whining about something that you could fix should you werent too busy seeking attention.

  47. Excellent post. I was checking constantly this blog and I am impressed! Extremely useful information particularly the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and best of luck.

  48. Ӏ think tһiѕ is one of tһe mst vital info foг me. Ꭺnd і amm
    glad reading your article. Ᏼut wnt tto remark ᧐n few ցeneral thingѕ, The websie
    stygle іѕ wonderful, the articles iss really excellen : Ⅾ.
    Good job, cheers

  49. I just want to mention I am just all new to blogs and absolutely loved this website. Probably I’m planning to bookmark your blog . You definitely come with exceptional posts. Kudos for revealing your blog.

  50. With havin sо much content Ԁo ʏoս evеr run into ɑny problemѕ of plagorism oг copүright violation? My website has ɑ lot
    of unique сontent I’ve either cгeated mүself or outsourced
    but it ⅼooks like а lot of it is popping it uⲣ all over the
    web withⲟut my permission. Ꭰo you кnow any ѡays tߋ helρ prevent c᧐ntent
    from being stolen? I’d really apрreciate іt.