Solved

inittab setup for mgetty . . .

Posted on 1998-08-12
1
399 Views
Last Modified: 2013-12-15
We currently have a modem setup on our system so that we can make a ppp
connection to other systems.  This setup is sometimes unreliable and we suspect
that it is because that connection is being serviced by getty, instead of mgetty.  In
setting up for mgetty I think I've made the appropriate entries in gettydefs.  Now I'm
not sure how to make the appropriate entries in /etc/inittab, so that mgetty knows
to look in gettydefs.  Some of the principle issues I'm concerned with are:

a.)  Making sure that the port can continue to be used the way that it has been, both
for ppp and direct login.

b.)  Solving our problems with not being able to use the port again, when the line drops
improperly.

Question:  What is the appropriate string for setting up inittab, for mgetty, so that it can
do auto-baud rate detection?
0
Comment
Question by:otser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
alexbik earned 200 total points
ID: 1629577
Hi,

If you use mgetty with 'default' settings you'll be fine.
You may want to compile in Auto_PPP support, so your users can login
from W95 /NT machines without a loginscript. But that's a bit beside the point here.
Take a look at mgetty.conf, configure the default settings for your modems
(speed, initstring and stuff), and take a look et login.conf.

From inittab, you can start mgetty with mgetty /dev/ttyXXX -D
The -D disables 'adaptive answer mode'. If you don't and you are using fax modems
(you probably are), mgetty tells your modems to try to find out weahter there's a fax
or a modem at the other end of the line. This sometimes results in failed V34 handshakes.

The only thing you may want to change is the login prompt (-p), so you can keep using
your old loginscripts. Just put -p <login prompt> at the command line. If you don't
the default login prompt looks like

<machine_name>!login:

So if your machine is called cs-01 it will be:

cs-01!login:

Your old getty probably uses a space instead of a bang.

Alex.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSSD - Automatic kerberos ticket initialization 1 39
CentOS Backup Options 3 66
RHEL 6.0 - Does it support SHA2? 7 41
need a help to fix one if else shell script issue 6 33
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question