From owner-freebsd-questions Sun Jul 14 7:35:56 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 2437337B400 for ; Sun, 14 Jul 2002 07:35:52 -0700 (PDT) Received: from leviathan.xo.com (leviathan.xo.com [207.155.252.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id B006F43E6A for ; Sun, 14 Jul 2002 07:35:51 -0700 (PDT) (envelope-from fred@timogen.com) Received: from fred ([61.165.90.144]) by leviathan.xo.com id KAA11656; Sun, 14 Jul 2002 10:35:45 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] From: fred@timogen.com Message-ID: <000e01bfefb1$76d71440$905aa53d@fred> To: "Paul Everlund" Cc: References: <007201bfef6b$e615f100$7f05a8c0@fred> <3D3169F8.B9877ECE@cs.umu.se> Subject: Re: which script will be executed when the adsl IP up Date: Sun, 16 Jul 2000 22:40:03 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 thanks, The reason is that: When the the adsl connection is disconnected, and a new IP address is gained. I want to the machine send me the new IP address by mail. so I can logon remotely. ----- Original Message ----- From: "Paul Everlund" To: Cc: Sent: Sunday, July 14, 2002 5:09 AM Subject: Re: which script will be executed when the adsl IP up > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message