From owner-freebsd-questions Fri Feb 9 15:31:32 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA25679 for questions-outgoing; Fri, 9 Feb 1996 15:31:32 -0800 (PST) Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA25665 for ; Fri, 9 Feb 1996 15:31:27 -0800 (PST) Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id IAA12567; Fri, 9 Feb 1996 08:47:30 -0700 Date: Fri, 9 Feb 1996 08:47:30 -0700 From: Nate Williams Message-Id: <199602091547.IAA12567@rocky.sri.MT.net> To: wes@intele.net Cc: Nate Williams , "Jay L. West" , questions@freebsd.org Subject: Re: Several misc. questions on user mode PPP In-Reply-To: <199602090735.XAA01642@obie.softweyr.com> References: <27134221@toto.iv> <199602090735.XAA01642@obie.softweyr.com> Sender: owner-questions@freebsd.org Precedence: bulk wes@intele.net writes: > Jay L. West queried: > > 2) The link to my provider is started on boot. I'm using 'ppp -auto > > providername' and then 'ping -c 1 ip.address' in /etc/netstart. The ping > > times out before the connection is made, but it forces the startup (timeout > > is 0 in ppp.config). This seems a bit kludgey; is there a more elegant or > > standard way of starting a "dedicated" dialup link at boot time? > > I think he was just looking for a somewhat more elegant way to > starting the interface, as opposed to editing /etc/netstart, which is > now supposed to be sacrosanct. Try the following: Hmm, that's not the impression I got. He was using -auto already, but needed to pint the remote host to get things started. > Now create a script called /etc/start_if.tun0 containing, i.e.: > > #! /bin/sh > # > # Script to start ppp daemon in autodialer mode. > # Wes Peters, 22 Jan 1996. > # > echo "Starting PPP link to InteleNET on tun0:" > /dev/console > ppp -auto intelenet Except that the link won't start w/out a packet going to the remote site. Nate