Dial-In Only Get 9.6Kbps

Dial-In Only Get 9.6Kbps

Post by Young4er » Mon, 05 Mar 2001 00:12:31



Hi,

I was requested by a friend who does not have an access to NG services to
post this:

At work, I have setup my Pentium 200MHz machine that is connected to a
64Kbps leased line as a router using the RedHat 7.0 Linux distro.  I also
have attached an external 56Kbps modem to my router for myself to dial-in
from home.  The following is the network scheme:

  +---| Linux as a router with a dial-in modem |---> 64Kbps Internet
  |
  +---| Linux #0 |
  |
  +---| Linux #1 |
  :
  .
  +---| Linux #n |

Everytime when I attempted to connect to my router's modem from home, I
could only get 9.6Kbps (I know that means nothing) and surfing the net was
so slow.  I could only get 1KByte/sec doing an FTP download from any of
other Linux machine which confirmed that the dial-in connection was only
about 9.6 Kbps.  I tried to upgrade my system with mgetty-1.1.25 and
ppp-2.4.0 and am still getting 9.6 Kbps connection.  When I do "setserial
-a /dev/ttyS3" (my modem is connected to com4), I got:

   /dev/ttyS3, Line 3, UART: 16550A, Port: 0x02e8, IRQ: 3
           Baud_base: 115200, close_delay: 50, divisor: 0
           closing_wait: 3000, closing_wait2: infinte
           Flags: spd_normal

There's got to be something that set my router's /dev/ttyS3 to only a
9.6Kbps.  What else am I missing?  BTW, I am using the original kernel
distributed from the RedHat-7.0 Linux distro.  Do I have to upgrade the
kernel to 2.4.x also to take the advantages offered by the mgetty-1.1.25
and ppp-2.4.0 packages?

TIA.

 
 
 

Dial-In Only Get 9.6Kbps

Post by Anthony Schlemme » Mon, 05 Mar 2001 02:54:42


Wouldn't you want the spd_vhi flag set rather than spd_normal? This flag
can be set through the "setserial" utility:

setserial -v /dev/ttyS3 spd_vhi

Quote:> Hi,

> I was requested by a friend who does not have an access to NG services to
> post this:

> At work, I have setup my Pentium 200MHz machine that is connected to a
> 64Kbps leased line as a router using the RedHat 7.0 Linux distro.  I also
> have attached an external 56Kbps modem to my router for myself to dial-in
> from home.  The following is the network scheme:

>   +---| Linux as a router with a dial-in modem |---> 64Kbps Internet
>   |
>   +---| Linux #0 |
>   |
>   +---| Linux #1 |
>   :
>   .
>   +---| Linux #n |

> Everytime when I attempted to connect to my router's modem from home, I
> could only get 9.6Kbps (I know that means nothing) and surfing the net was
> so slow.  I could only get 1KByte/sec doing an FTP download from any of
> other Linux machine which confirmed that the dial-in connection was only
> about 9.6 Kbps.  I tried to upgrade my system with mgetty-1.1.25 and
> ppp-2.4.0 and am still getting 9.6 Kbps connection.  When I do "setserial
> -a /dev/ttyS3" (my modem is connected to com4), I got:

>    /dev/ttyS3, Line 3, UART: 16550A, Port: 0x02e8, IRQ: 3
>            Baud_base: 115200, close_delay: 50, divisor: 0
>            closing_wait: 3000, closing_wait2: infinte
>            Flags: spd_normal

> There's got to be something that set my router's /dev/ttyS3 to only a
> 9.6Kbps.  What else am I missing?  BTW, I am using the original kernel
> distributed from the RedHat-7.0 Linux distro.  Do I have to upgrade the
> kernel to 2.4.x also to take the advantages offered by the mgetty-1.1.25
> and ppp-2.4.0 packages?

> TIA.

--
Anthony Schlemmer


 
 
 

Dial-In Only Get 9.6Kbps

Post by Bob Hau » Mon, 05 Mar 2001 05:43:40



> Everytime when I attempted to connect to my router's modem from home,
> I could only get 9.6Kbps ... I tried to upgrade my system with
> mgetty-1.1.25 and ppp-2.4.0 and am still getting 9.6 Kbps connection.

Your setserial output looks fine.  What speed have you told mgetty to
use?  If you don't know, it is probably using the default of 9600 bps.

Check in /etc/mgetty+sendfax/mgetty.config to see if you have a line
like the following in the global section, or in the section for your
modem port:

# access the modem(s) with 38400 bps
speed 38400

--
 -| Bob Hauck
 -| To Whom You Are Speaking
 -| http://www.haucks.org/

 
 
 

Dial-In Only Get 9.6Kbps

Post by Clifford Kit » Mon, 05 Mar 2001 03:00:43



> Everytime when I attempted to connect to my router's modem from home, I
> could only get 9.6Kbps (I know that means nothing) and surfing the net was
> so slow.  I could only get 1KByte/sec doing an FTP download from any of
> other Linux machine which confirmed that the dial-in connection was only
> about 9.6 Kbps.  I tried to upgrade my system with mgetty-1.1.25 and
> ppp-2.4.0 and am still getting 9.6 Kbps connection.  When I do "setserial
> -a /dev/ttyS3" (my modem is connected to com4), I got:
>    /dev/ttyS3, Line 3, UART: 16550A, Port: 0x02e8, IRQ: 3
>            Baud_base: 115200, close_delay: 50, divisor: 0
>            closing_wait: 3000, closing_wait2: infinte
>            Flags: spd_normal

What speed is mgetty set to use?  Is is compatible with the speed that
pppd is set to use?  There are two ends to a PPP connection so what is
the speed of the device files on the dial-in hosts?  What is the pppd
speed on those hosts?

Quote:> There's got to be something that set my router's /dev/ttyS3 to only a
> 9.6Kbps.  What else am I missing?  BTW, I am using the original kernel
> distributed from the RedHat-7.0 Linux distro.  Do I have to upgrade the
> kernel to 2.4.x also to take the advantages offered by the mgetty-1.1.25
> and ppp-2.4.0 packages?

Don't know what mgetty 1.1.25 offers beyond 1.1.21 but I'd guess "No."
In the case of pppd you might have to upgrade to a 2.4.x series kernel
for Multilink PPP or (maybe with a patched pppd) PPPoE.

In fact I'd advise sticking to pppd 2.3.11 until you do upgrade to the
2.4.0 kernel, or wait until pppd 2.4.1 arrives.  There is at least one
known bug in pppd 2.4.0 in regard to option handling.

--

/* In my book, the first poster to resort to personal abuse in a Usenet
   debate loses by default.  -  Rod Smith */

 
 
 

Dial-In Only Get 9.6Kbps

Post by Young4er » Tue, 06 Mar 2001 13:18:25


First, I would like to thank to all whom had responded to my post.  It
seemed that my friend did not forward a more complete information that most
of you had asked for the speed set to use under mgetty.  After forwarding
all your posts, my friend informed me that the mgetty was set to 57600 and
his dial-in still got 9600Kbps (setting the mgetty to 38400 Kbps also
yielded the same thing).

> Hi,

> I was requested by a friend who does not have an access to NG services to
> post this:

> At work, I have setup my Pentium 200MHz machine that is connected to a
> 64Kbps leased line as a router using the RedHat 7.0 Linux distro.  I also
> have attached an external 56Kbps modem to my router for myself to dial-in
> from home.  The following is the network scheme:

>   +---| Linux as a router with a dial-in modem |---> 64Kbps Internet
>   |
>   +---| Linux #0 |
>   |
>   +---| Linux #1 |
>   :
>   .
>   +---| Linux #n |

> Everytime when I attempted to connect to my router's modem from home, I
> could only get 9.6Kbps (I know that means nothing) and surfing the net was
> so slow.  I could only get 1KByte/sec doing an FTP download from any of
> other Linux machine which confirmed that the dial-in connection was only
> about 9.6 Kbps.  I tried to upgrade my system with mgetty-1.1.25 and
> ppp-2.4.0 and am still getting 9.6 Kbps connection.  When I do "setserial
> -a /dev/ttyS3" (my modem is connected to com4), I got:

>    /dev/ttyS3, Line 3, UART: 16550A, Port: 0x02e8, IRQ: 3
>            Baud_base: 115200, close_delay: 50, divisor: 0
>            closing_wait: 3000, closing_wait2: infinte
>            Flags: spd_normal

> There's got to be something that set my router's /dev/ttyS3 to only a
> 9.6Kbps.  What else am I missing?  BTW, I am using the original kernel
> distributed from the RedHat-7.0 Linux distro.  Do I have to upgrade the
> kernel to 2.4.x also to take the advantages offered by the mgetty-1.1.25
> and ppp-2.4.0 packages?

> TIA.

 
 
 

Dial-In Only Get 9.6Kbps

Post by Clifford Kit » Wed, 07 Mar 2001 03:23:27



> First, I would like to thank to all whom had responded to my post.
> It seemed that my friend did not forward a more complete information
> that most of you had asked for the speed set to use under mgetty.
> After forwarding all your posts, my friend informed me that the
> mgetty was set to 57600 and his dial-in still got 9600Kbps (setting
> the mgetty to 38400 Kbps also yielded the same thing).

I didn't realize that it was the modem connection speed you were
speaking about (and should have).  Neither pppd nor mgetty has any
say about that except though modem initialization, pppd using the
chat program and mgetty using it's own chat code via the init-chat
configuration item.  BTW the pppd speed should not be set when it's
used with mgetty, the speed configured for mgetty is passed to pppd.

Maybe the router modem or that modem's serial device is not configured
correctly.


/* It seems Microsoft has come up with a new operating system that
   combines the attributes of Windows CE, Windows Me, and Windows NT.
   It will, of course, be called Windows CEMeNT -- "Hard as a rock,
   Dumb as a brick."  -  anonymous */

 
 
 

Dial-In Only Get 9.6Kbps

Post by Stephan Bea » Sat, 10 Mar 2001 02:03:04



> Hi,

> At work, I have setup my Pentium 200MHz machine that is connected to a
> 64Kbps leased line as a router using the RedHat 7.0 Linux distro.  I also
> have attached an external 56Kbps modem to my router for myself to dial-in
> from home.  The following is the network scheme:

> Everytime when I attempted to connect to my router's modem from home, I
> could only get 9.6Kbps (I know that means nothing) and surfing the net was
> so slow.  

Um... 9.6k/sec is about all you're going to get out of a 16kbit line. In
fact, I've never seen faster than 8.xK/sec on a 64kbit ISDN line.


I speak for myself, not my employer.
No warranty. Slippery when wet. Your Mileage May Vary.
Contents may be hot. You Have Been Warned.

 
 
 

1. Problems with dialing out when dial-ins are enabled

I'm having trouble getting dial-outs to work when dial-ins are
enabled.  I can dial out on /dev/cua1 when getty isn't running
on /dev/ttyS1, but when getty is running I get a message that
the port I'm trying to dial-out on (/dev/cua1) is in use.  I
read the FAQs and everything seems to be set up right.  What
am I doing wrong?  

[I'm running SLS 1.02 (0.99pl9).]
--
Eric Dittman                  Texas Instruments - Component Test Facility

Disclaimer:  Not even my opinions.  I found them by the side of the road.

2. 2.5.x console keyboard problem.

3. dial ins

4. Internet site grabber for Linux?

5. PPP dial-ins refused, OSR-5 with net100

6. test

7. Setting up firewall for dial-ins: How?

8. Slackware to buy ??

9. supraexpress modems (28.8) problems w/dial-ins

10. Can't get dial-ins, anyone?

11. HELP WITH DIAL INS

12. pppd dial ins and , "LCP: timeout sending Config-Requests"

13. GETTY Dial Ins