mgetty-1.1.14 (PPP Server)
Description
Mgetty is a ``smart'' getty replacement, designed to be used with hayes compatible data and data/fax modems. Mgetty knows about modem initialization, manual modem answering (so your modem doesn't answer if the machine isn't ready), UUCP locking (so you can use the same device for dial-in and dial-out). Mgetty provides very extensive logging facilities.
This manpage doesn't try to detail mgetty setup in detail, it just lists the most important options. For detailed instructions, see the info file mgetty.info (mgetty.texi).
Configuration
Edit /usr/local/etc/mgetty+sendfax/login.config
...
/AutoPPP/ - a_ppp /etc/ppp/ppplogin
...
/etc/ppp/ppplogin
#!/bin/sh
exec /usr/sbin/pppd debug auth -chap +pap login
/etc/ppp/options
asyncmap 0
netmask 255.255.255.0
passive
proxyarp
lock
crtscts
/etc/ppp/options.ttyS0
ppp server's IP address:client IP address
10.0.1.2:10.0.1.81
/etc/inittab
...
s1:12345:respawn:/sbin/mgetty -D -x9 ttyS0
...
sstS0 is com1 port
Back