From owner-freebsd-questions Sat Feb 24 15:35:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-57.dsl.lsan03.pacbell.net [63.207.60.57]) by hub.freebsd.org (Postfix) with ESMTP id AA18337B491 for ; Sat, 24 Feb 2001 15:35:15 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DD81E66D2E; Sat, 24 Feb 2001 15:35:14 -0800 (PST) Date: Sat, 24 Feb 2001 15:35:14 -0800 From: Kris Kennaway To: Lubomir Radev Cc: freebsd-questions@freebsd.org Subject: Re: executing script on interface up Message-ID: <20010224153514.B55683@mollari.cthul.hu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from demond@server2.digital-web.net on Sat, Feb 24, 2001 at 05:54:24PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 24, 2001 at 05:54:24PM -0500, Lubomir Radev wrote: > I need a script to be executed when an interface goes up > (it is meant to update my dynamic DNS info); I tried creating > simple /etc/ppp/ip-up but that didn't do the job.. >=20 > Any ideas how to implement this functionality?=20 If you want to run your script when ppp(8) establishes a connection, use /etc/ppp/ppp.linkup (see the manpage and example files) Kris --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6mEUyWry0BWjoQKURArCrAKCnMYE4Ef2ywFiGo6+YogwQZ3dImQCcCgpj PPkouIxjaNgPfRyFUrUF4DY= =T+xK -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message