From owner-freebsd-questions Sun Sep 20 17:55:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA17471 for freebsd-questions-outgoing; Sun, 20 Sep 1998 17:55:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.IDFW.COM (imail3.INTERLAND.NET [207.86.246.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA17453 for ; Sun, 20 Sep 1998 17:55:38 -0700 (PDT) (envelope-from frankg@idfw.com) Received: from fast1.dfw.com [206.66.14.100] by mail.IDFW.COM (SMTPD32-4.06) id A3EF29F00F2; Sun, 20 Sep 1998 20:55:11 EDT Message-ID: <012c01bde4fa$36069580$0200a8c0@fast1.dfw.com> From: "Frank Griffith" To: Subject: ppp.linkup file won't execute command Date: Sun, 20 Sep 1998 19:53:11 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I run FreeBSD 2.2.7 on a Pentium system. I use ppp to hook-up dynamically to my ISP and run Apache 1.3.1. I want to have my system e-mail my dynamically assigned IP number each time I hook-up. So following some much needed advice, I added this line to the MYADDR section of my /etc/ppp/ppp.linkup file: !bg ifconfig tun0 | mail -s "My Latest IP Address" me@my_domain.com Unfortunately, this does not work. So I made a script which does the same thing and revised the above line to call the script instead. But still no go. Can anyone offer some advice on this? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message