Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2002 13:58:58 +0300 (EEST)
From:      Alexander V Zubchenko <stalker@hermes-comp.zp.ua>
To:        David LeCount <kenshi@linuxorbit.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: ppp.linkup and linkdown
Message-ID:  <20020607135258.S62165-100000@server.hermes-comp.zp.ua>
In-Reply-To: <3D008D4F.2070207@linuxorbit.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greetings!

On Fri, 7 Jun 2002, David LeCount wrote:

>  >Shouldn't b this 'ifconfig gif0 up'?
>  >and this 'ifconfig gif0 down'?
>
> gif0 is the tunnel for IPv6 packets. It's not created by the system at
> bootup and must be created before running tspc. tspc will bring the
> interface up though. And I don't want programs trying to route to IPv6
> destinations when the connection is down, so I destroy it. I could have
Mayb i don't understand something, but my ifconfig simply don't understand
keyword 'destroy' (and 'create') and when i issue cmd 'ifconfig rl0 down'
it also delete route (and create it after 'ifconfig rl0 up').

> chosen to create gif0 in a boot script and simply downed it in
> ppp.linkdown, but I've already chosen this method and it works basically
> the same. Nevertheless, either way it doesn't solve why nothing in
> either file is being executed.
I think they r. But AFAIU, content of ppp.link(up|down) is special ppp
commands, not shell. And to execute latter, try shell (ppp paused up to
end of execution), or bg (run command in background). C ppp(8) for
details.

>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>

Alexander


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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