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
Eric Knudstrup
Sure, switch to uugetty (getty_ps) or mgetty.
---------------------------------------------------------------------------
S. Pasadena, CA | http://www.primenet.com/~pdg/dave-h.html
---------------------------------------------------------------------------
This is the line that you need to have in the /etc/inittab file: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?
# 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
--Chris Rigsby
gert
--
Yield to temptation ... it may not pass your way again! -- Lazarus Long
//www.muc.de/~gert
: 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....
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
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.
--
: > 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
>R-name : Stephane I. Matis
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
^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).
Sounds like a case of RTFM, but since you don't describe in which way theQuote:>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 ?
gert
--
Yield to temptation ... it may not pass your way again! -- Lazarus Long
//www.muc.de/~gert
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.
> 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
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
9. Getty failing, dialups useless
10. getty fails. HELLPPPPPPPPPPPPPP
11. Is a getty server replacing multiple getty processes feasable?
13. init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: