1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Dial In server

Discussion in 'Linux and Unix' started by stufine, Sep 11, 2003.

Thread Status:
Not open for further replies.
  1. stufine

    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.
     
  2. codejockey

    codejockey

    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.
     
  3. stufine

    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.
     
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 733,556 other people just like you!

Loading...
Similar Threads - Dial server
  1. NAVINDER
    Replies:
    1
    Views:
    430
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/163976

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice