mgetty+pppd dialin problem

d.s.polyakov at gmail.com d.s.polyakov at gmail.com
Thu Jan 12 15:27:10 PST 2006


Hi All!
I`ve installed from the ports mgetty+sendfax on FreeBSD
6.0., pppd been also configured  (options,pap-secrets,chap-secrets).
My server has 2 ethernet interfaces  172.20.0.0/16 and 1 ethernet
interface configured for the real ip+natd
mgetty running due to 'ps aux' and when i try to connect with terminal
everything works and i can login ,but if i try to use ppp proto with
pap authorization ,my connection fails with the following messages in
/var/log/pppd.log :
pppd[671]: pppd 2.3.5 started by root, uid 0
pppd[671]: Using interface ppp0
pppd[671]: Connect: ppp0 <--> /dev/cuad0
pppd[671]: sent [LCP ConfReq id=0x1 <mru 576> <auth pap> <magic 0x3bea130b> <pcomp> <accomp>]
last message repeated 11 times
last message repeated 18 times
pppd[671]: LCP: timeout sending Config-Requests
pppd[671]: Hangup (SIGHUP)
pppd[671]: Modem hangup, connected for 1 minutes
pppd[671]: Connection terminated, connected for 1 minutes
pppd[671]: Exit.

/etc/ppp/options :
lock
auth
modem
crtscts
asyncmap
require-pap
refuse-chap
mtu 576
mru 576
172.20.120.130:172.20.120.131
debug 5
passive
nodetach
ipcp-accept-local
ipcp-accept-remote
lcp-max-configure 30

/etc/ppp/pap-secrets:
pppc    *       123321  *
test    *       123     *





More information about the freebsd-net mailing list