Skip to contentSkip to conversation

Auth-up and Auth-down

DISCUSSION Allen Green 3 participants 3 messages May 10, 2007 – May 13, 2007 PPP protocol drivers and compressors

lore
Share & tools
lore
#0 lore raw

do Auth-up and Auth-down run by default?
i created a simple Auth-down file in /etc/ppp/ :
#!/bin/sh
echo 1 > /root/1.txt

and im using poptop server, but nothing happened when a user logined and logouted.
i think these files do not run by default

Signature · 2 lines
View this message in context: http://www.nabble.com/Auth-up-and-Auth-down-tf3722844.html#a10417238
Sent from the linux-ppp mailing list archive at Nabble.com.
#1 lore raw
Quoted 5 lines · Allen Green

do Auth-up and Auth-down run by default?
i created a simple Auth-down file in /etc/ppp/ :
#!/bin/sh
echo 1 > /root/1.txt

Are you sure you got the name of the file right? It is:

/etc/ppp/auth-down

not:

/etc/ppp/Auth-down

Case ('a' versus 'A') is crucial. Did you make the file executable and owned by root?

Do you have debug logs from your pppd session? How was pppd configured?

Note that these scripts run only when pppd is configured as an authenticator ("server"), and not when it's only the authenticatee ("client").

Signature · 1 line
James Carlson         42.703N 71.076W         <[email protected]>
#2 lore raw
In reply to Allen Green

----- Original Message -----
From: "Allen Green" <[email protected]>
To: <[email protected]>
Sent: Thursday, May 10, 2007 6:48 PM
Subject: Auth-up and Auth-down

Quoted 10 lines

do Auth-up and Auth-down run by default?
i created a simple Auth-down file in /etc/ppp/ :
#!/bin/sh
echo 1 > /root/1.txt

and im using poptop server, but nothing happened when a user logined and logouted.
i think these files do not run by default

http://marc.info/?l=linux-ppp&m7881825303547&w=2

Gilles