the script /etc/ppp/ip-up is run on ppp connection in any distro. it is a feature of ppp not the distro. ditto with ip-down
what you put in there is your own concern. I think a bit of privilege dropping would be in order. I think the more correct approach would be: ip-up change to an unprivileged user start the ping command save the pid of the ping command to a known place ip-down change to the unprivileged user kill the program with the saved pid suspiciously sounds like something that could usefully be dealt with as a startup script in /etc/init.d with a line in ip-up like: /etc/init.d/pinger start and in ip-down /etc/init.d/pinger stop with the script doing all the privilege dropping and pid saving (as most scripts in /etc/init.d should do) On Tue, 08 Feb 2005 00:00:50 +1300 Timothy Pick <[EMAIL PROTECTED]> wrote: > I used to enable this little bit in /etc/ppp/ip-up when using paradise > in a rural setting (the connection was always junk...). I run slackware > and I'm not sure if this script is the same under other distros(?), but > it might help you. Just uncomment the last of the following 4 lines: -- Nick Rout <[EMAIL PROTECTED]>
