mgetty on BSD/OS 2.0? (fwd)
Jack Patton (jpatton@net2.intserv.com)
Wed, 29 Jan 1997 13:42:07 -0500 (EST)
Can some BSD/OS person please help us?
Thanks,
Jack Patton
Integrated Computer Services
------------------------------------------------------------------------------
= Integrated Computer Services - http://www.intserv.com - 609-484-0889 =
= SLIP/PPP - $19.95/mo * Unix shell - $15/mo * Telnet-in shell - $10/mo =
------------------------------------------------------------------------------
---------- Forwarded message ----------
Date: Wed, 29 Jan 1997 19:37:42 +0100 (MET)
From: Gert Doering <gert@greenie.muc.de>
To: Jack Patton <jpatton@net2.intserv.com>
Subject: Re: mgetty on BSD/OS 2.0?
Hi,
ummm, when it works with the regular getty, I have *no* idea what could be
wrong. Sorry. I am no BSD/OS expert, but I *know* that people have made
it work on BSD/OS, so it really should work.
Maybe you *should* continue asking on the mgetty list...
gert
Jack Patton wrote:
>
> On Wed, 29 Jan 1997, Gert Doering wrote:
>
> > Hi,
> Hey Gert,
> I figured I would spare the list more log files and send this to you.
> Part of the problem was that I didn't reset the port after changing the
> portspeed. After I did that, I got this result:
>
> --
> 01/29 13:21:49 B0f mgetty: experimental test release 1.1.1-Jan28
> 01/29 13:21:49 B0f check for lockfiles
> 01/29 13:21:49 B0f checklock: stat failed, no file
> 01/29 13:21:49 B0f locking the line
> 01/29 13:21:49 B0f makelock(ttyB0f) called
> 01/29 13:21:49 B0f do_makelock: lock='/var/spool/uucp/LCK..ttyB0f'
> 01/29 13:21:49 B0f lock made
> 01/29 13:21:50 B0f tio_get_rs232_lines: status: CTS DSR
> 01/29 13:21:50 B0f lowering DTR to reset Modem
> 01/29 13:21:50 B0f tss: set speed to 38400 (113000)
> 01/29 13:21:50 B0f tio_set_flow_control( HARD )
> 01/29 13:21:50 B0f waiting for line to clear (VTIME), read:
> 01/29 13:21:50 B0f send: \dATQ0V1H0[0d]
> 01/29 13:21:51 B0f waiting for ``OK''
> 01/29 13:21:51 B0f got: ATQ0V1H0[0d]
> 01/29 13:21:51 B0f CND: ATQ0V1H0
> 01/29 13:22:11 B0f timeout in chat script, waiting for `OK'
> 01/29 13:22:11 B0f init chat timed out, trying force-init-chat
> 01/29 13:22:11 B0f send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
> 01/29 13:22:15 B0f waiting for ``OK''
> 01/29 13:22:15 B0f got: [10][03]+++[0d]
> 01/29 13:22:15 B0f CND: +++ATQ0V1H0[0d]
> 01/29 13:22:15 B0f CND: ATQ0V1H0
> 01/29 13:22:35 B0f timeout in chat script, waiting for `OK'
> 01/29 13:22:35 B0f init chat failed, exiting...: Interrupted system call
> 01/29 13:22:35 ##### failed in mg_init_data, dev=ttyB0f, pid=8974
>
> 01/29 13:22:35 B0f removing lock file
> >
> >
> > Hmmm, please try again with "FLOW_DATA" set to "FLOW_SOFT". It *might* be
> > some SunOS'ish weirdness (port not receiving data while DCD is low, *IFF*
> > hardware flow control is enabled), but I seriously doubt it.
>
> Here is an excerpt from out /etc/ttys file. As you can see with our
> regular getty we have hardware flow control on no problem.
>
> #ttyB0f "/usr/libexec/getty bidir.115200-hf" dialup on
> # Below is my mgetty test...
> ttyB0f "/usr/local/bin/mgetty -s 38400" dialup on
>
> I will try the flow control fix if you still think that is the problem,
> but I doubt it since we use it regularly on all our ports.
>
> >
> > Can you access the modem with a terminal program (cu, minicom) at the
> > selected port speed? Maybe simply your modem or serial port is broken.
> >
> Yes, I can access the port no problem.
>
> Thanks a lot for your help,
>
> Jack Patton
> Integrated Computer Services
>
> ------------------------------------------------------------------------------
> = Integrated Computer Services - http://www.intserv.com - 609-484-0889 =
> = SLIP/PPP - $19.95/mo * Unix shell - $15/mo * Telnet-in shell - $10/mo =
> ------------------------------------------------------------------------------
>
>
>
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-3545980 gert.doering@physik.tu-muenchen.de