LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-15-2010, 10:47 AM   #1
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux
Posts: 224

Rep: Reputation: 15
Bittorrent Tracker on Etch


I'm wanting to d/l and make a couple of Knoppix 6.2 Live DVDs to give friends still
using XP.

I haven't used Bittorrent in Linux and I'm running into a couple of newbie snags. The first involves setting up bittorrent tracker default config so's I don't create problems.

I've copied the default text as it now exist at: /etc/default/bittorrent

I can change START_BTTRACK=0 to 1 OK. But I'm kinda vague on what I'm supposed to do with the # ALLOWED_DIR. Do I just uncomment it? Or are there other directories to consider? E.g., /usr/bin/ftp, /usr/X11R6/bin/ftp, /usr/bin/X11/ftp... or what?

Apropos the rest of the "comments", they are gibberish to me. If I need to make any changes to them, I'll need some hand holding.

Code:
# Default configuration for bittorrent tracker, bttrack

# If you want the bittorrent tracker to run, switch this to 1.
# If you change this, you will probably want to change 
# ALLOWED_DIR as well, or anyone will be able to track anything
# just by pointing the .torrent at your server.
START_BTTRACK=0

# Set any bttrack option --foo by defining the variable FOO to the argument
# you'd like to pass with the --foo option.  See `man bttrack` for a detailed
# discussion of the options.

# Persistent state file
DFILE=/var/lib/bittorrent/bttrack.state

# Port defaults to 80, which tends to be inconvenient
PORT=6969

# Only allow downloads for .torrent files in this directory
#ALLOWED_DIR=/srv/ftp

# The following options do not correspond to bttrack options; they influence how
# bttrack's init script starts the daemon.

# Run under this uid.  Must have access to all files and directories involved,
# naturally, but should otherwise have minimal privileges to minimize any
# security risk.
#DAEMONUSER=bittorrent

# chroot to this directory before starting the daemon.  This can also help keep
# the daemon secure, but may interact with all sorts of file locations in
# unexpected ways.
#DAEMONCHROOT=/var/local/lib/bttrack-sandbox

# Move to this directory before starting the daemon.  This may be useful in
# conjunction with DAEMONCHROOT.
#DAEMONCHDIR=/var/local/lib/bttrack-sandbox

# Run the daemon at this "nice" priority.  Setting a positive value here will
# dissuade the system from giving all its CPU time to bttrack requests from the
# network.
DAEMONNICE=5

# Append log output from daemon to this file.  Make sure this log is rotated
# from time to time so it doesn't fill up your disk.  The daemon will of course
# need write access to the log file.
DAEMONLOGFILE=/var/log/bittorrent/bttrack.log

Desktop
i-386 Processor
2.6GHz/512MB RAM/160GB HDD
HS Cable-Modem: (Motorola SURFBoard SB5101) direct to ISP (no router)

Deb/GNU 2.6.18-5-686 Etch (hd0) Qt: 3.3.7

KDE 3.5.5
Konqueror 3.5.5
Iceweasel 2.0.0.8
Icedove (Mozilla-Thunderbird 1.5.0.14pre)

2.6GHz/512MB RAM/80GB HDD
Windows XP (hd1) Chainloader +1

Last edited by r00ster; 01-15-2010 at 10:57 AM.
 
Old 01-16-2010, 04:51 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by r00ster View Post
setting up bittorrent tracker
To download something you don't need a tracker, just a Bittorrent client. If you don't need a GUI and you've got bittorrent installed (example for old version 3.4.*) then to download KNOPPIX_V6.2DVD-2009-11-18-EN running something as simple as 'btdownloadheadless.py --responsefile /tmp/KNOPPIX_V6.2DVD-2009-11-18-EN.torrent --saveas /tmp/KNOPPIX.ISO' could do. Just make sure the required ports are open between you and the remote tracker and clients.

Last edited by unSpawn; 01-16-2010 at 04:52 AM.
 
Old 01-20-2010, 02:50 AM   #3
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux
Posts: 224

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by unSpawn View Post
To download something you don't need a tracker, just a Bittorrent client. If you don't need a GUI and you've got bittorrent installed (example for old version 3.4.*) then to download KNOPPIX_V6.2DVD-2009-11-18-EN running something as simple as 'btdownloadheadless.py --responsefile /tmp/KNOPPIX_V6.2DVD-2009-11-18-EN.torrent --saveas /tmp/KNOPPIX.ISO' could do. Just make sure the required ports are open between you and the remote tracker and clients.
unSpawn;

Thanks for the help. A couple of things:

I d/l bittorrent with apt-get (see below) but the folder @ usr/share/bittorrent seems to be empty: 0 Files, 0 subfolders.

Code:
royrogers:/home/rooster# apt-get install bittorrent
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  bittorrent-gui
The following NEW packages will be installed:
  bittorrent
0 upgraded, 1 newly installed, 0 to remove and 114 not upgraded.
Need to get 95.3kB of archives.
After unpacking 631kB of additional disk space will be used.
Get:1 http://debian.yorku.ca etch/main bittorrent 3.4.2-10 [95.3kB]
Fetched 95.3kB in 21s (4536B/s)
Selecting previously deselected package bittorrent.
(Reading database ... 91498 files and directories currently installed.)
Unpacking bittorrent (from .../bittorrent_3.4.2-10_all.deb) ...
Setting up bittorrent (3.4.2-10) ...
Starting BitTorrent tracker: disabled in /etc/default/bittorrent.
Confused, I also d/l the gui, (see below) thinking that might help. Doing “whereis bittorrent-gui” nothing shows up and nothing obtains trying to run it.

Code:
royrogers:~# apt-get install bittorrent-gui
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libwxbase2.6-0 libwxgtk2.6-0
  python-wxgtk2.6 python-wxversion
Suggested packages:
  wx2.6-doc wx2.6-examples python-xml
The following NEW packages will be installed:
  bittorrent-gui python-wxgtk2.6
  python-wxversion
The following packages will be upgraded:
  libwxbase2.6-0 libwxgtk2.6-0
2 upgraded, 3 newly installed, 0 to remove and 112 not upgraded.
Need to get 6243kB of archives.
After unpacking 13.0MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org etch/updates/main python-wxversion 2.6.3.2.1.5+etch1 [21.8kB]
Get:2 http://security.debian.org etch/updates/main libwxbase2.6-0 2.6.3.2.1.5+etch1 [544kB]
Get:3 http://security.debian.org etch/updates/main libwxgtk2.6-0 2.6.3.2.1.5+etch1 [2803kB]
Get:4 http://security.debian.org etch/updates/main python-wxgtk2.6 2.6.3.2.1.5+etch1 [2860kB]
Get:5 http://debian.yorku.ca etch/main bittorrent-gui 3.4.2-10 [13.3kB]
Fetched 6243kB in 20s (303kB/s)
Selecting previously deselected package python-wxversion.
(Reading database ... 91576 files and directories currently installed.)
Unpacking python-wxversion (from .../python-wxversion_2.6.3.2.1.5+etch1_all.deb) ...
Preparing to replace libwxbase2.6-0 2.6.3.2.1.5 (using .../libwxbase2.6-0_2.6.3.2.1.5+etch1_i386.deb) ...
Unpacking replacement libwxbase2.6-0 ...
Preparing to replace libwxgtk2.6-0 2.6.3.2.1.5 (using .../libwxgtk2.6-0_2.6.3.2.1.5+etch1_i386.deb) ...
Unpacking replacement libwxgtk2.6-0 ...
Selecting previously deselected package python-wxgtk2.6.
Unpacking python-wxgtk2.6 (from .../python-wxgtk2.6_2.6.3.2.1.5+etch1_i386.deb) ...
Selecting previously deselected package bittorrent-gui.
Unpacking bittorrent-gui (from .../bittorrent-gui_3.4.2-10_all.deb) ...
Setting up python-wxversion (2.6.3.2.1.5+etch1) ...

Setting up libwxbase2.6-0 (2.6.3.2.1.5+etch1) ...

Setting up libwxgtk2.6-0 (2.6.3.2.1.5+etch1) ...

Setting up python-wxgtk2.6 (2.6.3.2.1.5+etch1) ...

Setting up bittorrent-gui (3.4.2-10) ..

Code:
royrogers:/usr/share/bittorrent# bittorrent
bash: bittorrent: command not found
royrogers:/usr/share/bittorrent# ./bittorrent
bash: ./bittorrent: No such file or directory
Clearly, my ineptitude is manifest evident.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bittorrent tracker seed help pooya313 Linux - Newbie 1 09-13-2007 10:15 PM
I need a bittorrent tracker Creak Linux - Software 1 07-30-2005 07:31 AM
How do does one become a BitTorrent tracker? patman362 General 1 12-26-2004 05:47 AM
Linux bittorrent tracker? robot5x Linux - Networking 3 10-09-2004 03:12 PM
Redhat 7.3 and Bittorrent Tracker TommesD Linux - Software 0 06-08-2003 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration