[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mgetty conflicts with pppd

On Sat, 1 May 1999, Hamish Moffatt wrote:

> I'm having some weird interaction between mgetty and pppd/chat.
> I have mgetty running on a couple of modems. When I dialout (pon),
> I start getting error messages from mgetty in the log, like
> 05/01 20:47:09 yS1  mdm_read_byte: read returned 0: Success
> 05/01 20:47:09 yS1  wfr: error in read(): Success
> 05/01 20:47:09 yS1  huh? Junk on the line?
> However, mgetty manages to send a few CRs through or something which
> causes my chat script to fail (it aborts the connection). When I disable
> mgetty on that port in inittab, it works just fine. The other modem port
> has this problem on occasion too, although it runs a 24x7 connection
> so I don't notice it much.
> Is there a workaround? It's most annoying and has been bugging me for a while.

Are you sure you use the same device file name for both mgetty and pppd ?
I mean /dev/ttyS1 for both... then they should do the locking correctly...

Madarasz Gergely           gorgo@caesar.elte.hu         gorgo@linux.rulez.org
      It's practically impossible to look at a penguin and feel angry.
          Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
                    HuLUG: http://mlf.linux.rulez.org/

Reply to: