Hi, Ive setup pppd to accept dialins on FreeBSD 4.3,
this is what i got in /var/log/messages when people try to connect:
Jul 15 21:42:19 e-l33t pppd[25891]: Connect: ppp0 <--> /dev/ttyd0
Jul 15 21:42:49 e-l33t pppd[25891]: LCP: timeout sending Config-Requests
Jul 15 21:42:49 e-l33t pppd[25891]: Connection terminated, connected for 1
minutes
now , I read somewhere that this could have something to do with gre
stealing the lcp packets,
but i'm sure i didnt compile gre into my kernel.
( Also, I set the modem to ATS0=1 and saved it with AT&W0 , so it auto
answers, and this works fine )
# cat options
ms-dns 192.168.0.2
domain lamenet.org.au
lock
proxyarp
crtscts
115200
modem
+pap
lcp-max-configure 40 // recently added, not tested
#
# cat pap-secrets
# Secrets for authentication using PAP
# client server secret acceptable local IP addresses
dialin * "password" *
#
# cat options.ttyd0
192.168.0.7:192.168.0.8 # ip's of local and remote hosts
# cat options.ttyd1
192.168.0.7:192.168.0.8 # ip's of local and remote hosts
#
And in /etc/ttys
# cat /etc/ttys | grep ppp
ttyd0 "/usr/sbin/pppd" dialup on secure
ttyd1 "/usr/sbin/pppd" dialup on secure
#
Thanks :)