LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-14-2005, 02:58 AM   #1
kkatebian
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: Debian (Sarge)
Posts: 20

Rep: Reputation: 0
bittorrent commands, ports and ubuntu


I'm fairly new to linux and have just switched over to Ubuntu from SuSE. I comes with a program called "GNOME BitTorrent" but has no documentation for it or anything like that on their website. I'm assuming that it's just regular bit torrent but that doesn't make things any easier.

In short, I need to change the ports. The defaults are between 6881 and 6999 and I must give these new values but I don't know how. There is no gui so i need to type in some command but all I can find online is that doing this involves adding --minport <value> and --maxport <value>. Nowhere does it say to what they are being added - at least conclusively.

Furthermore, is it possible to change the values for good or will I have to give these values at every download? Is there something I can do with my router to solve the problem? Please Help!
 
Old 05-14-2005, 03:29 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi kkatebian!

Welcome to LQ.org. The very best (and easiest) way is to actually change it at your router. Simply forward ports from the range 6881 - 6999 to your Ubuntu / Gnome Torrent machine. Every router works differently, but it's usually under "NAT".

Regards!

P.S: Gnome Bittorrent works great in Ubuntu. I'm testing Ubuntu right now
 
Old 05-14-2005, 09:53 AM   #3
kkatebian
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: Debian (Sarge)
Posts: 20

Original Poster
Rep: Reputation: 0
Initially my goal was to resolve a blacklisting problem. I was informed that I should change my range to be within the region 49152 through 65535. I had already tried the port forwarding thing but could not get it to work successfully without an ip address. I think my ip address is 192.168.1.102 but I'm not sure (by the way, how could I get that?). Anyways, the problem then became one of an unrecognized host.

I'm really starting to get frustrated and confused, any help would be much appreciated!
 
Old 05-14-2005, 01:30 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
To find your Internal IP address, open a terminal and type "ifconfig". I really don't know how to change the ports in Gnome Bittorrent. But if it makes you feel any better, we are not the only ones

http://ubuntuforums.org/archive/index.php/t-22764.html
 
Old 05-14-2005, 04:08 PM   #5
kkatebian
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: Debian (Sarge)
Posts: 20

Original Poster
Rep: Reputation: 0
attempting to download files from filelist.org led to the following error message: port 6881 blacklisted


I read up on their site and it turns out all ports not in the range 49152 through 65535 are blacklisted

I did the following:
Access your Linksys Firewall Router's web admin page, according to the instructions in the manual for your router. You will probably need to enter a password. At the top of the web page there is a series of navigational links, and you want the one that says "Advanced". From there, move on to "Forwarding". Find an empty row in the form on that page, and fill in the name ("BitTorrent"), the port range (6881 to 6889), check the TCP box, and set the IP address to the one that your computer is. Check the Enable box then click the Apply button to save the changes.

I substituted, for my ip, 192.168.1.101 and I get the same error message (port 6881 is blacklisted)

When i type ifconfig I get the following:
eth0 Link encap:Ethernet HWaddr 00:11:09:7F:0E:80
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:9ff:fe7f:e80/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:273662 errors:0 dropped:0 overruns:0 frame:0
TX packets:177822 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:354433931 (338.0 MiB) TX bytes:16747245 (15.9 MiB)
Interrupt:19 Base address:0xe800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:268183 errors:0 dropped:0 overruns:0 frame:0
TX packets:268183 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24298898 (23.1 MiB) TX bytes:24298898 (23.1 MiB)

Now, I see that it's possible to forward ports to an ip but can ports be forwarded to other ports? Would that change anything?
 
Old 06-09-2005, 02:43 PM   #6
tirefoamcan
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
I did it this way:

edit: /usr/lib/python2.3/site-packages/BitTorrent/download.py
(You will need super user priviledges)

Find:
('minport', 6881, 'minimum port to listen on, counts up if unavailable'),
('maxport', 6886, 'maximum port to listen on'),

Change to the ports you want.
 
  


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
Detecting USB ports on Dell 2001fp monitor on Ubuntu Linux j3nnifers Linux - Hardware 8 10-10-2005 05:37 PM
Problem about ports commands satimis *BSD 2 06-06-2004 10:23 AM
Bittorrent Ports Arkas Linux - Networking 6 05-14-2004 04:24 PM
Opening BitTorrent Ports On A Belkin Router sethgeekx86 Linux - Software 0 03-21-2004 04:39 PM
Telnetting to specifics ports and the available commands dominant Linux - Security 1 01-30-2004 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:33 AM.

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