Dial In server

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

stufine

Thread Starter
Joined
Jul 27, 2001
Messages
364
I am trying to set up a Redhat 8.0 Server to dial in to. I want to be able to start a telnet session when I dial in.

The modem will answer but it will never give me a login.
I have read man mgetty and tried to do things it says to set it up but I get no results.

I have a log file called mgetty.log.unknown which says
09/11 09:22:20 no line given: Success
09/11 09:22:20 Usage: mgetty [-x debug] [-s speed] [-r] line: Success

This only happens when I type in mgetty at the #.

When I dial in I don't see anything in the log files.

My question is how do I setup a modem to answer incoming calls and give the caller a login so they can logon and use the server. Basically a telnet connection.
 
Joined
Feb 11, 2002
Messages
1,405
I'm not sure you'll be able to do what you intend (but I may not have understood correctly, so please bear with me ...). Disclaimer: Some or all of this may not apply to your RedHat system; since I don't run RedHat, I can hardly claim to be an expert. However, I've set up more dialin systems on various flavors of Unix/Xenix/Linux than I care to remember, so at least some of the info may be useful ... As always, discard at will ...

In general, you will not be able to spawn a telnet session from an incoming serial (modem) connection. Telnet is a network protocol, typcially associated with port 23. However, you certainly can spawn a normal login session (i.e., shell) via a dialup connection. If this is what you intend, you will need to establish a getty on the dialup line (typically done by modifying /etc/inittab) and configuring your modem to answer incoming calls. You will also need to configure basic line characteristics in /etc/gettydefs (although the existing entries may be fine for your purposes). If you have done these things and you still don't get a login prompt, try hitting the return key several times when you connect and see if that wakes up the login.

Hope this helps -- additional info appreciated.
 

stufine

Thread Starter
Joined
Jul 27, 2001
Messages
364
Yes you are correct. I just want a normal login session. I will give your ideas a try and let you know.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top