From owner-freebsd-questions Tue Jul 18 15:09:05 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA18199 for questions-outgoing; Tue, 18 Jul 1995 15:09:05 -0700 Received: from aero.org (aero.org [130.221.16.2]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA18192 for ; Tue, 18 Jul 1995 15:09:01 -0700 Received: from antares.aero.org ([130.221.192.46]) by aero.org with SMTP id <111115-3>; Tue, 18 Jul 1995 15:08:26 -0700 Received: from anpiel.aero.org by antares.aero.org (4.1/AMS-1.0) id AA21529 for freebsd-questions@freebsd.org; Tue, 18 Jul 95 15:08:10 PDT To: freebsd-questions@FreeBSD.org Subject: Demand dial with IIJ PPP Date: Tue, 18 Jul 1995 15:08:03 -0700 From: "Mike O'Brien" Message-Id: <95Jul18.150826pdt.111115-3@aero.org> Sender: questions-owner@FreeBSD.org Precedence: bulk I just installed 2.0.5R, and am trying to get IIJ PPP up, to do demand dialing. I got it working once, after having exercised the daemon by hand. I suspect that this had the effect of installing a default route, so that when I then ran the daemon in -auto mode, it was triggered by the next attempt to connect to something (in fact it even tried to connect when I telnetted to 'localhost', which seems very strange). However, when I install 'ppp -auto pmdemand' in rc.local, and reboot the system, dial-on-demand doesn't work, doubtless due to the absence of a route. How should I install that route? Via a 'route add' command in rc.local, or via a command in ppp.config, or what? Or is it an ifconfig on the tunnel device, tun0? Examples, please. Mike O'Brien