From owner-freebsd-questions Sun Jul 14 5: 9:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FCE837B40A for ; Sun, 14 Jul 2002 05:09:48 -0700 (PDT) Received: from tninet.se (sheridan.tninet.se [195.100.94.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5928C43E58 for ; Sun, 14 Jul 2002 05:09:46 -0700 (PDT) (envelope-from tdv94ped@cs.umu.se) Received: from cs.umu.se (h30n1c1o1023.bredband.skanova.com [213.64.164.30]) by sheridan.tninet.se (BMR ErlangTM/OTP 3.0) with ESMTP id 70207.648581.1026.0s10888756sheridan ; Sun, 14 Jul 2002 14:09:41 +0200 Message-ID: <3D3169F8.B9877ECE@cs.umu.se> Date: Sun, 14 Jul 2002 14:09:28 +0200 From: Paul Everlund X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: fred@timogen.com Cc: freebsd-questions@FreeBSD.org Subject: Re: which script will be executed when the adsl IP up References: <007201bfef6b$e615f100$7f05a8c0@fred> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > fred@timogen.com wrote: > > Hi all, > > I have use the adsl to connect the internet. > As the ppp link will be disconnect, I want the gateway the send me > the new IPaddress to my mail box. > Could u tell me, when the ADSL link is up, which scripts will be > executed. > > In linux that shoud be /etc/ppp/ip-up, I donnot know what is in > FreeBSD. > > > Thanks, > Fred Zhang Not quite a direct answer to your question, but... You haven't thought of using some dynamic dns that are provided by for an example DynDNS? In that way you can always refer to your computer by "name" instead of IP number. The IP number can very well change, and then DynDNS is up- dated automatically, and the "name" will allways point to the correct number. Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message