From owner-freebsd-questions Fri Sep 10 0:40:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198]) by hub.freebsd.org (Postfix) with ESMTP id 7FA0815C8C for ; Fri, 10 Sep 1999 00:40:23 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id IAA85423; Fri, 10 Sep 1999 08:40:09 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id IAA37815; Fri, 10 Sep 1999 08:44:46 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199909100744.IAA37815@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: James Westbrooks Cc: questions@FreeBSD.org Subject: Re: PPP.LINKUP In-reply-to: Your message of "Wed, 08 Sep 1999 20:23:58 CDT." <199909090124.UAA07513@blue.external.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Sep 1999 08:44:46 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm trying to set up up a static name with a dynamic IP by mailing a > friend with a static IP and name. I've got the following command in > my ppp.linkup file: > !bg echo MYADDR | mail dyndns@blah.blah > > The intent is to mail my current IP to him every time ppp connects (I use > ppp -ddial), but it isn't sending anything. I'm at a loss to know > if it isn't the proper command or if the ppp.linkup isn't running. > > Any suggestions most appreciated! !bg doesn't use sh. You should use !bg sh -c "echo MYADDR | mail dyndns@blah.blah" > -James -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message