delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/19/19:01:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: "BB" <canofspam AT att DOT net>
Subject: Re: Does agetty work with a modem
Date: Wed, 19 Feb 2003 18:00:54 -0600
Lines: 64
Message-ID: <b315rj$596$1@main.gmane.org>
References: <b30ie6$6p5$2 AT main DOT gmane DOT org> <59A835EDCDDBEB46BC75402F4604D5528F7666 AT elmer>
Reply-To: "BB" <canofspam AT att DOT net>
X-Complaints-To: usenet AT main DOT gmane DOT org
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Can anyone help me get agetty working?  I need to set up Cygwin to answer a
modem call with agetty.  Here are a few questions I have.  I would really
appreciate some help because I cannot find much information about agetty on
Cygwin.

1. How do I set the modem to auto answer.  Can I do this in a shell script
using the agetty -e option to execute a command?  I tried "echo ATS0=1 >
/dev/ttys2" but it doesnt work.  I am using COM3.

2. It looks like agetty immediately opens the com port and attempts to read
a login name from it.  Does this mean that it expects the modem to be
connected with it executes.  There doesnt seem to be any code in agetty to
wait for a modem to answer.  Do I need to wait for the modem to connect
using the -e command option?

My inittab file has the following line

S3:2345:respawn:/sbin/agetty -8 -N -1 -h -t60 -e/bin/autoans.sh 9600 ttyS2

Thanks



"Sergey Okhapkin" <sos AT sokhapkin DOT dyndns DOT org> wrote in message
news:59A835EDCDDBEB46BC75402F4604D5528F7666 AT elmer...
> Set the modem into auto-answer mode.
>
> > -----Original Message-----
> > From: cygwin-owner AT cygwin DOT com
> > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of BB
> > Sent: Wednesday, February 19, 2003 1:29 PM
> > To: cygwin AT cygwin DOT com
> > Subject: Does agetty work with a modem
> >
> >
> > Has anyone used agetty with a modem?  If so, how did you get
> > the modem to answer the call?  I don't see anything in the
> > agetty code that would handle the modems "RING" or "CONNECT"
> > responses.  What does the agetty documentation refer to when
> > it says that it could be used with a modem.
> >
> > I would like to dial into cygwin without using PPP or TCP/IP
> > as I would to a Linux machine with mgetty.
> >
> > Does anyone have any recommendations?  I tried to research
> > this as much as I could but I have found nothing that
> > indicates that it can be done.
> >
> > Thanks
> >
> >
> >
> >
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> >
>
>
>




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019