Date: Sat, 24 Feb 2001 22:16:34 +0100 From: "Peter Blok" <Peter.Blok@inter.NL.net> To: "'Stefan Arentz'" <stefan.arentz@soze.com>, <freebsd-net@FreeBSD.ORG> Subject: RE: netgraph pptp and alcatel adsl modems Message-ID: <000401c09ea7$11ad7000$8a02a8c0@ntpc> In-Reply-To: <20010224172232.A17840@keyser.soze.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000401c09ea7$11ad7000$8a02a8c0>
