mgetty and AutoPPP

Gert Doering (gert@greenie.muc.de)
Fri, 28 May 1999 22:33:32 +0200


Hi,

On Fri, May 28, 1999 at 04:07:32PM +0100, jerome.privat@bt.com wrote:
> 	Make sure your modem is set to do error correction.  With no error
> 	correction, you'll get lots of noise and garbage, and no usable PPP
> 	frames.
> 
>	I am not sure where to set the modem to do error correction. In the
> 	mgetty.config file, it seems that we send command to the modem at
> two
> 	occasions:
> -	with "init-chat" (I put the default value: "" ATS0=0Q0&D3&C1 OK)

Yep. Put something in here that makes *your* modem activate error control.
Your modem tells you what commands to use.

> -	with "answer-chat" (I put the default value: "" ATA CONNECT \c \r)
> 	As far as I understand these commands, they don't set the modem to
> do error
> 	correction. Should I add another command in there?

Well, yes.

> 	Another thing: I am using a FreeBSD (2.2.6-Release) for my access
> server box with
> 	two US Robotics (3COM) modems. In my mgetty.config, I have two
> series of parameters:
> 	one for ttyd0 and the other for ttyd1. Is it ok or should I use
> cuaa0 and cuaa1 instead of
> 	ttyd0 and ttyd1?

Use whatever works.  Just make sure that ALL programs agree on the device
name.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de