From owner-freebsd-questions Thu Dec 10 06:19:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA26972 for freebsd-questions-outgoing; Thu, 10 Dec 1998 06:19:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from iglou.com (iglou4.iglou.com [192.107.41.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA26966 for ; Thu, 10 Dec 1998 06:19:11 -0800 (PST) (envelope-from patrick@cre8tivegroup.com) Received: from [204.255.227.128] (helo=gateway.cre8tivegroup.com) by iglou.com with esmtp (8.9.1/8.9.1) id 0zo6vn-0005yk-00; Thu, 10 Dec 1998 09:19:03 -0500 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 10 Dec 1998 09:18:37 -0500 (EST) From: Patrick Gardella To: freebsd-questions@FreeBSD.ORG Subject: PPP and post-connection scripts Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A few days ago, Brian Somers suggested the following to send the IP address of the ppp connection to an email address. What this does for me is send a message that says "MYADDR". This is from my ppp.linkup file: MYADDR: !bg sh -c "echo MYADDR | mail patrick@cre8tivegroup.com" I'm running FreeBSD 2.2.7-STABLE from November 17th. Anyone know how to make this work, other than as I have in the past of writing a script to grab the netstat -rn and mailing that? I'd rather make it as simple as possible! Patrick --- Patrick S. Gardella Director of Web Development The Creative Group 1-800-804-0783 ext 29 606-858-8029 (fax) http://www.cre8tivegroup.com PGP Key ID 0xEE2D47A9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message