Raqueeb Hassan <(E-Mail Removed)> wrote:
> your log says ... the pppd didn't start ... did you start that
> manually? what did you use to connect? minicom or chat?
Err.. No. The log shows that pppd started on the client and died
after the server side hung up, 21 seconds after login as shown by
the mgetty log. The reason for the hang up is not clear to me, but
apparently involves PAM - which I don't use.
> you can start pppd automatically from /etc/ininttab ....
> like ... S2:2345:respawn:/sbin/mgetty ttyS2 -D /dev/ttyS2
> start pppd in setuid mode ... chmod u+s /usr/sbin/pppd
> add this line to env:
> alias ppp="exec /usr/sbin/pppd -detach"
> the common options for /etc/ppp/option.server
> -detach
> asyncmap 0
> modem
> crtscts
> lock
> proxyarp
> ms-dns 12.34.45.78
And how is pppd started automatically?
A setup similar to the one you describe could work if "ppp" was
_manually_ entered at the command line after logging into the server
with minicom. It *might* also work automatically with a client pppd
chat script doing the login/password dance that sent "ppp" right
after login succeeds.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/
/* My confidence in this answer (X), on a scale of 0 to 10:
|----|----|----|----|----|----|----|----|----|---X|
0----1----2----3----4----5----6----7----8----9----10 */