Hi all,
I'm setting up a Wnap node (wireless) and I'm having trouble getting PopTop working (wanted for my M$ based clients).
As I don't have/run Windows (I'm a linux nut) I am attempting to get establish a link from a Linux client using pptp-linux, at present I haven't patched the kernel for the MS auth - instead I'm using CHAP.
Both machines are running Debian 3.0.
When I start the link I get some comunication between machines, but the server bombs out before authenicating and the ppp client nevers sees any traffic from the server.
I have built the kernel with ip_gre, but still get the error 'GRE: Protocol not available' on the server.
I've looked 'on the wire' with tcpdump and this shows the server responding with one packet which is of GRE protocol.
Anyone got any ideas?? I've already spent two evenings on this :-(
Thanks,
Simon Wood.
---------------------
Client Start up:
kojak:/home/simon# pptp 192.168.1.18 debug auth +chap nodetach
using channel 42
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
kojak:/home/simon#
Client debug (/var/log/syslog):
Jan 17 10:31:53 kojak pptp[2243]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:580]: Client connection established.
Jan 17 10:31:54 kojak pptp[2243]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:708]: Outgoing call established (call ID 0, peer's call ID 0).
Jan 17 10:31:55 kojak pppd[2240]: pppd 2.4.1 started by simon, uid 0
Jan 17 10:31:55 kojak pppd[2240]: using channel 42
Jan 17 10:31:55 kojak pppd[2240]: Using interface ppp0
Jan 17 10:31:55 kojak pppd[2240]: Connect: ppp0 <--> /dev/pts/1
Jan 17 10:31:55 kojak pppd[2240]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
Jan 17 10:32:22 kojak last message repeated 9 times
Jan 17 10:32:25 kojak pppd[2240]: LCP: timeout sending Config-Requests
Jan 17 10:32:25 kojak pppd[2240]: Connection terminated.
Jan 17 10:32:26 kojak pppd[2240]: Exit.
Jan 17 10:32:26 kojak pptp[2241]: log[decaps_hdlc:pptp_gre.c:129]: short read (4294967295): Input/output error
Jan 17 10:32:26 kojak pptp[2243]: log[callmgr_main:pptp_callmgr.c:245]: Closing connection
Jan 17 10:32:26 kojak pptp[2243]: log[pptp_conn_close:pptp_ctrl.c:307]: Closing PPTP connection
Jan 17 10:32:26 kojak pptp[2243]: log[pptp_write_some:pptp_ctrl.c:376]: write error: Broken pipe
Jan 17 10:32:26 kojak pptp[2243]: log[call_callback:pptp_callmgr.c:88]: Closing connection
kojak:/home/simon#
Server Debug (/var/log/syslog):
Jan 17 10:32:49 marple pptpd[760]: CTRL: local address = 192.168.5.254
Jan 17 10:32:49 marple pptpd[760]: CTRL: remote address = 192.168.5.1
Jan 17 10:32:49 marple pptpd[760]: CTRL: pppd speed = 9600
Jan 17 10:32:49 marple pptpd[760]: CTRL: pppd options file = /etc/ppp/pptpd-options
Jan 17 10:32:49 marple pptpd[760]: CTRL: Client 192.168.1.15 control connection started
Jan 17 10:32:49 marple pptpd[760]: CTRL: Received PPTP Control Message (type: 1)
Jan 17 10:32:49 marple pptpd[760]: CTRL: Made a START CTRL CONN RPLY packet
Jan 17 10:32:49 marple pptpd[760]: CTRL: I wrote 156 bytes to the client.
Jan 17 10:32:49 marple pptpd[760]: CTRL: Sent packet to client
Jan 17 10:32:50 marple pptpd[760]: CTRL: Received PPTP Control Message (type: 7)
Jan 17 10:32:50 marple pptpd[760]: CTRL: 0 min_bps, 152 max_bps, 32 window size
Jan 17 10:32:50 marple pptpd[760]: CTRL: Made a OUT CALL RPLY packet
Jan 17 10:32:50 marple pptpd[760]: CTRL: Starting call (launching pppd, opening GRE)
Jan 17 10:32:50 marple pptpd[760]: CTRL: pty_fd = 5
Jan 17 10:32:50 marple pptpd[760]: CTRL: tty_fd = 6
Jan 17 10:32:50 marple pptpd[760]: CTRL: I wrote 32 bytes to the client.
Jan 17 10:32:50 marple pptpd[761]: CTRL (PPPD Launcher): Connection speed = 9600
Jan 17 10:32:50 marple pptpd[761]: CTRL (PPPD Launcher): local address = 192.168.5.254
Jan 17 10:32:50 marple pptpd[761]: CTRL (PPPD Launcher): remote address = 192.168.5.1
Jan 17 10:32:50 marple pptpd[760]: CTRL: Sent packet to client
Jan 17 10:32:51 marple pppd[761]: pppd 2.4.1 started by root, uid 0
Jan 17 10:32:51 marple pppd[761]: Using interface ppp0
Jan 17 10:32:51 marple pppd[761]: Connect: ppp0 <--> /dev/pts/1
Jan 17 10:32:51 marple pptpd[760]: GRE: read error: Protocol not available
Jan 17 10:32:51 marple pptpd[760]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
Jan 17 10:32:51 marple pppd[761]: Modem hangup
Jan 17 10:32:51 marple pppd[761]: Connection terminated.
Jan 17 10:32:51 marple pptpd[760]: CTRL: Client 192.168.1.15 control connection finished
Jan 17 10:32:51 marple pptpd[760]: CTRL: Exiting now
Jan 17 10:32:51 marple pptpd[198]: MGR: Reaped child 760
Jan 17 10:32:51 marple pppd[761]: Exit.
marple:/home/simon#
You have to compile ip_gre as a module, add "alias net-pf-47 ip_gre" to /etc/modules.conf and load it.
Also, upgrade your pptpd to 1.1.3, because 1.1.2 is broken.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You have to compile ip_gre as a module, add "alias net-pf-47 ip_gre" to /etc/modules.conf and load it.
Also, upgrade your pptpd to 1.1.3, because 1.1.2 is broken.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I'm setting up a Wnap node (wireless) and I'm having trouble getting PopTop working (wanted for my M$ based clients).
As I don't have/run Windows (I'm a linux nut) I am attempting to get establish a link from a Linux client using pptp-linux, at present I haven't patched the kernel for the MS auth - instead I'm using CHAP.
Both machines are running Debian 3.0.
When I start the link I get some comunication between machines, but the server bombs out before authenicating and the ppp client nevers sees any traffic from the server.
I have built the kernel with ip_gre, but still get the error 'GRE: Protocol not available' on the server.
I've looked 'on the wire' with tcpdump and this shows the server responding with one packet which is of GRE protocol.
Anyone got any ideas?? I've already spent two evenings on this :-(
Thanks,
Simon Wood.
---------------------
Client Start up:
kojak:/home/simon# pptp 192.168.1.18 debug auth +chap nodetach
using channel 42
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
kojak:/home/simon#
Client debug (/var/log/syslog):
Jan 17 10:31:53 kojak pptp[2243]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:580]: Client connection established.
Jan 17 10:31:54 kojak pptp[2243]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:708]: Outgoing call established (call ID 0, peer's call ID 0).
Jan 17 10:31:55 kojak pppd[2240]: pppd 2.4.1 started by simon, uid 0
Jan 17 10:31:55 kojak pppd[2240]: using channel 42
Jan 17 10:31:55 kojak pppd[2240]: Using interface ppp0
Jan 17 10:31:55 kojak pppd[2240]: Connect: ppp0 <--> /dev/pts/1
Jan 17 10:31:55 kojak pppd[2240]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6aea74d> <pcomp> <accomp>]
Jan 17 10:32:22 kojak last message repeated 9 times
Jan 17 10:32:25 kojak pppd[2240]: LCP: timeout sending Config-Requests
Jan 17 10:32:25 kojak pppd[2240]: Connection terminated.
Jan 17 10:32:26 kojak pppd[2240]: Exit.
Jan 17 10:32:26 kojak pptp[2241]: log[decaps_hdlc:pptp_gre.c:129]: short read (4294967295): Input/output error
Jan 17 10:32:26 kojak pptp[2243]: log[callmgr_main:pptp_callmgr.c:245]: Closing connection
Jan 17 10:32:26 kojak pptp[2243]: log[pptp_conn_close:pptp_ctrl.c:307]: Closing PPTP connection
Jan 17 10:32:26 kojak pptp[2243]: log[pptp_write_some:pptp_ctrl.c:376]: write error: Broken pipe
Jan 17 10:32:26 kojak pptp[2243]: log[call_callback:pptp_callmgr.c:88]: Closing connection
kojak:/home/simon#
Server Debug (/var/log/syslog):
Jan 17 10:32:49 marple pptpd[760]: CTRL: local address = 192.168.5.254
Jan 17 10:32:49 marple pptpd[760]: CTRL: remote address = 192.168.5.1
Jan 17 10:32:49 marple pptpd[760]: CTRL: pppd speed = 9600
Jan 17 10:32:49 marple pptpd[760]: CTRL: pppd options file = /etc/ppp/pptpd-options
Jan 17 10:32:49 marple pptpd[760]: CTRL: Client 192.168.1.15 control connection started
Jan 17 10:32:49 marple pptpd[760]: CTRL: Received PPTP Control Message (type: 1)
Jan 17 10:32:49 marple pptpd[760]: CTRL: Made a START CTRL CONN RPLY packet
Jan 17 10:32:49 marple pptpd[760]: CTRL: I wrote 156 bytes to the client.
Jan 17 10:32:49 marple pptpd[760]: CTRL: Sent packet to client
Jan 17 10:32:50 marple pptpd[760]: CTRL: Received PPTP Control Message (type: 7)
Jan 17 10:32:50 marple pptpd[760]: CTRL: 0 min_bps, 152 max_bps, 32 window size
Jan 17 10:32:50 marple pptpd[760]: CTRL: Made a OUT CALL RPLY packet
Jan 17 10:32:50 marple pptpd[760]: CTRL: Starting call (launching pppd, opening GRE)
Jan 17 10:32:50 marple pptpd[760]: CTRL: pty_fd = 5
Jan 17 10:32:50 marple pptpd[760]: CTRL: tty_fd = 6
Jan 17 10:32:50 marple pptpd[760]: CTRL: I wrote 32 bytes to the client.
Jan 17 10:32:50 marple pptpd[761]: CTRL (PPPD Launcher): Connection speed = 9600
Jan 17 10:32:50 marple pptpd[761]: CTRL (PPPD Launcher): local address = 192.168.5.254
Jan 17 10:32:50 marple pptpd[761]: CTRL (PPPD Launcher): remote address = 192.168.5.1
Jan 17 10:32:50 marple pptpd[760]: CTRL: Sent packet to client
Jan 17 10:32:51 marple pppd[761]: pppd 2.4.1 started by root, uid 0
Jan 17 10:32:51 marple pppd[761]: Using interface ppp0
Jan 17 10:32:51 marple pppd[761]: Connect: ppp0 <--> /dev/pts/1
Jan 17 10:32:51 marple pptpd[760]: GRE: read error: Protocol not available
Jan 17 10:32:51 marple pptpd[760]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
Jan 17 10:32:51 marple pppd[761]: Modem hangup
Jan 17 10:32:51 marple pppd[761]: Connection terminated.
Jan 17 10:32:51 marple pptpd[760]: CTRL: Client 192.168.1.15 control connection finished
Jan 17 10:32:51 marple pptpd[760]: CTRL: Exiting now
Jan 17 10:32:51 marple pptpd[198]: MGR: Reaped child 760
Jan 17 10:32:51 marple pppd[761]: Exit.
marple:/home/simon#
TCPdump on server (marple):
10:45:54.227634 marple.mungewell.org > kojak.mungewell.org: gre-proto-0x880B (gre encap)
10:45:56.127250 kojak.mungewell.org > marple.mungewell.org: gre-proto-0x880B (gre encap)
10:45:57.759574 kojak.mungewell.org > marple.mungewell.org: gre-proto-0x880B (gre encap)
10:46:00.769721 kojak.mungewell.org > marple.mungewell.org: gre-proto-0x880B (gre encap)
10:46:03.779768 kojak.mungewell.org > marple.mungewell.org: gre-proto-0x880B (gre encap)
10:46:06.789848 kojak.mungewell.org > marple.mungewell.org: gre-proto-0x880B (gre encap)
10:46:09.799861 kojak.mungewell.org > marple.mungewell.org: gre-proto-0x880B (gre encap)
10:46:12.810030 kojak.mungewell.org > marple.mungewell.org: gre-proto-0x880B (gre encap)
10:46:15.820215 kojak.mungewell.org > marple.mungewell.org: gre-proto-0x880B (gre encap)
10:46:18.830189 kojak.mungewell.org > marple.mungewell.org: gre-proto-0x880B (gre encap)
10:46:21.840297 kojak.mungewell.org > marple.mungewell.org: gre-proto-0x880B (gre encap)
You have to compile ip_gre as a module, add "alias net-pf-47 ip_gre" to /etc/modules.conf and load it.
Also, upgrade your pptpd to 1.1.3, because 1.1.2 is broken.
You have to compile ip_gre as a module, add "alias net-pf-47 ip_gre" to /etc/modules.conf and load it.
Also, upgrade your pptpd to 1.1.3, because 1.1.2 is broken.