This script is run by the PPP daemon when the PPP connection is started. Its only job is to report the successful start to the console.
This script is stored in /etc/ppp/ip-up.
#! /bin/bash interface=$1 tty=$2 speed=$3 localIP=$4 remoteIP=$5 echo "PPP started at $(date): interface = $interface; tty = $tty; speed = $speed Local IP = $localIP; Remote IP = $remoteIP PID = $PPID " >/dev/console
If you vary this script, remember that all output must be sent to /dev/console or to
a file. It is run by pppd after it has disconnected from the terminal, and any message sent
only to standard output will be lost.