[pptp-server] Mandrake 8.1/PopTop 1.0.1 does not assign IP - pptpctrl segfaults?

robert berzerke at swbell.net
Tue Jan 1 13:40:26 CST 2002


Not much info to go on, but from the howto:

6.4 Forwarding

You're going to have lots of trouble unless you enable ip forwarding. The 
command [echo "1" >/proc/sys/net/ipv4/ip_forward] will do it, but will not 
survive a reboot, so be sure and place the command somewhere in your startup 
scripts. Also, if you have a firewall, be sure it allows the forwarded 
packets through.

On Tuesday 01 January 2002 12:41 pm, Nicolas Mazurier wrote:
> Hi Robert,
>
> Well i've upgraded... And it works ;; thanks for the advice, i thought v
> 1.0.1 would be efficient enough! Well i can connect to the pptpd server,
> can ping it, get an adress, but can't ping the machines "behing" the ppp
> server (on the same lan, 192.168.0.0)... What did i do wrong?
>
> Thanks again
> Nicolas
>
>
> -----Message d'origine-----
> De : robert [mailto:berzerke at swbell.net]
> Envoyé : mardi 1 janvier 2002 19:10
> À : Nicolas Mazurier; pptp-server at lists.schulte.org
> Objet : Re: [pptp-server] Mandrake 8.1/PopTop 1.0.1 does not assign IP -
> pptpctrl segfaults?
>
>
> Poptop 1.0.1 is really out of date (as is the web site).  You should
> switch
> to the "development" version.  In any case, a howto is at
> http://home.swbell.net/berzerke that will help you with your problems.
>
> On Tuesday 01 January 2002 11:42 am, Nicolas Mazurier wrote:
> > Hi all,
> >
> > Fist of all excuse my english...
> >
> > Well i'm trying to setup a Linux Mandrake 8.1 box with PopTop 1.0.1
> > for W2k or WinXP clients. It runs quite well... until the IP address
> > request: Got an error on the client "the server did not affect an ip
> > address". I do not have any DHCP server running.
> >
> > I've notice that when i run pptpctrl from a shell, with or without
> > parameters, it coredumps.
> >
> > Any help would be really appreciated! Following are the conf files and
> >
> > log.
> >
> > N.Mazurier
> > Lille
> > France
> >
> >
> > Here is the config:
> > The server has 1 ethernet card, 192.168.0.3. (Connected via a Linux
> > firewall, but even on the lan does not work)
> >
> > -> Chap
> > ldesc * SECRET *
> >
> > -> /etc/pptp.conf
> > debug
> > Localip 192.168.0.100
> > remoteip 192.168.0.101
> > option /etc/ppp/options.pptp
> >
> > ->/etc/ppp/options.pptp
> > auth
> > +chap
> > lock
> > debug
> > proxyarp
> > name 192.168.0.2
> >
> > -> Syslog
> >
> > Jan  1 18:16:07 nfw pptpd[3790]: MGR: Manager process started Jan  1
> > 18:16:22 nfw pptpd[3792]: MGR: Launching /usr/sbin/pptpctrl to handle
> > cli ent
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: pppd options file =
> > /etc/ppp/options.pptp
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: Client 172.143.23.78 control
> > connection s
> > tarted
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: Received PPTP Control Message
> > (type: 1)
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: Made a START CTRL CONN RPLY
> > packet
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: I wrote 156 bytes to the
>
> client.
>
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: Sent packet to client
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: Received PPTP Control Message
> > (type: 7)
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: Set parameters to 1525 maxbps,
>
> 64
>
> > window
> > size
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: Made a OUT CALL RPLY packet
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: Starting call (launching pppd,
> > opening GR
> > E)
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: pty_fd = 5
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: tty_fd = 6
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: I wrote 32 bytes to the client.
> > Jan  1 18:16:22 nfw pptpd[3792]: CTRL: Sent packet to client
> > Jan  1 18:16:22 nfw pptpd[3793]: CTRL (PPPD Launcher): Connection
>
> speed
>
> > = 115200
> > Jan  1 18:16:23 nfw pppd[3793]: pppd 2.4.1 started by root, uid 0
> > Jan  1 18:16:23 nfw pppd[3793]: using channel 42
> > Jan  1 18:16:23 nfw pppd[3793]: Using interface ppp0
> > Jan  1 18:16:23 nfw pppd[3793]: Connect: ppp0 <--> /dev/pts/1
> > Jan  1 18:16:23 nfw pppd[3793]: sent [LCP ConfReq id=0x1 <asyncmap
>
> 0x0>
>
> > <auth ch
> > ap MD5> <magic 0x61ca7314> <pcomp> <accomp>]
> > Jan  1 18:16:23 nfw pptpd[3792]: CTRL: Received PPTP Control Message
> > (type: 15)
> > Jan  1 18:16:23 nfw pptpd[3792]: CTRL: Got a SET LINK INFO packet with
> > standard
> > ACCMs
> > Jan  1 18:16:23 nfw pptpd[3792]: GRE: Discarding duplicate packet
> > Jan  1 18:16:23 nfw pppd[3793]: rcvd [LCP ConfAck id=0x1 <asyncmap
>
> 0x0>
>
> > <auth ch
> > ap MD5> <magic 0x61ca7314> <pcomp> <accomp>]
> > Jan  1 18:16:25 nfw pppd[3793]: rcvd [LCP ConfReq id=0x1 <mru 1400>
> > <magic 0x155
> > 94551> <pcomp> <accomp>]
> > Jan  1 18:16:25 nfw pppd[3793]: sent [LCP ConfAck id=0x1 <mru 1400>
> > <magic 0x155
> > 94551> <pcomp> <accomp>]
> > Jan  1 18:16:25 nfw pppd[3793]: sent [CHAP Challenge id=0x1
> > <509992dcc0c25223d32
> > 41dd4381e0951ead336fb9cd5>, name = "192.168.0.2"]
> > Jan  1 18:16:25 nfw pptpd[3792]: CTRL: Received PPTP Control Message
> > (type: 15)
> > Jan  1 18:16:25 nfw pptpd[3792]: CTRL: Ignored a SET LINK INFO packet
> > with real ACCMs!
> > Jan  1 18:16:26 nfw pppd[3793]: rcvd [CHAP Response id=0x1
> > <085def94495e051cf1c2
> > 958cfcb5bcdb>, name = "ldesc"]
> > Jan  1 18:16:26 nfw pppd[3793]: Warning - secret file
> > /etc/ppp/chap-secrets has world and/or group access
> > Jan  1 18:16:26 nfw pppd[3793]: sent [CHAP Success id=0x1 "Welcome to
> > nfw.rezo."
> > ]
> > Jan  1 18:16:26 nfw pppd[3793]: sent [IPCP ConfReq id=0x1 <addr
> > 192.168.0.3> <co
> > mpress VJ 0f 01>]
> > Jan  1 18:16:26 nfw pppd[3793]: sent [CCP ConfReq id=0x1 <deflate 15>
> > <deflate(o
> > ld#) 15> <bsd v1 15>]
> > Jan  1 18:16:26 nfw pppd[3793]: CHAP peer authentication succeeded for
> > ldesc
> > Jan  1 18:16:26 nfw pppd[3793]: rcvd [IPCP ConfReq id=0x2 <addr
>
> 0.0.0.0>
>
> > <ms-dns
> > 1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
> > Jan  1 18:16:26 nfw pppd[3793]: sent [IPCP ConfRej id=0x2 <addr
>
> 0.0.0.0>
>
> > <ms-dns
> > 1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
> > Jan  1 18:16:26 nfw pppd[3793]: rcvd [IPCP ConfRej id=0x1 <compress VJ
> > 0f 01>]
> > Jan  1 18:16:26 nfw pppd[3793]: sent [IPCP ConfReq id=0x2 <addr
> > 192.168.0.3>]
> > Jan  1 18:16:26 nfw pppd[3793]: rcvd [LCP ProtRej id=0x3 80 fd 01 01
>
> 00
>
> > 0f 1a 04
> >  78 00 18 04 78 00 15 03 2f]
> > Jan  1 18:16:27 nfw pppd[3793]: rcvd [IPCP ConfReq id=0x4 <addr
> > 0.0.0.0>]
> > Jan  1 18:16:27 nfw pppd[3793]: sent [IPCP ConfRej id=0x4 <addr
> > 0.0.0.0>]
> > Jan  1 18:16:27 nfw pppd[3793]: rcvd [IPCP ConfAck id=0x2 <addr
> > 192.168.0.3>]
> > Jan  1 18:16:28 nfw pppd[3793]: rcvd [IPCP TermReq id=0x5 15 59 45 51
>
> 00
>
> > 3c cd 7
> > 4 00 00 02 e2]
> > Jan  1 18:16:28 nfw pppd[3793]: sent [IPCP TermAck id=0x5]
> > Jan  1 18:16:28 nfw pptpd[3792]: CTRL: Received PPTP Control Message
> > (type: 15)
> > Jan  1 18:16:28 nfw pptpd[3792]: CTRL: Got a SET LINK INFO packet with
> > standard
> > ACCMs
> > Jan  1 18:16:28 nfw pppd[3793]: rcvd [LCP TermReq id=0x6 15 59 45 51
>
> 00
>
> > 3c cd 74
> >  00 00 00 00]
> > Jan  1 18:16:28 nfw pppd[3793]: LCP terminated by peer (
> > <mailto:^UYEQ^@> ^UYEQ^@<M-Mt^@^@^@^@)
> > Jan  1 18:16:28 nfw pppd[3793]: sent [LCP TermAck id=0x6]
> > Jan  1 18:16:29 nfw pptpd[3792]: CTRL: Received PPTP Control Message
> > (type: 12)
> > Jan  1 18:16:29 nfw pptpd[3792]: CTRL: Made a CALL DISCONNECT RPLY
> > packet
> > Jan  1 18:16:29 nfw pptpd[3792]: CTRL: Received CALL CLR request
> > (closing call)
> > Jan  1 18:16:29 nfw pptpd[3792]: CTRL: I wrote 148 bytes to the
>
> client.
>
> > Jan  1 18:16:29 nfw pptpd[3792]: CTRL: Sent packet to client
> > Jan  1 18:16:29 nfw pptpd[3792]: CTRL: Error with select(), quitting
> > Jan  1 18:16:29 nfw pptpd[3792]: CTRL: Client 172.143.23.78 control
> > connection f
> > inished
> > Jan  1 18:16:29 nfw pptpd[3792]: CTRL: Exiting now
> > Jan  1 18:16:29 nfw pptpd[3790]: MGR: Reaped child 3792
> > Jan  1 18:16:29 nfw pppd[3793]: Modem hangup
> > Jan  1 18:16:29 nfw pppd[3793]: Connection terminated.
> > Jan  1 18:16:29 nfw pppd[3793]: Connect time 0.1 minutes.
> > Jan  1 18:16:29 nfw pppd[3793]: Sent 89 bytes, received 80 bytes.
> > Jan  1 18:16:29 nfw pppd[3793]: Exit.



More information about the pptp-server mailing list