Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2001 17:22:32 +0100
From:      Stefan Arentz <stefan.arentz@soze.com>
To:        freebsd-net@FreeBSD.ORG
Subject:   netgraph pptp and alcatel adsl modems
Message-ID:  <20010224172232.A17840@keyser.soze.com>

next in thread | raw e-mail | index | archive | help
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




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