Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2004 17:52:34 +0930
From:      Ian Moore <imoore@picknowl.com.au>
To:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   pppd & auth-up
Message-ID:  <200405211752.46393.imoore@picknowl.com.au>

next in thread | raw e-mail | index | archive | help
=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-----



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