[pptp-server] Poptop won't allow connections

Jason Osborne jason at sohonetworks.cc
Sun Jan 7 09:04:35 CST 2001


Ok, I'm running the latest versions of PopTop and PPPd along with Linux
2.2.17. Found some faq somewhere. Set it up on my server and it works fine.
I have PopTop on ppp0 and then eth0 is lan and eth1 is dsl. My friend
thought that the vpn stuff was cool so he asked me to install poptop. Ok,
here is the problem. When he is connected with his isdn (ppp0), for some
reason PopTop fails but when I try connecting without the isdn dialup
connected, PopTop uses ppp0 and connects fine. Why would PopTop fail when
its pushed to ppp1+ if it works fine on ppp0?

The log is included. Let me know if ya need to see one of the configs.

Oct 25 10:10:01 legacycarpets pptpd[15277]: MGR: Launching
/usr/sbin/pptpctrl to handle client
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: local address =
192.168.0.50
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: remote address =
192.168.1.50
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: pppd speed = 115200
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: pppd options file =
/etc/ppp/options.vpn
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: Client 4.40.159.70 control
connection started
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: Received PPTP Control
Message (type: 1)
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: Made a START CTRL CONN
RPLY packet
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: I wrote 156 bytes to the
client.
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: Sent packet to client
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: Received PPTP Control
Message (type: 7)
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: Set parameters to 0
maxbps, 16 window size
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: Made a OUT CALL RPLY
packet
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: Starting call (launching
pppd, opening GRE)
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: pty_fd = 6
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: tty_fd = 7
Oct 25 10:10:04 legacycarpets pptpd[15290]: CTRL (PPPD Launcher): Connection
speed = 115200
Oct 25 10:10:04 legacycarpets pptpd[15290]: CTRL (PPPD Launcher): local
address = 192.168.0.50
Oct 25 10:10:04 legacycarpets pptpd[15290]: CTRL (PPPD Launcher): remote
address = 192.168.1.50
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: I wrote 32 bytes to the
client.
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: Sent packet to client
Oct 25 10:10:04 legacycarpets pppd[15290]: pppd 2.3.10 started by root, uid
0
Oct 25 10:10:04 legacycarpets pppd[15290]: Using interface ppp1
Oct 25 10:10:04 legacycarpets pppd[15290]: Connect: ppp1 <--> /dev/pts/3
Oct 25 10:10:04 legacycarpets pppd[15290]: sent [LCP ConfReq id=0x1
<asyncmap 0x20a0000> <auth chap MD5> <magic 0xccc4a489> <pcomp> <accomp>]
Oct 25 10:10:04 legacycarpets pppd[15290]: rcvd [LCP ConfReq id=0x1 <magic
0x34631a5> <pcomp> <accomp>]
Oct 25 10:10:04 legacycarpets pppd[15290]: sent [LCP ConfAck id=0x1 <magic
0x34631a5> <pcomp> <accomp>]
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x20a0000> <auth chap MD5> <magic 0xccc4a489> <pcomp> <accomp>]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CHAP Challenge id=0x1
<e1cad76f28ba06bb11ddedf7c18a058d21110a179f93b983874dcc6479d48515>, name =
"server"]
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [CHAP Response id=0x1
<60af5cae9da6328bea5b20500e1eaa32>, name = "rage"]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CHAP Success id=0x1
"Welcome to server."]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:10:05 legacycarpets pppd[15290]: CHAP peer authentication
succeeded for rage
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [IPCP ConfReq id=0x1
<compress VJ 0f 01> <addr 192.168.1.200> <ms-dns1 209.30.0.9> <ms-wins
192.168.0.1> <ms-dns3 209.30.0.100> <ms-wins 0.0.0.0>]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [IPCP ConfNak id=0x1 <addr
192.168.1.50> <ms-dns1 192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins
192.168.0.1>]
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [CCP ConfReq id=0x1 < 12 06
01 00 00 01> < 11 05 00 01 04>]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CCP ConfRej id=0x1 < 12 06
01 00 00 01> < 11 05 00 01 04>]
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [IPCP ConfAck id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [CCP ConfRej id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CCP ConfReq id=0x2]
Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [IPCP ConfReq id=0x2
<compress VJ 0f 01> <addr 192.168.1.50> <ms-dns1 192.168.0.1> <ms-wins
192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins 192.168.0.1>]
Oct 25 10:10:06 legacycarpets pppd[15290]: sent [IPCP ConfAck id=0x2
<compress VJ 0f 01> <addr 192.168.1.50> <ms-dns1 192.168.0.1> <ms-wins
192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins 192.168.0.1>]
Oct 25 10:10:06 legacycarpets pppd[15290]: Could not determine local IP
address
Oct 25 10:10:06 legacycarpets pppd[15290]: sent [IPCP TermReq id=0x2 "Could
not determine local IP address"]
Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [CCP ConfAck id=0x2]
Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [IPCP TermAck id=0x2]
Oct 25 10:10:06 legacycarpets pppd[15290]: sent [LCP TermReq id=0x2 "No
network protocols running"]
Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [LCP TermAck id=0x2]
Oct 25 10:10:06 legacycarpets pppd[15290]: Connection terminated.
Oct 25 10:10:06 legacycarpets pppd[15290]: Connect time 0.1 minutes.
Oct 25 10:10:06 legacycarpets pppd[15290]: Sent 460 bytes, received 403
bytes.
Oct 25 10:10:06 legacycarpets pppd[15290]: Exit.
Oct 25 10:10:06 legacycarpets pptpd[15277]: GRE:
read(fd=6,buffer=804d7e0,len=8196) from PTY failed: status = -1 error =
Input/output error
Oct 25 10:10:06 legacycarpets pptpd[15277]: CTRL: PTY read or GRE write
failed (pty,gre)=(6,7)
Oct 25 10:10:06 legacycarpets pptpd[15277]: CTRL: Client 4.40.159.70 control
connection finished
Oct 25 10:10:06 legacycarpets pptpd[15277]: CTRL: Exiting now
Oct 25 10:10:06 legacycarpets pptpd[15265]: MGR: Reaped child 15277
Oct 25 10:12:02 legacycarpets pptpd[15311]: MGR: Launching
/usr/sbin/pptpctrl to handle client
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: local address =
192.168.0.51
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: remote address =
192.168.1.51
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: pppd speed = 115200
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: pppd options file =
/etc/ppp/options.vpn
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Client 4.40.159.70 control
connection started
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Received PPTP Control
Message (type: 1)
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Made a START CTRL CONN
RPLY packet
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: I wrote 156 bytes to the
client.
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Sent packet to client
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Received PPTP Control
Message (type: 7)
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Set parameters to 0
maxbps, 16 window size
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Made a OUT CALL RPLY
packet
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Starting call (launching
pppd, opening GRE)
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: pty_fd = 6
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: tty_fd = 7
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: I wrote 32 bytes to the
client.
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Sent packet to client
Oct 25 10:12:02 legacycarpets pptpd[15312]: CTRL (PPPD Launcher): Connection
speed = 115200
Oct 25 10:12:02 legacycarpets pptpd[15312]: CTRL (PPPD Launcher): local
address = 192.168.0.51
Oct 25 10:12:02 legacycarpets pptpd[15312]: CTRL (PPPD Launcher): remote
address = 192.168.1.51
Oct 25 10:12:03 legacycarpets pppd[15312]: pppd 2.3.10 started by root, uid
0
Oct 25 10:12:03 legacycarpets pppd[15312]: Using interface ppp1
Oct 25 10:12:03 legacycarpets pppd[15312]: Connect: ppp1 <--> /dev/pts/3
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [LCP ConfReq id=0x1
<asyncmap 0x20a0000> <auth chap MD5> <magic 0x65f72f7b> <pcomp> <accomp>]
Oct 25 10:12:03 legacycarpets pppd[15312]: rcvd [LCP ConfReq id=0x1 <magic
0x347ffc2> <pcomp> <accomp>]
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [LCP ConfAck id=0x1 <magic
0x347ffc2> <pcomp> <accomp>]
Oct 25 10:12:03 legacycarpets pppd[15312]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x20a0000> <auth chap MD5> <magic 0x65f72f7b> <pcomp> <accomp>]
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [CHAP Challenge id=0x1
<d734b60dd965d803877b01b71488701c5fb32a2e645b58ae58f3bc6b4e7eb217cd8794cffa6
b2bf36d99c5fa9f2ee2041349e9b13521ca5a6a>, name = "server"]
Oct 25 10:12:03 legacycarpets pppd[15312]: rcvd [CHAP Response id=0x1
<d3ae637756ef138006d469ed18744c21>, name = "rage"]
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [CHAP Success id=0x1
"Welcome to server."]
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:12:03 legacycarpets pppd[15312]: CHAP peer authentication
succeeded for rage
Oct 25 10:12:06 legacycarpets pppd[15312]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:12:06 legacycarpets pppd[15312]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:12:08 legacycarpets pppd[15312]: rcvd [CHAP Response id=0x1
<d3ae637756ef138006d469ed18744c21>, name = "rage"]
Oct 25 10:12:08 legacycarpets pppd[15312]: sent [CHAP Success id=0x1
"Welcome to server."]
Oct 25 10:12:09 legacycarpets pppd[15312]: rcvd [IPCP ConfReq id=0x1
<compress VJ 0f 01> <addr 192.168.1.50> <ms-dns1 209.30.0.9> <ms-wins
192.168.0.1> <ms-dns3 209.30.0.100> <ms-wins 0.0.0.0>]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [IPCP ConfNak id=0x1 <addr
192.168.1.51> <ms-dns1 192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins
192.168.0.1>]
Oct 25 10:12:09 legacycarpets pppd[15312]: rcvd [CCP ConfReq id=0x1 < 12 06
01 00 00 01> < 11 05 00 01 04>]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [CCP ConfRej id=0x1 < 12 06
01 00 00 01> < 11 05 00 01 04>]
Oct 25 10:12:09 legacycarpets pppd[15312]: rcvd [IPCP ConfReq id=0x2
<compress VJ 0f 01> <addr 192.168.1.51> <ms-dns1 192.168.0.1> <ms-wins
192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins 192.168.0.1>]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [IPCP ConfAck id=0x2
<compress VJ 0f 01> <addr 192.168.1.51> <ms-dns1 192.168.0.1> <ms-wins
192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins 192.168.0.1>]
Oct 25 10:12:09 legacycarpets pppd[15312]: rcvd [CCP ConfReq id=0x2]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [CCP ConfAck id=0x2]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [IPCP ConfAck id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:12:10 legacycarpets pppd[15312]: Could not determine local IP
address
Oct 25 10:12:10 legacycarpets pppd[15312]: sent [IPCP TermReq id=0x2 "Could
not determine local IP address"]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [CCP ConfRej id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:12:10 legacycarpets pppd[15312]: sent [CCP ConfReq id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [IPCP TermAck id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: sent [LCP TermReq id=0x2 "No
network protocols running"]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [CCP ConfAck id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [CCP TermReq id=0x3]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [LCP TermReq id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: sent [LCP TermAck id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [LCP TermAck id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: Connection terminated.
Oct 25 10:12:10 legacycarpets pppd[15312]: Connect time 0.2 minutes.
Oct 25 10:12:10 legacycarpets pppd[15312]: Sent 680 bytes, received 441
bytes.
Oct 25 10:12:10 legacycarpets pppd[15312]: Exit.
Oct 25 10:12:10 legacycarpets pptpd[15311]: GRE:
read(fd=6,buffer=804d7e0,len=8196) from PTY failed: status = -1 error =
Input/output error
Oct 25 10:12:10 legacycarpets pptpd[15311]: CTRL: PTY read or GRE write
failed (pty,gre)=(6,7)
Oct 25 10:12:10 legacycarpets pptpd[15311]: CTRL: Client 4.40.159.70 control
connection finished
Oct 25 10:12:10 legacycarpets pptpd[15311]: CTRL: Exiting now
Oct 25 10:12:10 legacycarpets pptpd[15265]: MGR: Reaped child 15311
Oct 25 10:12:23 legacycarpets named[524]: USAGE 972486743 972400343
CPU=0.17u/0.01s CHILDCPU=0u/0s
Oct 25 10:12:23 legacycarpets named[524]: NSTATS 972486743 972400343
Oct 25 10:12:23 legacycarpets named[524]: XSTATS 972486743 972400343 RR=1
RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0
SSysQ=1 SAns=0 SFwdQ=0 SDupQ=638 SErr=1 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0
SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0


--
Jason Osborne
Data and Telecom Network Solutions
Your total Internetworking solutions provider!
3847 Timberglen Rd., STE 4013
Dallas, TX 75287
Phone: 972-307-0676
Mobile: 214-284-3337
Web: http://www.sohonetworks.cc
E-mail: sales at sohonetworks.cc




More information about the pptp-server mailing list