Skip to Content.
Sympa Menu

baslinux - Re: [BL] slow upload speed, was Re: multiple systems (among other things) -- was Re: interesting info for those with trident cards (possibly applies to others)

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Samual Acorn <sam.acorn AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] slow upload speed, was Re: multiple systems (among other things) -- was Re: interesting info for those with trident cards (possibly applies to others)
  • Date: Tue, 27 Dec 2005 21:23:49 -0600

how to use curl at bottom of message....

On 27/12/05, sindi keesan <keesan AT sdf.lonestar.org> wrote:
> >> We have the same problems with all of our 56K modems, internal and
> >> external. Why is upload speed only about 1.6-1.7K but download can be
> >> 5K?
> >
> > because the ISPs side is digital (less noise) but your side is
> > analog... when a 56k modem uploads it uses the same method as a 33.6k
> > (if its not using v.pcm upstream that is) but when it downloads it
> > uses a psudo-digital method...
> >
> >>> when the buffer in the modem gets full it tells the comp to stop
> >>> sending data (CS) and this.. combined with the unbalanced speed of 56k
> >>> (or even some 33.6k) modems can make for a rather unstable
> >>> connection....
> >>>
> >>> install curl and use its software bandwidth throttle to slow the
> >>> upload to 2k/s ... wont be as fast but will be stable...
> >>
> >> It can't be any slower than the 1.6-1.7K upload I am getting now.
> >> Somehow it uses up all the bandwidth so I can't do any browsing at the
> >> same time at reasonable speed.
> >
> > a test on your upspeed/downspeed (to get a very rough idea) would be
> > to open minicom (or whatever) and type first;
> >
> > ATZ
> > you should get OK
> > then ATDT <isp phone number>
> > depending on what your ip uses you may see login: or just a bunch of
> > random junk.... wait a couple of seconds and press the "+" key three
> > times... dont press any other key... you should get OK
> > type ATH0
> > it should hang up the line and say OK again.... if the modem beats you
> > to hanging up you will get something like NO CARRIER... this is ok...
> >
> > at this point type AT&V1 if it is a rockwell/conexant modem or ATI6 if
> > it is a USR... youll get quite a bit of diagnostic info on the
> > connection you made... including your upspeed and downspeed usually
> > written something like 46666/24000
> >
> > this is the fastest transfer rates your phone line can handle (may
> > slow down later on... due to fall back from noise)
>
> USR Sportster external 50666/31200
> Maximum SMTP upload just under 2K/sec. Probably a noisy phone line, the
> area is 1900s and the squirrels chew on the wires and they get wet.

slow your modems connect speeds down if the lines are wet... the modem
is starting out fast and falling back rather than starting slow and
speeding up.... (the latter is more stable)

try using curl first before we try getting into this...

>
> To get this info:
> kermit
> set car off (set carrier watch off)
> c (connect)
> at&f1 (not ATZ for Sportster)
> atdt phone number
> I dialed a university 'ISP' and had to give host name, login, password,
> before it would accept the +++ and ATH0
>
> Kermit would not accept commands again until I exited then reloaded it
> and
> set car off
> c
> ati6 (Sportster) gave the speeds.

dont use kermits scripts or dialer... just talk to the modem (serial
port) directly... or is this not possible? (it was in the dos version)
try to make kermit think there isnt a modem there.... or... install
minicom...

>
> So I need some way to limit upload speed to 31200 or maybe
> only 2Kbytes/sec.

2k/s would give TCP/IP some headroom... tho i doubt you are getting
31200 upload speeds... remember i said this was a very rough idea....
its not an absolute...

>
> Curl mentioned working with HTTP, FTP and TELNET, not SMTP. My FTP
> uploads are even slower than my SMTP uploads and slow progressively -

modem is falling back to lower(more stable) speeds...

> would curl make them faster (to sdf)?

with the bandwidth throttle.. yes... (read: more than likely but not a
100% garantee)

>
> The download link for curl and libcurl at sourceforge does not work.
> Exiting with error. (Using lynx, which works for netpbm at sourceforge).

i think i downloaded the source at xiph.org but i cant remember....
(tis been a while)

>
> Packages are available for Slackware 9.* and 10.*
> (New distributions do have some advantages).
>
> Linuxpackages has curl 6.2 for Slackware 7 and 7.10.3 for Slackware 8.1
>
> I recommend everyone upgrade their ext2 BL2 libc to that from SW8.1, it is
> not much larger and lets you use many more precompiled programs.
>
> You need to add to lynx.cfg to use this download site with lynx:
>
> REFERER_WITH_QUERY:PARTIAL
> (instead of the default:DROP)
>
> Japanese mirror is not working, try the French one.
> 4.6K/sec download 350K package
>
> This package includes /usr/bin/curl and the libraries (so and a) and doc
> and man and has a 250K .cert (for SSL?) that is larger than the binary
> itself. The certificate should end in .pem. I have one already for lynx
> that is over 600K. I think you can specify where to look for cert.pem

you can feed it random numbers manually as well... but thats a
different story...

>
> 30 man pages. setopt looks most informative if you can understand it.
>
> Sam, how would you FTP upload a file at max 2K/sec? Is this a command
> line with options or do you need to edit a config file? I can't follow
> this man page. Curl appears to be a file transfer program like wget or a
> browser.
>
> CURLOPT_LOWSPEED_LIMIT looks relevant.

to upload a file to an FTP server using curl and its bandwidth
throttle set at 2k/s (kilobytes/s)...

curl -T file_to.upload --limit-rate 2k -u username:password
ftp://server.you.want.to.upload.to

you can also use numbers like 1.5k or 1.6k ... to try to squeeze as
much through as possible while keeping things stable if 2k is too
fast...

you can also use curl to play shoutcast streams... but we wont get
into that just yet... ;)

>
>
> Can I delete libcurl.a?

not if you want to compile/use something else that uses/needs it...
like ogg123...

> _______________________________________________
> BasLinux mailing list
> BasLinux AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/baslinux
>


--
--sam
http://mephitus.renamon.org/
"When you've done something right, no one will be sure you've done
anything at all." -- Futurama
--




Archive powered by MHonArc 2.6.24.

Top of Page