Solved

making mgetty respond faster

Posted on 2000-03-06
2
192 Views
Last Modified: 2013-12-16
I would like to make the login prompt mgetty posts once the connection is made, appear a bit faster. The problem is clients need to specify a pause 2 otherwise their information is sent too quickly. I know I could optimize the connection by putting some "expect ..." and "send ..." in the clients' scripts, but I rather not do that. Is there a delay setting in mgetty that I'm missing?
thanks
0
Comment
Question by:tibori
[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
2 Comments
 

Accepted Solution

by:
avery1 earned 15 total points
ID: 2589191

In my experience there is no way to easily speed this up.

Mgetty spawns a local login program (usually /bin/login).  This is configurable in login.config, or set at compile time in policy.h in the line

#define DEFAULT_LOGIN_PROGRAM "/bin/login"

There is no deliberate delay before the login string pops up, and I don't see a way to make it pop up any faster.  

You might look at login.c in the source.  It first attempts to read the login.config file and then does some checks for file perms and ownership.  You might be able to shave a little time off by tweaking the source in login.c

-Avery
0
 
LVL 3

Author Comment

by:tibori
ID: 2589506
avery1: Unfortunately I believe you're right...but could you change your answer to a comment for a little while to see if this is the general consensus.
Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 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