From owner-freebsd-questions Thu Oct 8 13:51:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16261 for freebsd-questions-outgoing; Thu, 8 Oct 1998 13:51:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA16148 for ; Thu, 8 Oct 1998 13:50:18 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id VAA05669; Thu, 8 Oct 1998 21:49:59 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id QAA00913; Thu, 8 Oct 1998 16:41:51 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199810081541.QAA00913@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Frank Griffith" cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp.linkup during reboot In-reply-to: Your message of "Wed, 07 Oct 1998 14:27:51 CDT." <000701bdf228$93b70260$dcf6a2a5@fgriffth.ctxmort.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Oct 1998 16:41:51 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am running FreeBSD 2.2.7 on a Pentium computer with=20 > ppp and Apache. I have a command in my ppp.linkup=20 > file to run a script which ftp's a file up to another server=20 > on the web each time a connection is made with my ISP.=20 > When the server reboots, I have commands in the /etc/rc.local=20 > file to run ppp -auto -alias my_isp and start Apache. Problem=20 > is, when the server reboots, ppp and Apache start okay, but the=20 > command in my ppp.linkup file does not execute. In other=20 > words, my file does not get ftp'ed up to the other server unless=20 > I manually login and run the script myself. > > When I manually login and run ppp the ppp.linkup file runs=20 > the desired script without a problem. It is only when the=20 > server reboots and no one is there to login that the ppp.linkup=20 > file fails to execute. Anyone have an idea on this? Have you enabled command logging to prove that ppp.linkup isn't being executed (try ``set log phase lcp ipcp command'') ? -- 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