From owner-freebsd-hackers Tue May 28 12:11:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by hub.freebsd.org (Postfix) with ESMTP id 729D837B43E for ; Tue, 28 May 2002 12:08:58 -0700 (PDT) Received: from adslle.cc.univie.ac.at (adslle.cc.univie.ac.at [131.130.102.11]) by mailbox.univie.ac.at (8.12.2/8.12.2) with ESMTP id g4SJ8nEP1012050; Tue, 28 May 2002 21:08:52 +0200 Date: Tue, 28 May 2002 21:08:49 +0200 (CEST) From: Lukas Ertl X-X-Sender: le@leelou.in.tern To: Dan Langille Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: how to automagically restart net/pptpclient? In-Reply-To: <20020528183156.6C6113F35@bast.unixathome.org> Message-ID: <20020528210531.X299-100000@leelou.in.tern> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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