Subject: Re: Problems with pppd and route
To: Gilbert Fernandes <gilbertf@netbsd-fr.org>
From: Mike M. Volokhov <mishka@apk.od.ua>
List: tech-net
Date: 05/27/2004 13:07:10
On Thu, 27 May 2004 09:36:58 +0000
Gilbert Fernandes <gilbertf@netbsd-fr.org> wrote:
> On Thu, May 27, 2004 at 09:22:45AM +0300, Mike M. Volokhov wrote:
>
> > How you check this?
>
> on my own gate, there are two syslog events each time
> ifwatchd runs :
>
> May 26 19:29:43 gilbou /usr/sbin/ifwatchd[213]: calling: /etc/ppp/ip-down pppoe0
> /dev/null 9600 193.251.62.218 193.253.160.3
>
> May 26 19:29:48 gilbou /usr/sbin/ifwatchd[213]: calling: /etc/ppp/ip-up pppoe0 /
> dev/null 9600 193.252.56.250 193.253.160.3
>
> perhaps our friend can confirm :)
>
IMHO, for Ian's problem there is no need for ifwatchd. Both
/etc/ppp/ip-{up,down} script should be called by pppd(8) itself.
I'm personally test this scripts using the logger(1) command inside
them:
/usr/bin/logger "IP-{UP,DOWN}: $1 $2 $3 $4 $5 $6"
--
Mishka.