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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message