Poptop - how to configure?
Rob Hurle
rob at coombs.anu.edu.au
Sun Dec 10 22:28:28 PST 2006
Dear All,
I am installing pptpd (aka poptop) on a 6.1 release box which
is taking over the functions of a Debian box. VPN is needed and
Debian used pptpd for this, so I decided to follow suit. However, I
get errors that indicate that pptpd is not directing pppd to the
correct options file. Part of the debug output from pptpd is:
Dec 11 12:21:28 mail pptpd[54767]: MGR: Launching /usr/local/sbin/pptpctrl to handle client
Dec 11 12:21:28 mail pptpd[54767]: CTRL: pppd options file = /etc/ppp/options.pptpd
Dec 11 12:21:28 mail pptpd[54767]: CTRL: Received PPTP Control Message (type: 1)
Dec 11 12:21:28 mail pptpd[54767]: CTRL: Made a START CTRL CONN RPLY packet
Dec 11 12:21:28 mail pptpd[54767]: CTRL: I wrote 156 bytes to the client.
Dec 11 12:21:28 mail pptpd[54767]: CTRL: Sent packet to client
Dec 11 12:21:28 mail pptpd[54767]: CTRL: Received PPTP Control Message (type: 7)
Dec 11 12:21:28 mail pptpd[54767]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Dec 11 12:21:28 mail pptpd[54767]: CTRL: Made a OUT CALL RPLY packet
Dec 11 12:21:28 mail pptpd[54767]: CTRL: pty_fd = 7
Dec 11 12:21:28 mail pptpd[54767]: CTRL: tty_fd = 6
Dec 11 12:21:28 mail pptpd[54768]: CTRL (PPPD Launcher): program binary = /usr/local/sbin/pppd
Dec 11 12:21:28 mail pptpd[54767]: CTRL: I wrote 32 bytes to the client.
Dec 11 12:21:28 mail pptpd[54767]: CTRL: Sent packet to client
Dec 11 12:21:28 mail pptpd[54767]: CTRL: Reaping child PPP[54768]
Dec 11 12:21:28 mail pptpd[54767]: CTRL: Exiting now
Dec 11 12:21:28 mail pptpd[54625]: MGR: Reaped child 54767
(I have also tried using /usr/sbin/pppd, with the same result). The
error from pppd indicates that it is trying to access the options file
/etc/ppp/options, in spite of having:
# TAG: option
# Specifies the location of the PPP options file.
# By default PPP looks in '/etc/ppp/options'
#
option /etc/ppp/options.pptpd
in the pptpd.conf file. I've tried symlinking an "options" to the
"options.pptpd" file, but then it indicates that the ppp options, as
suggested in the poptop distribution, are illegal:
refuse-pap illegal option
It's almost as if user-land ppp was being called instead of pppd.
Anyone any ideas as to how I can get a better handle on this? Thank
you.
Cheers,
Rob Hurle
-----------------------------------------------------
Rob Hurle Faculty of Asian Studies, ANU
Home address and contacts: Tel: +61 2 6247 2397
PO Box 4013 Fax: +61 2 6247 2397
Ainslie Cell phone: 0417 293 603
Australia e-mail: rob at coombs.anu.edu.au
-----------------------------------------------------
More information about the freebsd-questions
mailing list