Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2002 16:13:46 -0400 (EDT)
From:      Dan Langille <dan@langille.org>
To:        Archie Cobbs <archie@dellroad.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: mpd for pptp - can't connect
Message-ID:  <20020613160129.P17320-100000@m20.unixathome.org>
In-Reply-To: <200206131956.g5DJud819813@arch20m.dellroad.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Jun 2002, Archie Cobbs wrote:

> Dan Langille writes:
> > [vpn] rec'd unexpected protocol CCP on link 0, rejecting
>
> The peer wants to do MPPE encryption but you haven't enabled it.
>
> > [vpn] IPCP: rec'd Configure Nak #1 link 0 (Ack-Sent)
> >  IPADDR 10.0.1.26
> >    10.0.1.26 is unacceptable
>
> You need to relax your 'set ipcp ranges' as the peer wants to
> assign you an IP address and you're not letting it.

I did have: set ipcp ranges 192.168.0.21/32 10.0.1.18/32

I just tried: set ipcp ranges 10.0.1.0/24 10.0.1.0/24

[vpn] CHAP: sending RESPONSE
[vpn] CHAP: rec'd SUCCESS #0
 MESG: S=A900924089CB64D1C2696C418A9D5392FE7F289F
[vpn] LCP: authorization successful
[vpn] LCP: phase shift AUTHENTICATE --> NETWORK
[vpn] up: 1 link, total bandwidth 64000 bps
[vpn] IPCP: Up event
[vpn] IPCP: state change Starting --> Req-Sent
[vpn] IPCP: SendConfigReq #1
 IPADDR 10.0.1.0
[vpn] rec'd unexpected protocol CCP on link 0, rejecting
[vpn] IPCP: rec'd Configure Request #4 link 0 (Req-Sent)
 IPADDR 10.0.1.18
   10.0.1.18 is OK
[vpn] IPCP: SendConfigAck #4
 IPADDR 10.0.1.18
[vpn] IPCP: state change Req-Sent --> Ack-Sent
[vpn] IPCP: rec'd Configure Nak #1 link 0 (Ack-Sent)
 IPADDR 10.0.1.26
   10.0.1.26 is OK
[vpn] IPCP: SendConfigReq #2
 IPADDR 10.0.1.26
[vpn] LCP: rec'd Terminate Request #5 link 0 (Opened)
[vpn] LCP: state change Opened --> Stopping
[vpn] LCP: phase shift NETWORK --> TERMINATE
[vpn] up: 0 links, total bandwidth 9600 bps
[vpn] IPCP: Down event
[vpn] IPCP: state change Ack-Sent --> Starting
[vpn] LCP: SendTerminateAck #2
[vpn] LCP: LayerDown
pptp0: CID 0x4ac3 in SetLinkInfo not found
[vpn] LCP: rec'd Terminate Request #6 link 0 (Stopping)
[vpn] LCP: SendTerminateAck #3
[vpn] LCP: state change Stopping --> Stopped
[vpn] LCP: phase shift TERMINATE --> ESTABLISH
[vpn] LCP: LayerFinish
[vpn] device: CLOSE event in state UP
pptp0-0: clearing call
[vpn] device is now in state CLOSING
[vpn] device: DOWN event in state CLOSING
[vpn] device is now in state DOWN
[vpn] link: DOWN event
[vpn] LCP: Down event
[vpn] LCP: state change Stopped --> Starting
[vpn] LCP: phase shift ESTABLISH --> DEAD
[vpn] LCP: LayerStart
[vpn] device: OPEN event in state DOWN
[vpn] pausing 9 seconds before open
[vpn] device is now in state DOWN
[vpn] device: OPEN event in state DOWN
[vpn] device is now in state DOWN
pptp0-0: peer call disconnected res=zero? err=none
pptp0-0: killing channel
pptp0: closing connection with 1.2.3.4:1723

> It looks like you cut & pasted from the 'vpn' configuration
> instead of the 'pptp client' configuration.. ?

Yes.  I am already running ppp for my DSL connection.  mpd is just for a
VPN to the office.





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020613160129.P17320-100000>