[pptp-server] FreeBSD and pptpd?

william herbert wherbert at earthlink.net
Tue Jul 27 22:04:52 CDT 1999


Anyone have any luck running this on freeBSD 3.1 stable?
When I initially compiled 0.9.8 I got some errors in pptpctrl.c:28:
/usr/include/libutil.h:55: parse error before `pid_t'
/usr/include/libutil.h:56: parse error before `uid_t'

 so I commented those lines out to get it to Make.
Heres what my logs say, it looks like it almost wants to work... :

maine pptpd[3541]: CTRL: Client 38.26.65.218 control connection started
Jul 27 23:01:50 maine pptpd[3541]: CTRL: Starting call (launching pppd,
opening GRE)
Jul 27 23:01:50 maine pppd[3542]: pppd 2.3.5 started by bill, uid 0
Jul 27 23:01:50 maine pppd[3542]: Using interface ppp0
Jul 27 23:01:50 maine pppd[3542]: Connect: ppp0 <--> /dev/ttyp2
Jul 27 23:01:50 maine pppd[3542]: sent [LCP ConfReq id=0x1 <auth chap 05>
<magic 0xd3a876e3> <pcomp> <accomp>]
Jul 27 23:02:17 maine last message repeated 9 times
Jul 27 23:02:20 maine pppd[3542]: LCP: timeout sending Config-Requests
Jul 27 23:02:20 maine pppd[3542]: Connection terminated, connected for 1
minutes
Jul 27 23:02:20 maine pppd[3542]: Exit.
Jul 27 23:02:20 maine pptpd[3541]: GRE: read(fd=4,buffer=804cd58,len=8196)
from PTY failed: status = 0 error = No error
Jul 27 23:02:20 maine pptpd[3541]: CTRL: PTY read or GRE write failed
(pty,gre)=(4,5)
Jul 27 23:02:20 maine pptpd[3541]: CTRL: Client 38.26.65.218 control
connection finished

my win98 VPN addapter is configured per web page instructions, just kinda
weary about
/etc/ppp/options file not being exactly like Linux's , as well as the bad
compile, im not a programmer but the lines that where commented out:

int     uu_lock_txfr __P((const char *_ttyname, pid_t _pid));
int     _secure_path __P((const char *_path, uid_t _uid, gid_t _gid));

look hairy for authentications sake...
thanks for any and all advice.
wherbert at earthlink.net






More information about the pptp-server mailing list