You can use the ip-up and ip-down scripts located in /etc/ppp. The ip-up script is run when a ppp connection is successfully made. Parameters are passed to this script that can be used to echo the connection data wherever you want (tty, ttyp0, etc). You can use ip-down script to display a message when the connection is brought down. I also have a couple of lines in these scripts to place a date/time entry into a file to keep track of my logons/logoffs.
-- tony mollica [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]