pppd & auth-up

Ian Moore imoore at picknowl.com.au
Fri May 21 01:23:15 PDT 2004


-----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 
couple of oher things when I connect to my ISP in /etc/ppp/auth-up, but it 
doesn't appear to run.
Just in case it was a timing problem I added a sleep 20 line, but that doesn't 
make any difference.
A listing of the file looks like:

- -- -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 ntpdate 
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFArbxRfITqkXhImmIRAulhAJ9Rd9Oj5rbLDoZHctRbPilI8VoEVgCgkD0H
m+R2f+gX8n7QvNd0rO7OHcM=
=05hM
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list