From owner-freebsd-questions Fri Jun 7 4:17:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lexx.zssm.zp.ua (lexx.zssm.zp.ua [212.8.32.8]) by hub.freebsd.org (Postfix) with ESMTP id 6049D37B401 for ; Fri, 7 Jun 2002 04:17:44 -0700 (PDT) Received: from server.hermes-comp.zp.ua (germes-comp.zssm.zp.ua [212.8.32.132] (may be forged)) by lexx.zssm.zp.ua (8.9.2/8.9.2) with ESMTP id OAA25843; Fri, 7 Jun 2002 14:02:34 +0300 (EET DST) Received: from localhost (localhost [127.0.0.1]) by server.hermes-comp.zp.ua (Postfix) with ESMTP id 22E5238308; Fri, 7 Jun 2002 13:58:58 +0300 (EEST) Date: Fri, 7 Jun 2002 13:58:58 +0300 (EEST) From: Alexander V Zubchenko To: David LeCount Cc: Subject: Re: ppp.linkup and linkdown In-Reply-To: <3D008D4F.2070207@linuxorbit.com> Message-ID: <20020607135258.S62165-100000@server.hermes-comp.zp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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