Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 1998 17:45:05 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Frank Griffith <frankg@idfw.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ppp.linkup file won't execute command
Message-ID:  <19980921174505.A21618@scientia.demon.co.uk>
In-Reply-To: <012c01bde4fa$36069580$0200a8c0@fast1.dfw.com>
References:  <012c01bde4fa$36069580$0200a8c0@fast1.dfw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Frank Griffith wrote:

> 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

Do you have a space before the !bg ? I don't know if it's needed or not,
but there are some in my ppp.linkup.

-- 
Ben Smithurst : ben@scientia.demon.co.uk : http://www.scientia.demon.co.uk/

PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C  68 32 0E D5 36 05 3D 16
     http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980921174505.A21618>