Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
mgetty(8)
Edit
PageHistory
Diff
Info
LikePages
mgetty !!!mgetty NAME SYNOPSIS DESCRIPTION OPTIONS FILES DIAGNOSTICS BUGS SEE ALSO AUTHOR ---- !!NAME mgetty - smart modem getty !!SYNOPSIS __mgetty__ [[__options__] ttydevice [[''gettydefs''] !!DESCRIPTION Mgetty is a ``smart'' getty replacement, designed to be used with hayes compatible data and data/fax modems. Mgetty knows about modem initialization, manual modem answering (so your modem doesn't answer if the machine isn't ready), UUCP locking (so you can use the same device for dial-in and dial-out). Mgetty provides very extensive logging facilities. This manpage doesn't try to detail mgetty setup in detail, it just lists the most important options. For detailed instructions, see the info file mgetty.info (mgetty.texi). !!OPTIONS __-k __ Tells ''mgetty'' to leave '' __-x __ Use the given level of verbosity for logging - 0 means no logging, 9 is really noisy. The log file is usually /tmp/log_mg. __-s __ Set the port speed to use, e.g. __-r__ Tells ''mgetty'' that it is running on a direct line. UUCP locking is done, but no modem initialization whatsoever. __-p __ Use the given string to prompt users for their login names. Various tokens are allowed in this string. These tokens are: @ for the system name, n, r, g, v, f, t for newline, carriage return, bell, vertical tab, form feed, and tab, respectively. P and L will expand to the tty name ( The default prompt is specified at compile time. __-n #__ Tells ''mgetty'' to pick up the phone after the #th RING. Default is 1. __-R __ Tells ''mgetty'' to go into '' I do not really recommend using this, better get a second phone line for the modem. __-i __ Output __-D__ Tells ''mgetty'' that the modem is to be treated as a DATA modem, no fax initalization is attempted. __-F__ Tells ''mgetty'' that DATA calls are not allowed and the modem should be set to Fax-Only. __-C __ Tells ''mgetty'' how to treat the modem. Possible values for '' __-S __ If a call comes in and requests fax polling, ''mgetty'' will send the named file. Note: not all fax modems support poll sending. __-I __ Use the given fax station ID for fax identification. Not used for data modems. __-b__ Open the port in blocking mode. Best used in combination with mgetty'' is called as ''getty.'' You may want to use this if you want to make use of the two-device / kernel-locking scheme of the Linux and SunOS operating systems (/dev/ttyS.. and /dev/cua..). I do not recommend it, it's just include for completeness, and to be able to use mgetty as a full-featured getty replacement. __-a__ Use autobauding. That is, after a connection is made, ''mgetty'' parses the '' __-m 'expect send ...'__ Set the mgetty -m ' !!FILES __/etc/mgetty/mgetty.config__ Main configuration file. __/etc/mgetty/login.config__ controls whether (and when) ''mgetty'' should call some other program for user login instead of /bin/login. How this is done is explained in this file. __/etc/mgetty/dialin.config__ controls acceptance/denial of incoming calls based on the caller's number. Available only if you have __/etc/nologin.ttyxx__ controls whether mgetty should pick up the phone upon incoming calls. If the file exists, calls are completely ignored. You can use this, for example, to stop mgetty during day time, and let it pick up at night only, by creating and removing /etc/nologin.ttyxx via the ''cron'' program at the appropriate time. __/etc/issue__ will be printed after a connection is established, and before the with the '-i' option. __/var/log/mgetty/mg_ttyxx.log__ Debug log file, see below. !!DIAGNOSTICS If ''mgetty'' doesn't work the way it should, the main source of diagnostic data is the ''log file.'' It can be found in '' Many of the common problems and solutions are discussed in the mgetty manual and the FAQ. Please see the WWW page at http://alpha.greenie.net/mgetty/ for both. !!BUGS Not all of ''mgetty'' configuration can be done at run-time yet. Things like flow control and file paths (log file / lock file) have to be configured by changing the source and recompiling. Users never read manuals... !!SEE ALSO g32pbm(1), sendfax(8), getty(8), mgettydefs(4), mgetty.info !!AUTHOR ''mgetty'' is Copyright (C) 1993 by Gert Doering, '' ----
4 pages link to
mgetty(8)
:
LinuxAnsweringMachine
Man8m
callback(8)
mgettydefs(4)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.