From owner-freebsd-questions@FreeBSD.ORG Fri May 21 01:23:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 408E316A4D0 for ; Fri, 21 May 2004 01:23:15 -0700 (PDT) Received: from mail3.sa.chariot.net.au (mail3.sa.chariot.net.au [203.87.94.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEE2F43D1F for ; Fri, 21 May 2004 01:23:14 -0700 (PDT) (envelope-from imoore@picknowl.com.au) Received: from jupiter.picknowl.com.au (jupiter.picknowl.com.au [203.87.94.38]) by mail3.sa.chariot.net.au (Postfix) with ESMTP id 2725DA3AFB for ; Fri, 21 May 2004 17:52:48 +0930 (CST) Received: from popadl-11-047.picknowl.com.au (popadl-11-047.picknowl.com.au [210.48.134.47]) by jupiter.picknowl.com.au (Postfix) with ESMTP id 3864296844 for ; Fri, 21 May 2004 17:52:48 +0930 (CST) From: Ian Moore To: "freebsd-questions" Date: Fri, 21 May 2004 17:52:34 +0930 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: <200405211752.46393.imoore@picknowl.com.au> Subject: pppd & auth-up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 08:23:15 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've been using pppd on my 5.2 system. I setup a script to run ntpdate and = a=20 couple of oher things when I connect to my ISP in /etc/ppp/auth-up, but it= =20 doesn't appear to run. Just in case it was a timing problem I added a sleep 20 line, but that does= n't=20 make any difference. A listing of the file looks like: =2D -- -rwxr-xr-- 1 root wheel 265 May 21 17:30 auth-up and it's contens are: #!/bin/sh #Perform these actions whenever ppp connects /bin/sleep 20 #Synchronise to network time /usr/sbin/ntpdate augean.eleceng.adelaide.edu.au #Keep synchronised while online /usr/sbin/ntpd #Update the port vunerability database /usr/local/bin/portaudit -F ntpd never runs and there are no entries in /var/log/messages to show ntpda= te=20 being run either. Does auth-up work for anyone else? Are my file permissions wrong perhaps? The sript runs correctly if I run it as root. Cheers, Ian GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFArbxRfITqkXhImmIRAulhAJ9Rd9Oj5rbLDoZHctRbPilI8VoEVgCgkD0H m+R2f+gX8n7QvNd0rO7OHcM=3D =3D05hM =2D----END PGP SIGNATURE-----