Hi I'm trying to set up pptpd on a woody system to enable MS clients to connect. I wanted to enable the ssl-mppe patch. Generally I needed to patch the kernel a bit, and to patch the ppp package (patching pppd with ppp-2.4.1-openssl-0.9.6-mppe-patch.gz was not entirely trivial, as I also needed to remove one of the patches of the original debian package - patch 003 (bppc or something similar)). I must say, though, that applying patches to packages sees to involve a bit less black magic than applying patches to RPM packages.
I got an error message about not being able to load module 'char-major-108' . I saw that there is an alias of 'char-major-108' to 'ppp_generic'. However, I could not figure out what 'ppp_generic' is. further aliasing 'ppp_generic' to 'ppp' seems to have allowed this module to load, but I'm not really sure that this is a smart move. I'm currently trying to figure out exactly what I need to write in the pptpd_options file and how I need to configure the clients. I currently get something like the following in my logs (this log lists daemon.debug in /etc/syslog.conf . I probably should have used 'daemon.=debug' instead): Aug 29 12:51:20 naftali pptpd[14506]: MGR: Launching /usr/sbin/pptpctrl to handle client Aug 29 12:51:20 naftali pptpd[14506]: CTRL: local address = 192.168.1.250 Aug 29 12:51:20 naftali pptpd[14506]: CTRL: remote address = 192.168.8.2 Aug 29 12:51:20 naftali pptpd[14506]: CTRL: pppd speed = 115200 Aug 29 12:51:20 naftali pptpd[14506]: CTRL: pppd options file = /etc/ppp/pptpd-options Aug 29 12:51:20 naftali pptpd[14506]: CTRL: Client 192.168.1.254 control connection started Aug 29 12:51:20 naftali pptpd[14506]: CTRL: Received PPTP Control Message (type: 1) Aug 29 12:51:20 naftali pptpd[14506]: CTRL: Made a START CTRL CONN RPLY packet Aug 29 12:51:20 naftali pptpd[14506]: CTRL: I wrote 156 bytes to the client. Aug 29 12:51:20 naftali pptpd[14506]: CTRL: Sent packet to client Aug 29 12:51:20 naftali pptpd[14506]: CTRL: Received PPTP Control Message (type: 7) Aug 29 12:51:20 naftali pptpd[14506]: CTRL: Set parameters to 0 maxbps, 16 window size Aug 29 12:51:20 naftali pptpd[14506]: CTRL: Made a OUT CALL RPLY packet Aug 29 12:51:20 naftali pptpd[14506]: CTRL: Starting call (launching pppd, opening GRE) Aug 29 12:51:20 naftali pptpd[14506]: CTRL: pty_fd = 5 Aug 29 12:51:20 naftali pptpd[14506]: CTRL: tty_fd = 6 Aug 29 12:51:20 naftali pptpd[14507]: CTRL (PPPD Launcher): Connection speed = 115200 Aug 29 12:51:20 naftali pptpd[14507]: CTRL (PPPD Launcher): local address = 192.168.1.250 Aug 29 12:51:20 naftali pptpd[14507]: CTRL (PPPD Launcher): remote address = 192.168.8.2 Aug 29 12:51:20 naftali pptpd[14506]: CTRL: I wrote 32 bytes to the client. Aug 29 12:51:20 naftali pptpd[14506]: CTRL: Sent packet to client Aug 29 12:51:21 naftali pptpd[14506]: GRE: read(fd=5,buffer=804d9c0,len=8196) from PTY failed: status = -1 error = Input/output error Aug 29 12:51:21 naftali pptpd[14506]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6) Aug 29 12:51:21 naftali pptpd[14506]: CTRL: Client 192.168.1.254 control connection finished Aug 29 12:51:21 naftali pptpd[14506]: CTRL: Exiting now Aug 29 12:51:21 naftali pptpd[13747]: MGR: Reaped child 14506 What bothers me here is that I can't see anything from pppd in the logs. I have 'debug' set in pptpd-options . Even if I run 'pppd debug' (as root') I get a couple of lines of garbage, but I see nothing in this log. Yet the man page claims that pppd debugging goes to syslog as deamon.debug . What am I doing wrong here? -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir

