I use this regularly. I use mgetty and all the config is default
except for:
(Sorry about the line wrap.)
login.config:
/AutoPPP/ - - /usr/sbin/pppd nodefaultroute auth -chap +pap
192.168.10.1:192.168.10.253 ms-dns 192.168.10.1
* - - /bin/login at (no spam)
You also have to have pap configured with id/passwords in
`pap-secrets` under "etc/ppp/".
I initiate it in `inittab` with:
T3:5:respawn:/sbin/mgetty -D -R 60 -n 2 -x 0 -p " at (no spam) Login:" -i
"/etc/issue.dial" -s 115200 -m '"" ATZM0 OK' ttyS2
This works well and reliably. I can:
- dial out
- dial in and login for a command prompt
- dial in and initiate a PPP connection
Just to keep out idle rif-raf I also use the "ringback" mode.
Good luck!
--
-------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove ".invalid" from my domain.
-------------------------------------------------