Getty fails to pick up

Getty fails to pick up

Post by Eric Knudstr » Fri, 03 Feb 1995 05:01:32



 I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
up on dial-ins.  Does anyone know how to get this to work right?

Eric Knudstrup


 
 
 

Getty fails to pick up

Post by Dave Gardn » Sat, 04 Feb 1995 07:26:08


:  I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
: up on dial-ins.  Does anyone know how to get this to work right?

Sure, switch to uugetty (getty_ps) or mgetty.

-----------------------------------------------------------------------------

S. Pasadena, CA  |   http://www.primenet.com/~pdg/dave-h.html
-----------------------------------------------------------------------------

 
 
 

Getty fails to pick up

Post by Geoff Peas » Sat, 04 Feb 1995 23:20:43



Quote:>  I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
> up on dial-ins.  Does anyone know how to get this to work right?

        This is the line that you need to have in the /etc/inittab file:

# Dialup lines
#d1:45:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0
d2:45:respawn:/sbin/agetty -mt15 38400,19200,9600,2400,1200 ttyS1

        Do a "man agetty" for more info on the setting....

        Good luck!

                -Geoff "Q" Pease

 
 
 

Getty fails to pick up

Post by Chris Rigs » Sat, 04 Feb 1995 18:36:11



>Subject: Re: Getty fails to pick up

>Date: Fri, 3 Feb 1995 09:20:43 -0500

>>  I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
>> up on dial-ins.  Does anyone know how to get this to work right?

I had absolutely no success with agetty or getty_ps for dialins.  However,
mgetty worked MOST EXCELLENTLY the FIRST, read VERY FIRST, time I tried
it.  Might I humbly suggest you also give it a try?

--Chris Rigsby

 
 
 

Getty fails to pick up

Post by Gert Doeri » Sun, 05 Feb 1995 20:34:20



> I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
>up on dial-ins.  Does anyone know how to get this to work right?

Yes, junk agetty. Use getty_ps or mgetty instead.

gert
--
Yield to temptation ... it may not pass your way again!  --  Lazarus Long
                                                            //www.muc.de/~gert


 
 
 

Getty fails to pick up

Post by Christoph Lamet » Tue, 07 Feb 1995 08:07:45


: >>  I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
: >> up on dial-ins.  Does anyone know how to get this to work right?

: I had absolutely no success with agetty or getty_ps for dialins.  However,
: mgetty worked MOST EXCELLENTLY the FIRST, read VERY FIRST, time I tried
: it.  Might I humbly suggest you also give it a try?

I join the choir here. Getty_ps should be erased whenever found. I would classify getty_ps as dangerous computer-virus
spread by misinformation in the Serial-HOWTO <G>.

--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Christoph Lameter                       Dipl.Inform, Master of Divinity

Posting from the Water Fountain (818)564-8548. Come all ye are thirsty....
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 
 
 

Getty fails to pick up

Post by David Kastr » Tue, 07 Feb 1995 16:54:20



>: >>  I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
>: >> up on dial-ins.  Does anyone know how to get this to work right?
>: I had absolutely no success with agetty or getty_ps for dialins.  However,
>: mgetty worked MOST EXCELLENTLY the FIRST, read VERY FIRST, time I tried
>: it.  Might I humbly suggest you also give it a try?

The trick with using agetty to pick up the modem line is simple:
agetty does not pick up the modem line. The modem does, usually
with a command like atds0=1 (pick up line after 1 ring).

The disadvantage is clear: if your computer is hung, the line
gets picked up anyway, and the caller is annoyed for having
payed for nothing.

I'd really recommend using mgetty as well, because it will not
hinder outgoing calls in any way, and will not answer the phone
once the computer is down (or in single user state or similar).
--
David Kastrup, Goethestr. 20, D-52064 Aachen        Tel: +49-241-72419

--
David Kastrup, Goethestr. 20, D-52064 Aachen        Tel: +49-241-72419

 
 
 

Getty fails to pick up

Post by Enr » Tue, 07 Feb 1995 23:37:13



: :  I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
: : up on dial-ins.  Does anyone know how to get this to work right?

Make sure your modem is set to answer.  The USR modems need a switch flipped
as it does not pick up the modem by default.

--

 
 
 

Getty fails to pick up

Post by Stephane I. Mat » Wed, 08 Feb 1995 15:06:04



: > I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
: >up on dial-ins.  Does anyone know how to get this to work right?

: Yes, junk agetty. Use getty_ps or mgetty instead.

: gert
: --
: Yield to temptation ... it may not pass your way again!  --  Lazarus Long
:                                                             //www.muc.de/~gert


I myself tried to switch form uugetty to mgetty with no success.  For reasons
beyond my comprehension, when mgetty is running, neither UUCP or minicom can
get at the ports.  I check the Lock files, but that's not it.

Help ?

--
petergun

R-name : Stephane I. Matis

 
 
 

Getty fails to pick up

Post by Chris Rigs » Wed, 08 Feb 1995 17:59:03



>Subject: Mgetty and me ...

>Date: Tue, 7 Feb 1995 06:06:04 GMT


>: > I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
>: >up on dial-ins.  Does anyone know how to get this to work right?
>: Yes, junk agetty. Use getty_ps or mgetty instead.
>: gert
>: --
>: Yield to temptation ... it may not pass your way again!  --  Lazarus Long
>:                                                             //www.muc.de/~gert


>I myself tried to switch form uugetty to mgetty with no success.  For reasons
>beyond my comprehension, when mgetty is running, neither UUCP or minicom can
>get at the ports.  I check the Lock files, but that's not it.
>Help ?
>--
>petergun

>R-name : Stephane I. Matis


Mgetty has never caused a* of trouble on my system.  It works peacefully
with the lock files, and I can use minicom just great.  Try this:

Instead of using ANY references to the /dev/cua devices for your modem or
serial port, ALWAYS use the /dev/ttySx devices.  That way, all the lock files
created are common to the /dev/ttySx devices.  Besides, I used to have trouble
working with ttyS and cua devices.  Mgetty runs find with this setup, and even
detects when the lockfiles exist for minicom (turn the debug level up to 5 or
six and you'll see this.)

If you still need help, I'll see if I can't finally get around to writing that
Mgetty FAQ.  I can go as far as the modem login stuff, but someone else will
have to contribute the FAX information.

--Chris

 
 
 

Getty fails to pick up

Post by Nekl » Thu, 09 Feb 1995 15:13:18



Quote:

>The trick with using agetty to pick up the modem line is simple:
>agetty does not pick up the modem line. The modem does, usually
>with a command like atds0=1 (pick up line after 1 ring).

                       ^
That should be ats0=1   for modems compatible with the hayes command
set.
 
 
 

Getty fails to pick up

Post by Gert Doeri » Fri, 10 Feb 1995 06:15:15



Quote:>I myself tried to switch form uugetty to mgetty with no success.  For reasons
>beyond my comprehension, when mgetty is running, neither UUCP or minicom can
>get at the ports.  I check the Lock files, but that's not it.
>Help ?

Sounds like a case of RTFM, but since you don't describe in which way the
programs "can't get at the port", I can only hint that you recheck the
devices those programs are using. If the use cua*, read the section about
Linux in the manual, and switch to ttyS*. Otherwise, check file ownership
and permissions.

gert
--
Yield to temptation ... it may not pass your way again!  --  Lazarus Long
                                                            //www.muc.de/~gert


 
 
 

Getty fails to pick up

Post by Albert T Dav » Sun, 12 Feb 1995 01:31:18


The supplied gettytabs file doesn't work
There is another one in /usr/doc/getty_ps/Examples that does work.
(Slackware distribution, Nov 94 CDROM)

The problem that I had was that it worked unreliably.
You need to specify "HUPCL" to make sure it releases the line when a
caller hangs up.
You need to set the modem to time out on idle, and properly handle
the status lines, etc.

One of these days I might write it up in detail.

 
 
 

Getty fails to pick up

Post by Frank Scial » Thu, 16 Feb 1995 02:50:49



> I have RTFM'd 'till my eyes bled, but I still can't get agetty to pick
>up on dial-ins.  Does anyone know how to get this to work right?

>Eric Knudstrup



I assume you've set DTR forced high? and (of course) the modem is set to
answer.
 
 
 

1. Getty will not pick up phone

Salutations,

I am running .99p7 with a 2400 baud external modem and trying to
get getty running properly.  I followed the FAQ on serial ports,
but when I dial in from another line the line is silent for several
seconds and then disconnects.  The getty process seems to be running
fine on /dev/ttyS1, the proper com port, with the /etc/inittab entry
similar to the vt entries.  If getty is not running the modem
picks it up.

Does anyone have any suggestions?  
Will summarize and notify the FAQ keeper if and when I get it fixed.
Thanks all in advance.

--
Steen Larsen  

2. WWW: Linux and demos the future of the demoscene.

3. Shape Ups,Men's Shape Ups,Men's Skechers Shape Ups - new styles!

4. A strange netscape problem. Bus error for some users only

5. HELP needed with connecting UPS to serial port w/o "getty"

6. PC Dropping from RS6000 running AIX 3.2 through token ring(TCP/IP)

7. Reboot fails to pick up SCSI devices

8. CR <-> CR/LF <-> LF ?

9. Getty failing, dialups useless

10. getty fails. HELLPPPPPPPPPPPPPP

11. Is a getty server replacing multiple getty processes feasable?

12. fax getty and data getty?

13. init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: