McKinney83 Posted September 1, 2004 Report Share Posted September 1, 2004 First, I am new to Linux, and I actually figured something out, so I thought I'd share it w/ everyone in case they would like to do the same. Recently a lot of ISPs started blocking port 6881 (maybe not block, but severely limit it) as they knew that this was the main Bittorrent port. If you have installed the Bittorrent client w/ 10.0 then your default port is 6881. It's an easy switch. first goto file:/usr/lib/python2.3/site-packages/BitTorrent find the file named download.py open it up, and search for "6881" (shouldn't be too far down) it will be on a line that looks like this ('minport', 6881, 'minimum port to listen on, counts up if unavailable'), ('maxport', 6886, 'maximum port to listen on'), The bottom number may not be correct, as this is already overwritten on my side. then change the 6881 to any new port that you want. I made mine 49153. same on the bottom, mine is 49163. you can try to save this file, but it wouldn't give me permission to, and as I am new I don't know a way around this. If it won't let you, no big deal. save it to your desktop or your /home directory. open up a terminal. I used su i don't know if you need to to overwrite files in that particular dir. so.. su [root@..]$ cp /home/whereveryousavedyourfile/download.py /usr/lib/python2.3/site-packages/BitTorrent/download.py it'll ask if you're sure, say yes. Go download a torrent just to make sure it works, and it might even be a little faster. I am new, so if you know any tricks or something I could have done to make this faster; or just any comments they are greatly appreciated. [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
devries Posted September 1, 2004 Report Share Posted September 1, 2004 To easily edit and save a file as root it's best to use a console editor like vi. Or if you like kwrite or something like that, open a console, log in as root and type kwrite. Good luck Quote Link to comment Share on other sites More sharing options...
Lowe Posted September 1, 2004 Report Share Posted September 1, 2004 I thought you could change the ports through most BT clients like Azureus, mabe im wrong. Quote Link to comment Share on other sites More sharing options...
papaschtroumpf Posted September 1, 2004 Report Share Posted September 1, 2004 (edited) I thought you could change the ports through most BT clients like Azureus, mabe im wrong. <{POST_SNAPBACK}> Yes, Azureus has a gui configuration. The btdownloadXXX clients have a command line option: --minport portnum set portnum as the minimum port to listen on, counts up if unavailable (default 6881) --maxport portnum set portnum as the maximum port to listen on (default 6889) Google for "man btdownloadgui" to get the full list of command line options EDIT: for example here: http://annys.eines.info/cgi-bin/man/man2html?btdownloadgui+1 Edited September 1, 2004 by papaschtroumpf Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.