Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 2002 07:27:57 -0500
From:      David LeCount <kenshi@linuxorbit.com>
To:        freebsd-questions <freebsd-questions@FreeBSD.org>
Subject:   Re: ppp.linkup and linkdown
Message-ID:  <3D00A6CD.6030001@linuxorbit.com>

next in thread | raw e-mail | index | archive | help
Whoo hoo! I got it fixed. What I did was make a seperate script named 
/etc/ppp/link.sh which takes start and stop parameters like a startup 
script. Then I put a line "!bg /etc/ppp/link.sh start" in ppp.linkup and 
the equivelant in ppp.linkdown. It works perfectly now.

The difference between ifconfig down and destroy is that down just marks 
a network interface as down or unusable, while destroy completely 
removes the interface so it doesn't even show up in ifconfig. Up and 
create are basically the same. Like I said before, gif0 doesn't exist 
when I boot so I have to create it. But I don't have to destroy it when 
I disconnect; I could down it. I may change that later but I don't care 
enough right now.


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?3D00A6CD.6030001>