Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 1996 08:47:30 -0700
From:      Nate Williams <nate@sri.MT.net>
To:        wes@intele.net
Cc:        Nate Williams <nate@sri.MT.net>, "Jay L. West" <jlwest@tseinc.com>, questions@freebsd.org
Subject:   Re: Several misc. questions on user mode PPP
Message-ID:  <199602091547.IAA12567@rocky.sri.MT.net>
In-Reply-To: <199602090735.XAA01642@obie.softweyr.com>
References:  <27134221@toto.iv> <199602090735.XAA01642@obie.softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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