From owner-freebsd-questions Mon Apr 9 0:12:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.riic.uni-linz.ac.at (mail.riic.uni-linz.ac.at [140.78.161.130]) by hub.freebsd.org (Postfix) with ESMTP id 715D937B42C for ; Mon, 9 Apr 2001 00:12:50 -0700 (PDT) (envelope-from hueber@riic.at) Received: from riic.uni-linz.ac.at (hawkings.riic.uni-linz.ac.at [140.78.161.239]) by mail.riic.uni-linz.ac.at (8.9.3/8.9.3) with ESMTP id JAA05803 for ; Mon, 9 Apr 2001 09:08:23 +0200 Message-ID: <3AD15FDF.E250CA29@riic.uni-linz.ac.at> Date: Mon, 09 Apr 2001 09:08:15 +0200 From: Gernot Hueber X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: mpd, pptp & alcatel adsl Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Peter, I have FBSD 4.2 and want to connect to the ISP via ADSL (requiring pptp). I have installed pptpclient which works. But I don't like it, because I don't really know what happens when the ISP disconnects. I want to use mpd because this one has a on-demand option. But mpd did not connect at all yet. What's going wrong? Here are my configs and a log TIA Gernot mpd.conf: (I started with the default file, there is a lot of additional stuff there) (I tried comment out of set link enable no-orig-auth, too. And some playing with the pap/chap.) default: load vpn vpn: new -i ng1 vpn vpn log +auth +ccp3 +chat +fsm +iface +pptp3 +ipcp +lcp +link +phys set iface disable on-demand #set iface addrs 10.0.0.140 140.0.0.138 set iface idle 0 set iface route default set bundle disable multilink set bundle authname "yyyyy" set bundle password "xxxx" set link yes acfcomp protocomp set link yes pap set link disable pap #set link no pap #set link yes chap # If remote machine is NT you need this.. set link enable no-orig-auth set link keep-alive 10 75 #set ipcp yes vjcomp #set ipcp ranges 192.168.1.1/32 192.168.2.1/32 # If you wanted MPPE encryption and had ng_mppc(8)... # set bundle enable compression # set ccp yes mppc # set ccp yes mpp-e40 # set ccp yes mpp-e128 # set bundle enable crypt-reqd # set ccp yes mpp-stateless open mpd.links: (tried enable of pptp self, too) vpn: set link type pptp # set pptp self 10.0.0.140 set pptp peer 10.0.0.138 set pptp enable originate outcall mpd log output: Multi-link PPP for FreeBSD, by Archie L. Cobbs. Based on iij-ppp, by Toshiharu OHNO. mpd: pid 2248, version 3.2 (root@mailhost.sk-team.at 18:03 7-Apr-2001) [vpn] ppp node is "mpd2248-vpn" [vpn] using interface ng1 [vpn] IFACE: Open event [vpn] IPCP: Open event [vpn] IPCP: state change Initial --> Starting [vpn] IPCP: LayerStart [vpn:vpn] [vpn] bundle: OPEN event in state CLOSED [vpn] opening link "vpn"... [vpn] link: OPEN event [vpn] LCP: Open event [vpn] LCP: state change Initial --> Starting [vpn] LCP: LayerStart [vpn] device: OPEN event in state DOWN pptp0: connecting to 10.0.0.138:1723 [vpn] device is now in state OPENING pptp0: connected to 10.0.0.138:1723 pptp0: attached to connection with 10.0.0.138:1723 pptp0: wrote ctrl data: 00 9c 00 01 1a 2b 3c 4d 00 01 00 00 01 00 00 00 .....+ Initial [vpn] IPCP: LayerFinish mpd: process 2248 terminated -- Dipl.-Ing. Gernot Hueber Institut für Integrierte Schaltungen Freistädter Strasse 315/2 A-4040 Linz Tel: +43 732 2468-7122, Fax: -7126 E-mail: hueber@riic.at To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message