On Mon, Oct 09, 2000 at 04:35:21AM +0200, Francois Fayard wrote: > > 2) Can "pon" be set up to display a "connect" message > > for my wife and kids to see? The enter a "pon" command > > and expect to "surf" or read email before the connection > > is made. > > I just want to ask for something close to what is asked here. I would be > pleased to have a script like pon but that finishes when the connexion is > established.
In /etc/ppp/ip-up.d/ and /etc/ppp/ip-down.d/ are scripts that run every time you connect/disconnect. In a script in the ip-up.d dir I put this command: echo PPP CONNECTED | wall Wall is a command that sends text to every terminal/console (along with a beep). A similar command in ip-down.d is helpful if you ever get dropped from your ISP. -- Tom "Every man...should periodically be compelled to listen to opinions which are infuriating to him. To hear nothing but what is pleasing to one is to make a pillow of the mind." -St. John Ervine