[pptp-server] connect problem when another connection is using ppp0

Jason Osborne rage at sohonetworks.cc
Wed Nov 15 08:39:22 CST 2000


as far as killing my vpn connection, i have not had to kill it at all. i am
running pptpd-1.1.2. when i finish with a connection, it kills the client
itself.

/var/log/messages (pay close attention as i try to bring both up):
Nov 14 22:35:57 dynipclient[22660]: Using client configuration file
'/etc/dynip.cfg'
Nov 14 22:35:57 dynipclient[22660]: Kill signal sent to DynIP client process
18986
Nov 14 22:35:58 pppd[18977]: Hangup (SIGHUP)
Nov 14 22:35:58 pppd[18977]: Modem hangup
Nov 14 22:35:58 pppd[18977]: Connection terminated.
Nov 14 22:35:58 pppd[18977]: Connect time 360.1 minutes.
Nov 14 22:35:58 pppd[18977]: Sent 343806 bytes, received 171597 bytes.
Nov 14 22:35:58 pppd[18977]: Exit.
Nov 14 22:36:07 pppd[22680]: pppd 2.3.11 started by root, uid 0
Nov 14 22:36:07 pppd[22680]: Using interface ppp0
Nov 14 22:36:07 pppd[22680]: Connect: ppp0 <--> /dev/ttyS0
Nov 14 22:36:10 kernel: PPP BSD Compression module registered
Nov 14 22:36:10 kernel: PPP Deflate Compression module registered
Nov 14 22:36:12 pppd[22680]: local  IP address xxx.xxx.17.127
Nov 14 22:36:12 pppd[22680]: remote IP address xxx.xxx.1.246
Nov 14 22:36:12 dynipclient[22688]: Using client configuration file
'/etc/dynip.cfg'
Nov 14 22:36:12 dynipclient[22689]: active
Nov 14 19:57:02 pptpd[21103]: CTRL: Client xxx.xxx.159.70 control connection
started
Nov 14 19:57:02 pptpd[21103]: CTRL: Starting call (launching pppd, opening
GRE)
Nov 14 19:57:02 pptpd[21103]: Error reading from pppd: Input/output error
Nov 14 19:57:02 pptpd[21103]: CTRL: GRE read or PTY write failed
(gre,pty)=(7,6)
Nov 14 19:57:02 pptpd[21103]: CTRL: Client xxx.xxx.159.70 control connection
finished


/etc/pptpd.conf:
speed 38400
option /etc/ppp/options.vpn
debug
localip 192.168.0.200-220,192.168.0.1
remoteip 192.168.1.200-220,192.168.1.1
#ipxnets 00001000-00001FFF
#listen 192.168.0.1
pidfile /var/run/pptpd.pid

-----Original Message-----
From: George Vieira [mailto:georgev at citadelcomputer.com.au]
Sent: Wednesday, November 15, 2000 2:18 AM
To: 'Jason Osborne'
Subject: RE: [pptp-server] connect problem when another connection is
using ppp0


what does you pptpd.conf listen to as a IP address??
How did you kill your pptp session, via kill `cat /var/run/ppp-pptp.pid`  ?


-----Original Message-----
From: Jason Osborne [mailto:rage at sohonetworks.cc]
Sent: Wednesday, November 15, 2000 6:04 PM
To: Pptp-Server at Lists. Schulte. Org; PPTP Mailing List; PPTP Mailing
List
Subject: [pptp-server] connect problem when another connection is using
ppp0


HELP.....PLEASE

I don't understand whats wrong. Well I do, but I don't know how to fix it.
First I connect up with the VPN on a system on the LAN. Works great. Then I
kill the VPN connection.

I start the ISDN connection with pppd. Everything works great there. Now I
run ifconfig and get:

	eth0      Link encap:Ethernet  HWaddr 52:54:05:F0:25:90
	          inet addr:192.168.0.1  Bcast:192.168.0.255
Mask:255.255.255.0
	          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      	    RX packets:33846 errors:0 dropped:0 overruns:0 frame:0
	         TX packets:76141 errors:0 dropped:0 overruns:0 carrier:0
	         collisions:4 txqueuelen:100
	         Interrupt:10 Base address:0xfce0

	lo        Link encap:Local Loopback
	          inet addr:127.0.0.1  Mask:255.0.0.0
	          UP LOOPBACK RUNNING  MTU:3924  Metric:1
	          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
	          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
	          collisions:0 txqueuelen:0

	ppp0      Link encap:Point-to-Point Protocol
	          inet addr:208.188.23.110  P-t-P:151.164.1.249
Mask:255.255.255.255
	          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
	          RX packets:1798 errors:0 dropped:0 overruns:0 frame:0
	          TX packets:1796 errors:0 dropped:0 overruns:0 carrier:0
	          collisions:0 txqueuelen:10

Now I start the VPN connection and get this.

	Nov 14 19:57:02 legacycarpets pptpd[21103]: CTRL: Client 4.40.159.70
control connection started
	Nov 14 19:57:02 legacycarpets pptpd[21103]: CTRL: Starting call
(launching
pppd, opening GRE)
	Nov 14 19:57:02 legacycarpets pptpd[21103]: Error reading from pppd:
Input/output error
	Nov 14 19:57:02 legacycarpets pptpd[21103]: CTRL: GRE read or PTY
write
failed (gre,pty)=(7,6)
	Nov 14 19:57:02 legacycarpets pptpd[21103]: CTRL: Client 4.40.159.70
control connection finished

It appears as if pptpd or pppd will not open ppp1 for the vpn to use. How do
I fix this? I have researched the PPPD Howto, the PopTop Website, and the
pppd man file with no luck. I've even searched previous posts. It appears
everyone automatically assumes this works. So what happens when it doesn't?
Does anyone have an answer?

--
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

_______________________________________________
pptp-server maillist  -  pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
List services provided by www.schulteconsulting.com!




More information about the pptp-server mailing list