From owner-freebsd-questions Tue Feb 16 9:10:26 1999 Received: from void.agames.com (gate-void.agames.com [192.245.82.72]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA11153 for ; Tue, 16 Feb 1999 09:10:25 -0800 (PST) (envelope-from schluntz@pacbell.net) Received: from [192.245.82.126] (wintermute.agames.com [192.245.82.126]) by void.agames.com with SMTP id JAA10842 for ; Tue, 16 Feb 1999 09:10:11 -0800 (PST) Message-Id: <199902161710.JAA10842@void.agames.com> Subject: Help with user ppp and launching a script Date: Tue, 16 Feb 1999 09:13:09 -0800 x-sender: schluntz@postoffice.pacbell.net x-mailer: Claris Emailer 2.0v3, January 22, 1998 From: "Sean J. Schluntz" To: "FreeBSD Questions" Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there any way to launch a script from the user ppp after it connects? Here's my problem: I dial in to PacBell on an ISDN line. It an auto dial from one of the computers in my house so it can go up and down depending on when my wife, daughter or my self are using it. The dialing and the channeling of my vpn to the one IP address on the FreeBSD box (v2.2.6) all work great. The problem is that when something like sendmail tries to send out a message, some of the sites it tries to send to refuse connection because it says "Hi I'm blaa.org" (my internal domain) and the receiving server says "Can't resolve you, *click*). What I need to do is have a script run from PPP automatically that when the connection is make I can do a reverse look up on the IP address assigned by PacBell (changes almost every time) and then set my computer name based on that information (the then bounce sendmail so it will recognize the change.) Any idea on how I can accomplish this? Thanks! Please reply directly as I am not on the list. -Sean --- Sean J. Schluntz schluntz@agames.com Sr. Office Systems Administrator 408-434-5804 Atari Games Corporation http://www.agames.com Mountain Dew and doughnuts...because breakfast is the most important meal of the day. - ??? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message