[pptp-server] How can I manage my win98 box to handle two ppp connections at the same time?

Risko Peter rpetike at freemail.hu
Wed Dec 5 17:26:38 CST 2001


Hi All!

  First, I must beg your pardon for the long letter, and the terrible English
I use in it...

  I am trying to establish a pptp link between a Linux box, and a win98
machine. On my local ethernet network it works well: the server has IP num.
192.168.2.1, the win98 is 192.168.2.2, and I can 'dial' the server from the win
machine. After dial, I can check the connection on the Linux box: in the syslog
I see this (both ppp and pptp is in verbose mode):
Dec  4 04:
04:54 telehost pptpd[1661]: MGR: Launching /usr/sbin/pptpctrl to handle client
04:54 telehost pptpd[1661]: CTRL: local address = 192.168.0.1
04:54 telehost pptpd[1661]: CTRL: remote address = 192.168.0.3
04:54 telehost pptpd[1661]: CTRL: pppd speed = 115200
04:54 telehost pptpd[1661]: CTRL: pppd options file = /etc/ppp/pptpd-options
04:54 telehost pptpd[1661]: CTRL: Client 192.168.2.9 control connection started
04:54 telehost pptpd[1661]: CTRL: Received PPTP Control Message (type: 1)
04:54 telehost pptpd[1661]: CTRL: Made a START CTRL CONN RPLY packet
04:54 telehost pptpd[1661]: CTRL: I wrote 156 bytes to the client.
04:54 telehost pptpd[1661]: CTRL: Sent packet to client
04:54 telehost pptpd[1661]: CTRL: Received PPTP Control Message (type: 7)
04:54 telehost pptpd[1661]: CTRL: Set parameters to 0 maxbps, 16 window size
04:54 telehost pptpd[1661]: CTRL: Made a OUT CALL RPLY packet
04:54 telehost pptpd[1661]: CTRL: Starting call (launching pppd, opening GRE)
04:54 telehost pptpd[1661]: CTRL: pty_fd = 5
04:54 telehost pptpd[1661]: CTRL: tty_fd = 6
04:54 telehost pptpd[1661]: CTRL: I wrote 32 bytes to the client.
04:54 telehost pptpd[1662]: CTRL (PPPD Launcher): Connection speed = 115200
04:54 telehost pptpd[1662]: CTRL (PPPD Launcher): local address = 192.168.0.1
04:54 telehost pptpd[1662]: CTRL (PPPD Launcher): remote address = 192.168.0.3
04:55 telehost pptpd[1661]: CTRL: Sent packet to client
04:55 telehost pppd[1662]: pppd 2.3.11 started by root, uid 0
04:55 telehost pppd[1662]: Using interface ppp0
04:55 telehost pppd[1662]: Connect: ppp0 <--> /dev/pts/1
04:55 telehost pppd[1662]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x44272512> <pcomp> <accomp>]
04:55 telehost pppd[1662]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4b7968> <pcomp> <accomp> <callback CBCP>]
04:55 telehost pppd[1662]: sent [LCP ConfRej id=0x1 <callback CBCP>]
04:55 telehost pppd[1662]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x44272512> <pcomp> <accomp>]
04:55 telehost pppd[1662]: rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x4b7968> <pcomp> <accomp>]
04:55 telehost pppd[1662]: sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <magic 0x4b7968> <pcomp> <accomp>]
04:55 telehost pppd[1662]: sent [LCP EchoReq id=0x0 magic=0x44272512]
04:55 telehost pppd[1662]: sent [CHAP Challenge id=0x1 <1e17aa7ab8918e7c9e1f4150e3a1234071fc405857de>, name = "serv"]
04:55 telehost pppd[1662]: rcvd [LCP EchoRep id=0x0 magic=0x4b7968]
04:55 telehost pppd[1662]: rcvd [CHAP Response id=0x1 <fa0750abcbc4ae8d9c7662e40bb1ba06>, name = "xy"]
04:55 telehost pppd[1662]: sent [CHAP Success id=0x1 "Welcome to telehost.ris."]
04:55 telehost pppd[1662]: sent [IPCP ConfReq id=0x1 <addr 192.168.0.1> <compress VJ 0f 01>]
04:55 telehost pppd[1662]: CHAP peer authentication succeeded for xy
04:55 telehost pppd[1662]: rcvd [IPCP ConfReq id=0x1 <addr 192.168.0.99> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
04:55 telehost pppd[1662]: sent [IPCP ConfRej id=0x1 <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
04:55 telehost pppd[1662]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
04:55 telehost pppd[1662]: sent [IPCP ConfReq id=0x2 <addr 192.168.0.1>]
04:55 telehost pppd[1662]: rcvd [IPCP ConfReq id=0x2 <addr 192.168.0.99>]
04:55 telehost pppd[1662]: sent [IPCP ConfAck id=0x2 <addr 192.168.0.99>]
04:55 telehost pppd[1662]: rcvd [IPCP ConfAck id=0x2 <addr 192.168.0.1>]
04:55 telehost pppd[1662]: Cannot determine ethernet address for proxy ARP
04:55 telehost pppd[1662]: local  IP address 192.168.0.1
04:55 telehost pppd[1662]: remote IP address 192.168.0.99
04:55 telehost pppd[1662]: Script /etc/ppp/ip-up started (pid 1663)
04:58 telehost pppd[1662]: Script /etc/ppp/ip-up finished (pid 1663), status = 0x0
...

  But if I start a dial-up connection from the win machine, and then 'dial' the
pptp server on the local lan, they can't establish the connection. I see
this in the syslog (both ppp and pptp is in verbose mode):
Dec  4 04:
07:25 telehost pptpd[1699]: MGR: Launching /usr/sbin/pptpctrl to handle client
07:25 telehost pptpd[1699]: CTRL: local address = 192.168.0.1
07:25 telehost pptpd[1699]: CTRL: remote address = 192.168.0.2
07:25 telehost pptpd[1699]: CTRL: pppd speed = 115200
07:25 telehost pptpd[1699]: CTRL: pppd options file = /etc/ppp/pptpd-options
07:25 telehost pptpd[1699]: CTRL: Client 192.168.2.9 control connection started
07:25 telehost pptpd[1699]: CTRL: Received PPTP Control Message (type: 1)
07:25 telehost pptpd[1699]: CTRL: Made a START CTRL CONN RPLY packet
07:25 telehost pptpd[1699]: CTRL: I wrote 156 bytes to the client.
07:25 telehost pptpd[1699]: CTRL: Sent packet to client
07:25 telehost pptpd[1699]: CTRL: Received PPTP Control Message (type: 7)
07:25 telehost pptpd[1699]: CTRL: Set parameters to 0 maxbps, 16 window size
07:25 telehost pptpd[1699]: CTRL: Made a OUT CALL RPLY packet
07:25 telehost pptpd[1699]: CTRL: Starting call (launching pppd, opening GRE)
07:25 telehost pptpd[1699]: CTRL: pty_fd = 5
07:25 telehost pptpd[1699]: CTRL: tty_fd = 6
07:25 telehost pptpd[1699]: CTRL: I wrote 32 bytes to the client.
07:25 telehost pptpd[1700]: CTRL (PPPD Launcher): Connection speed = 115200
07:25 telehost pptpd[1700]: CTRL (PPPD Launcher): local address = 192.168.0.1
07:25 telehost pptpd[1700]: CTRL (PPPD Launcher): remote address = 192.168.0.2
07:25 telehost pptpd[1699]: CTRL: Sent packet to client
07:25 telehost pppd[1700]: pppd 2.3.11 started by root, uid 0
07:26 telehost pppd[1700]: Using interface ppp0
07:26 telehost pppd[1700]: Connect: ppp0 <--> /dev/pts/1
07:26 telehost pppd[1700]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xda6e39c7> <pcomp> <accomp>]
07:26 telehost pppd[1700]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0x4dc65b> <pcomp> <accomp> <callback CBCP>]
07:26 telehost pppd[1700]: sent [LCP ConfRej id=0x1 <callback CBCP>]
07:26 telehost pppd[1700]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xda6e39c7> <pcomp> <accomp>]
07:26 telehost pppd[1700]: rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x4dc65b> <pcomp> <accomp>]
07:26 telehost pppd[1700]: sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <magic 0x4dc65b> <pcomp> <accomp>]
07:26 telehost pppd[1700]: sent [LCP EchoReq id=0x0 magic=0xda6e39c7]
07:26 telehost pppd[1700]: sent [CHAP Challenge id=0x1 <18b188cc5d70daed44f4523a6da85a8bcf9483>, name = "serv"]
07:26 telehost pppd[1700]: rcvd [LCP EchoRep id=0x0 magic=0x4dc65b]
07:26 telehost pppd[1700]: rcvd [CHAP Response id=0x1 <65a94e16f652ad22d10e9c7afa3437d9>, name = "xy"]
07:26 telehost pppd[1700]: sent [CHAP Success id=0x1 "Welcome to telehost.ris."]
07:26 telehost pppd[1700]: sent [IPCP ConfReq id=0x1 <addr 192.168.0.1> <compress VJ 0f 01>]
07:26 telehost pppd[1700]: CHAP peer authentication succeeded for xy
07:26 telehost pppd[1700]: rcvd [LCP ProtRej id=0x3 80 21 01 01 00 10 03 06 c0 a8 00 01 02 06 00 2d 0f 01]
07:56 telehost pppd[1700]: sent [LCP EchoReq id=0x1 magic=0xda6e39c7]
07:56 telehost pppd[1700]: rcvd [LCP EchoRep id=0x1 magic=0x4dc65b]
...

  So, it seems for me that my win98 machine can't handle two ppp connection at
the same time.
  Finally I would like create a pptp tunnel over the Net from the win machine
to a Linux box on the Net. For this, I will have to establish two ppp conns, 
a dial-up connection to an ISP, and then a 'dial' to the pptp server.

  Have you any idea?

  Waiting for your help: RISKO Peter






More information about the pptp-server mailing list