Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 21:08:49 +0200 (CEST)
From:      Lukas Ertl <l.ertl@univie.ac.at>
To:        Dan Langille <dan@langille.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: how to automagically restart net/pptpclient?
Message-ID:  <20020528210531.X299-100000@leelou.in.tern>
In-Reply-To: <20020528183156.6C6113F35@bast.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 May 2002, Dan Langille wrote:

> That looks good.  I've tried it, but have been unable to connect to the
> office, which is running an MS PPtP server.  I know the *can* work becaus=
e
> pptp-client can connect.

I don't know if it helps you much, but I can bring up my ADSL connection
(using pptp) with a mpd.conf and mpd.links file like this:

mpd.conf:
---8<---
default:
      load adsl

adsl:
      new -i ng0 adsl adsl
      set iface disable on-demand
      set iface addrs 192.168.1.1 192.168.2.2
      set iface idle 0
      set iface route default
      set bundle disable multilink
      set bundle authname USERNAME
      set bundle password PASSWORD
      set link no acfcomp protocomp
      set link no pap
      set link disable chap
      set link accept chap
      set ipcp no vjcomp
      open
---8<---


mpd.links:
---8<---
adsl:
      set link type pptp
      set pptp self 10.0.0.140
      set pptp peer 10.0.0.138
      set pptp enable originate incoming outcall
---8<---

HTH,
regards,
le

--=20
Lukas Ertl                             eMail: l.ertl@univie.ac.at
UNIX-Systemadministrator               Tel.:  (+43 1) 4277-14073
Zentraler Informatikdienst (ZID)       Fax.:  (+43 1) 4277-9140
der Universit=E4t Wien                   http://mailbox.univie.ac.at/~le/


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




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