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
Solved

making mgetty respond faster

Posted on 2000-03-06
2
182 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
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,…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

828 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