configuring mgetty and pppd

svaneck_at_hotmail.com
Date: 09/27/03


Date: 27 Sep 2003 13:04:31 -0500

I am trying to set up mgetty and pppd on a remote machine so that I
may dial in to it if the wan goes down. The first problem is terminal
emulation( I think). I can connect to the remote machine, but am not
presented with a logon, only giberesh characters. I have the term type
defined as vt102 in my mygetty.config and also in Terminal program,
ProComm. I have tried ansi as well as a coulple others, same problem
differant giberesh.
My second problem is it is my understanding that pppd was called by
mgetty when AutoPPP is enabled in login.conf. Yet mgetty refuses to
pick up the line unless I start the ppp damon before the call. Am I
mistaken in how this should work?

Below are my conf files, minus comments. Thanks for your time and any
help you can give me.

mgetty.config
speed 38400
port ttyS0
speed 38400
direct yes
data-only yes
toggle-dtr yes
need-dsr yes
port-owner root
port-group root
port-mode 600
login-prompt @ \P login:\040
login-time 60
term vt102

login.config
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug
* - - /bin/login @

/etc/ppp/options
lock
192.168.97.1:192.168.97.2
debug
crtscts
require-pap
modem
asyncmap 0
proxyarp
login
lcp-echo-interval 30
lcp-echo-failure 4
noipx



Relevant Pages

  • PPPD and MGETTY
    ... PPPD and MGETTY ... On Linux hardware I have mgetty running looking for action with ISDN ... XP application connects and create socket and then system ...
    (comp.os.linux.embedded)
  • Re: Mgetty doesnt release port
    ... ]I am trying to run a linux box as a dial in and dial out server. ... What is happening is that mgetty is locking the port ... ]mgetty and pppd. ... Also pppd must use the lock file options ...
    (comp.os.linux.networking)
  • Re: pppd and ttyS0 - AGRRH!
    ... You MUST do all three-- switch on debugging for pppd, ... log the debug output, and finally restart syslogd. ... But info mgetty suggests the mgetty command line ... Now lets see what the log output from ...
    (comp.os.linux.networking)
  • Re: PPPD and MGETTY
    ... I have already applied PPTP patch for PPPD but it still don't behave ... I know silly hack…..just because MS changed the authentication type to ... > That's what mgetty was written for. ... > then you most likely have a hardware problem with the modem or ISDN ...
    (comp.os.linux.embedded)