LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 11-04-2004, 11:14 AM   #1
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
problem with ftp on mandrake 10.1 Official, ftp speeds system wide *SOLVED*


somethign wierd happening on mandrake 10.1 official...

i have a 512k/256k adsl connection at work. when i download something via http i get decent speeds from 40 - 55kb/sec...

when i use ftp i get about 3 - 4kb/sec, now this is rather ridiculous! To test this further i ssh'd into another box on our network @ work and downloaded the same file from the same mirror via ftp and this other box was getting the file @ 50+kb/sec

on my box i get:

[root@rizon michael]# wget -c ftp://ftp.pbone.net/mirror/carroll.c...-4mdk.i586.rpm
--19:02:24-- ftp://ftp.pbone.net/mirror/carroll.c...-4mdk.i586.rpm
=> `nvu-0.50-4mdk.i586.rpm'
Resolving ftp.pbone.net... 213.186.73.194
Connecting to ftp.pbone.net[213.186.73.194]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /mirror/carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/devel/cooker/i586/media/contrib ... done.
==> PASV ... done. ==> RETR nvu-0.50-4mdk.i586.rpm ... done.
Length: 10,565,803 (unauthoritative)

1% [ ] 105,664 5.53K/s ETA 20:46

and on the gentoo box @ work i get:

[root@woz root]# wget -c ftp://ftp.pbone.net/mirror/carroll.c...-4mdk.i586.rpm
--19:11:10-- ftp://ftp.pbone.net/mirror/carroll.c...-4mdk.i586.rpm
=> `nvu-0.50-4mdk.i586.rpm'
Resolving ftp.pbone.net... done.
Connecting to ftp.pbone.net[213.186.73.194]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /mirror/carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/devel/cooker/i586/media/contrib ... done.
==> PORT ... done. ==> RETR nvu-0.50-4mdk.i586.rpm ... done.
Length: 10,565,803 (unauthoritative)

2% [=> ] 236,600 22.77K/s ETA 07:23

now the most frustrating part about all of this is that im trying add my contrib club mirror and i cant handle the 3kb im getting, urpmi must be using the same settings and if u compare u will see mandrake is using PASV and not PORT.

please can someoen help me fix!

if i set the gentoo box to use the PASV option with wget it also gets slow speeds so this is definately down to the system using PASV for ftp, even with mozilla firefox i get those slow speeds when downloading from ftp!!!

Last edited by equinox; 11-08-2004 at 12:57 AM.
 
Old 11-05-2004, 02:56 AM   #2
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Original Poster
Rep: Reputation: 30
well I'm @ a client today fixing some windows boxes and had my pc in my car so i brought it out and tested the same thing on my clients adsl connection and i still get the same poor speeds via ftp
 
Old 11-05-2004, 07:14 AM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
I'm NOT having this problem with 10.1 official.

Have you tried disabling IPV6?

Some users report a marked performance increase when this is disabled.
 
Old 11-05-2004, 01:10 PM   #4
xavierh
Member
 
Registered: Feb 2004
Location: Denton, TX
Distribution: Mandriva 2005 LE
Posts: 221

Rep: Reputation: 30
Question how do you?

disable it IPv6?
 
Old 11-05-2004, 08:42 PM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Yes disable IPV6.
 
Old 11-05-2004, 10:39 PM   #6
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Original Poster
Rep: Reputation: 30
Quote:
Have you tried disabling IPV6?
Nope, but please tell me how I disable IPv6, that would be very elpfull thanks!
 
Old 11-05-2004, 10:45 PM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Sigh...

Search is a marvelous thing...

http://www.linuxquestions.org/questi...highlight=IPV6
 
Old 11-05-2004, 10:51 PM   #8
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Original Poster
Rep: Reputation: 30
and a fast reply is even more better ;-) *click*
 
Old 11-05-2004, 10:52 PM   #9
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Only for those who expect others to do their work for them....
 
Old 11-05-2004, 11:05 PM   #10
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Original Poster
Rep: Reputation: 30
ok well easy now, no ned for negative comments, just like you i have have helped plenty people resolving issues ok.

anyways, I took your advice and things seem to be better except i am @ home and on dialup. But im getting about 4.67kb/sec on ftp downloads which is "good" i guess. a true test will be @ work on monday when im on the adsl line. thanks for the help m8.

cheers.
 
Old 11-07-2004, 03:28 PM   #11
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
For dialup that is not bad considering.

Also one IMHO mistake that dialup user's often make is to let the modem default to the FASTEST settings!!!

Sounds contradictory doesn't it?

You have to understand how the modems work though.

During connections and data transfers the modems check the quality of the lines by exchanging control test/sequences.

If your line quality degrades a bit, or is not perfectly clean initially your modem will spend most of it's time renegociating the link speed!

So it's often better to step it down to say 38k or 44k on a 56k modem, so this rarely happens.

The results are often a dramatic speed INCREASE.
 
Old 11-07-2004, 07:27 PM   #12
xavierh
Member
 
Registered: Feb 2004
Location: Denton, TX
Distribution: Mandriva 2005 LE
Posts: 221

Rep: Reputation: 30
Thumbs up Thanks

Quote:
Originally posted by opjose
Sigh...

Search is a marvelous thing...

http://www.linuxquestions.org/questi...highlight=IPV6
for the tip amigo. I was having some wired issues copying files between mdk 10.0 and my xp mcahine.at first I thought it was samba but after doing that change the problems went away....

Gracias!!
 
Old 11-07-2004, 07:31 PM   #13
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Yeah IPV6 seems to be a real boondoggle at the moment.

I had similiar problems with Winblows machines. They would frequently be unable to resolve IP's or bring up web sites, and even then VERY VERY slowly until IPV6 is turned off.

Also under Winblows leaving IPV6 on with no local IPV6 DNS and router results in a 3-5 minute wait during XP startup for me, as the machine searches for IPV6 routers and dhcp servers.

UGH!

I though my blazing new 3.4gHz P4E system was sick...

Then I turned off IPV6 and all was fine with the world.
 
Old 11-08-2004, 12:56 AM   #14
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Original Poster
Rep: Reputation: 30
Ok im at work and speeds are where they should be

[michael@rizon michael]$ wget -c ftp://ftp.is.co.za/FreeBSD/ISO-IMAGE...6-bootonly.iso
--08:54:54-- ftp://ftp.is.co.za/FreeBSD/ISO-IMAGE...6-bootonly.iso
=> `5.3-RELEASE-i386-bootonly.iso'
Resolving ftp.is.co.za... 196.4.160.12
Connecting to ftp.is.co.za[196.4.160.12]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /FreeBSD/ISO-IMAGES-i386/5.3 ... done.
==> PASV ... done. ==> RETR 5.3-RELEASE-i386-bootonly.iso ... done.
Length: 21,430,272 (unauthoritative)

0% [> ] 195,360 49.41K/s ETA 07:02

thanks Opjose!
 
Old 11-08-2004, 05:21 AM   #15
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Great!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ftp client crashes in Mandrake 10.1 official cheema Mandriva 5 12-24-2004 09:22 PM
ftp client crashes in Mandrake 10.1 official cheema Linux - Software 1 12-23-2004 04:32 PM
Says Mandrake 10.0 Community on Official FTP Install? benobi Mandriva 1 05-23-2004 01:40 AM
Mandrake 10 Official FTP Install Zmaster115 Mandriva 3 05-05-2004 03:06 PM
ftp from LAN to big wide world acid_kewpie Linux - Networking 2 11-14-2001 04:05 PM


All times are GMT -5. The time now is 02:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration