Re: dialup scripts

2000-06-26 Thread John Hasler
Andre writes: How can etc/ppp/ip-up.d/zzdone know which user started pon? The pppd process is owned by root... Pppd knows who started it. From the man page: The environment variĀ­ ables that pppd sets are: ... PPPLOGNAME The username of the real

dialup scripts

2000-06-26 Thread Andre Berger
I would like to add a script /etc/ppp/ip-up.d/zzdone which looks for a file MAILONLY in the Home-directory of the non-root user who invoked pon, and if this file exists, terminates the PPP session of this user. How can etc/ppp/ip-up.d/zzdone know which user started pon? The pppd process is owned

PPP with dialup scripts.

1996-10-29 Thread Chris R. Martin
I am having problems getting ppp to work with a script. It works *fine* manually, using minicom to dial, and executing 'pppd /dev/ttyS2 38400' I've tried this as root. Thanks for any suggestions you might have! Chris. # tail /var/log/daemon.log Oct 28 22:25:56 wraith pppd[316]: pppd 2.2.0