From owner-freebsd-net Sat Feb 24 13:18:33 2001 Delivered-To: freebsd-net@freebsd.org Received: from altrade.nijmegen.inter.nl.net (altrade.nijmegen.inter.nl.net [193.67.237.6]) by hub.freebsd.org (Postfix) with ESMTP id 80B9B37B4EC for ; Sat, 24 Feb 2001 13:18:27 -0800 (PST) (envelope-from Peter.Blok@inter.NL.net) Received: from ntpc by altrade.nijmegen.inter.nl.net via 1Cust116.tnt32.rtm1.nl.uu.net [213.116.158.116] with SMTP id WAA16361 (8.8.8/1.3); Sat, 24 Feb 2001 22:18:23 +0100 (MET) Reply-To: From: "Peter Blok" To: "'Stefan Arentz'" , Subject: RE: netgraph pptp and alcatel adsl modems Date: Sat, 24 Feb 2001 22:16:34 +0100 Message-ID: <000401c09ea7$11ad7000$8a02a8c0@ntpc> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0005_01C09EAF.73744900" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20010224172232.A17840@keyser.soze.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C09EAF.73744900 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Stefan, You have to patch mpd-netgraph to make it work. I have recently found out how to use mpd-netgraph in such an environment. Attached my patch and config files. I don't have a written procedure yet. If you have questions, don't hesitate to e-mail me. Peter -----Original Message----- From: owner-freebsd-net@FreeBSD.ORG [mailto:owner-freebsd-net@FreeBSD.ORG]On Behalf Of Stefan Arentz Sent: Saturday, February 24, 2001 17:23 To: freebsd-net@FreeBSD.ORG Subject: netgraph pptp and alcatel adsl modems I'm trying to connect a FreeBSD 4.1.1 box with mpd-netgraph 3.2 to an Alcatel Speed Touch Pro (Home) modem. On Windows 2000 this is the setup: Ethernet: Address: 10.0.0.150/255.0.0.0 VPN: Server: 10.0.0.138 pc1 PPTP Only PAP No Encryption That's all I have to configure. My problem is that I don't know how to map this to the mpd configuration. To start I added an extra network card to the freebsd machine and gave it the following config: ed2: flags=8843 mtu 1500 inet 10.0.0.150 netmask 0xff000000 broadcast 10.255.255.255 ether 00:00:b4:b7:a2:ff The network is working, I can ping the Alcatel router, which is on 10.0.0.138. Then I created a mpd.links: adslclient: set link type pptp set pptp peer 10.0.0.138 set pptp enable originate outcall And an mpd.conf: adslclient: new -i ng0 adslclient adslclient set iface disable on-demand set iface idle 0 set bundle disable multilink set bundle authname "USERNAME" set bundle password "PASSWORD" set link max-redial 1 set link yes pap set link no chap set ccp no mppc set link disable no-orig-auth set ipcp ranges 0.0.0.0/0 0.0.0.0/0 However, I have no idea how to map the 'pc1' to the mpd.conf file. In the Win2000 client this is added after the PPTP server address. This is not a port number, what is it called in the PPTP protocol? I configured a 'phonebook' with four entries, pc1/pc4 in the Alcatel router, these allow four pptp sessions to be created to the modem. Oh, the connection ends with these errors: ... [adslclient] LCP: state change Ack-Rcvd --> Opened [adslclient] LCP: phase shift ESTABLISH --> AUTHENTICATE [adslclient] LCP: auth: peer wants PAP, I want PAP [adslclient] PAP: using authname "F100035382" [adslclient] PAP: sending REQUEST [adslclient] LCP: LayerUp [adslclient] PAP: rec'd ACK #1 [adslclient] LCP: authorization timer expired [adslclient] LCP: authorization failed [adslclient] device: CLOSE event in state UP It' must be something with the 'pc1' thing, but I have no idea what it is. Reading the RFC now, but I hope someone on the list knows more about this. Thanks! Stefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message ------=_NextPart_000_0005_01C09EAF.73744900 Content-Type: application/x-gzip; name="mxstream.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="mxstream.tar.gz" H4sICB0ilDoAA214c3RyZWFtLnRhcgDtwQENAAAAwqD3T20ON6AAAAAAAAAAAACANwOa3h0nACgA AA== ------=_NextPart_000_0005_01C09EAF.73744900-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message