From owner-freebsd-net Sat Feb 24 8:22:38 2001 Delivered-To: freebsd-net@freebsd.org Received: from keyser.soze.com (keyser.soze.com [194.165.93.196]) by hub.freebsd.org (Postfix) with ESMTP id 95EE337B401 for ; Sat, 24 Feb 2001 08:22:34 -0800 (PST) (envelope-from stefan@keyser.soze.com) Received: (from stefan@localhost) by keyser.soze.com (8.9.1/8.9.1) id RAA17998 for freebsd-net@FreeBSD.ORG; Sat, 24 Feb 2001 17:22:32 +0100 (CET) Date: Sat, 24 Feb 2001 17:22:32 +0100 From: Stefan Arentz To: freebsd-net@FreeBSD.ORG Subject: netgraph pptp and alcatel adsl modems Message-ID: <20010224172232.A17840@keyser.soze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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