Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Apr 2001 09:08:15 +0200
From:      Gernot Hueber <hueber@riic.at>
To:        freebsd-questions@freebsd.org
Subject:   mpd, pptp & alcatel adsl
Message-ID:  <3AD15FDF.E250CA29@riic.uni-linz.ac.at>

next in thread | raw e-mail | index | archive | help
Hi Peter,

I have FBSD 4.2 and want to connect to the ISP via ADSL (requiring
pptp).

I have installed pptpclient which works. But I don't like it, because I
don't really
know what happens when the ISP disconnects. I want to use mpd because
this one
has a on-demand option.
But mpd did not connect at all yet. What's going wrong?

Here are my configs and a log

TIA

Gernot

mpd.conf:
(I started with the default file, there is a lot of additional stuff
there)
(I tried comment out of set link enable no-orig-auth, too. And some
 playing with the pap/chap.)

default:
 load vpn

vpn:
 new -i ng1 vpn vpn
 log +auth +ccp3 +chat +fsm +iface +pptp3 +ipcp +lcp +link +phys
 set iface disable on-demand
 #set iface addrs 10.0.0.140 140.0.0.138
 set iface idle 0
 set iface route default
 set bundle disable multilink
 set bundle authname "yyyyy"
 set bundle password "xxxx"
 set link yes acfcomp protocomp
 set link yes pap
 set link disable pap
 #set link no pap
 #set link yes chap
# If remote machine is NT you need this..
 set link enable no-orig-auth
 set link keep-alive 10 75
 #set ipcp yes vjcomp
 #set ipcp ranges 192.168.1.1/32 192.168.2.1/32
# If you wanted MPPE encryption and had ng_mppc(8)...
# set bundle enable compression
# set ccp yes mppc
# set ccp yes mpp-e40
# set ccp yes mpp-e128
# set bundle enable crypt-reqd
# set ccp yes mpp-stateless
 open

mpd.links:
(tried enable of pptp self, too)

vpn:
        set link type pptp
#        set pptp self 10.0.0.140
        set pptp peer 10.0.0.138
        set pptp enable originate outcall


mpd log output:

Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 2248, version 3.2 (root@mailhost.sk-team.at 18:03  7-Apr-2001)
[vpn] ppp node is "mpd2248-vpn"
[vpn] using interface ng1
[vpn] IFACE: Open event
[vpn] IPCP: Open event
[vpn] IPCP: state change Initial --> Starting
[vpn] IPCP: LayerStart
[vpn:vpn] [vpn] bundle: OPEN event in state CLOSED
[vpn] opening link "vpn"...
[vpn] link: OPEN event
[vpn] LCP: Open event
[vpn] LCP: state change Initial --> Starting
[vpn] LCP: LayerStart
[vpn] device: OPEN event in state DOWN
pptp0: connecting to 10.0.0.138:1723
[vpn] device is now in state OPENING
pptp0: connected to 10.0.0.138:1723
pptp0: attached to connection with 10.0.0.138:1723
pptp0: wrote ctrl data:
 00 9c 00 01 1a 2b 3c 4d 00 01 00 00 01 00 00 00  .....+<M........
 00 00 00 02 00 00 00 03 00 0a 01 00 6d 61 69 6c  ............mail
 68 6f 73 74 2e 73 6b 2d 74 65 61 6d 2e 61 74 00  host.sk-team.at.
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 46 72 65 65  ............Free
 42 53 44 20 6d 70 64 2d 33 2e 32 00 00 00 00 00  BSD.mpd-3.2.....
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00              ............
pptp0: read ctrl data:
 00 9c 00 01 1a 2b 3c 4d 00 02 00 00              .....+<M....
pptp0: got hdr
  len=0x9c msgType=1 magic=0x1a2b3c4d type=2
pptp0: read ctrl data:
 01 00 00 00 00 00 00 03 00 00 00 03 00 20 00 01  ................
 41 44 4e 54 00 00 00 00 00 00 00 00 00 00 00 00  ADNT............
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 41 4c 43 41 54 45 4c 00 00 00 00 00 00 00 00 00  ALCATEL.........
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
pptp0: my StartCtrlConnRequest failed, result=zero? err=none
pptp0: killing connection with 10.0.0.138:1723
pptp0-0: killing channel
[vpn] PPTP call failed
[vpn] device: DOWN event in state OPENING
[vpn] device is now in state DOWN
[vpn] link: DOWN event
[vpn] LCP: Down event
[vpn] device: OPEN event in state DOWN
[vpn] pausing 7 seconds before open
[vpn] device is now in state DOWN
[vpn] device: OPEN event in state DOWN
[vpn] pausing 1 seconds before open
[vpn] device is now in state DOWN
[vpn] device: OPEN event in state DOWN
pptp0: connecting to 10.0.0.138:1723
[vpn] device is now in state OPENING
pptp0: connected to 10.0.0.138:1723
pptp0: attached to connection with 10.0.0.138:1723
pptp0: wrote ctrl data:
 00 9c 00 01 1a 2b 3c 4d 00 01 00 00 01 00 00 00  .....+<M........
 00 00 00 02 00 00 00 03 00 0a 01 00 6d 61 69 6c  ............mail
 68 6f 73 74 2e 73 6b 2d 74 65 61 6d 2e 61 74 00  host.sk-team.at.
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 46 72 65 65  ............Free
 42 53 44 20 6d 70 64 2d 33 2e 32 00 00 00 00 00  BSD.mpd-3.2.....
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00              ............
pptp0: read ctrl data:
 00 9c 00 01 1a 2b 3c 4d 00 02 00 00              .....+<M....
pptp0: got hdr
  len=0x9c msgType=1 magic=0x1a2b3c4d type=2
pptp0: read ctrl data:
 01 00 00 00 00 00 00 03 00 00 00 03 00 20 00 01  ................
 41 44 4e 54 00 00 00 00 00 00 00 00 00 00 00 00  ADNT............
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 41 4c 43 41 54 45 4c 00 00 00 00 00 00 00 00 00  ALCATEL.........
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
pptp0: my StartCtrlConnRequest failed, result=zero? err=none
pptp0: killing connection with 10.0.0.138:1723
pptp0-0: killing channel
[vpn] PPTP call failed
[vpn] device: DOWN event in state OPENING
[vpn] device is now in state DOWN
[vpn] link: DOWN event
[vpn] LCP: Down event
[vpn] device: OPEN event in state DOWN
[vpn] pausing 7 seconds before open
[vpn] device is now in state DOWN
mpd: caught fatal signal int
mpd: fatal error, exiting
[vpn] IPCP: Down event
[vpn] IFACE: Close event
[vpn] IPCP: Close event
[vpn] IPCP: state change Starting --> Initial
[vpn] IPCP: LayerFinish
mpd: process 2248 terminated

--
Dipl.-Ing. Gernot Hueber
Institut für Integrierte Schaltungen
Freistädter Strasse 315/2
A-4040 Linz

Tel: +43 732 2468-7122, Fax: -7126
E-mail: hueber@riic.at

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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