Results 1 to 3 of 3
I would like to put a command to ring the system bell several times when a connection via PPP drops.
Where/how can this be done using bash?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-01-2010 #1Linux User
- Join Date
- Mar 2008
- Posts
- 287
PPP connection drop
I would like to put a command to ring the system bell several times when a connection via PPP drops.
Where/how can this be done using bash?
- 12-02-2010 #2Linux Enthusiast
- Join Date
- Apr 2004
- Location
- UK
- Posts
- 678
Hi there,
How do you establish the ppp connection? There may be a way to add a command to be executed on disconnect. Once we can hook the disconnect event there are is a beep package for Ubuntu so I'd expect there would be a similar command for your distribution.
Let us know how you get onTo be good, you must first be bad. "Newbie" is a rank, not a slight.
- 12-04-2010 #3Linux User
- Join Date
- Mar 2008
- Posts
- 287
PPP connection drop
I am running Slackware 13.0 and using /usr/sbin/ppp-go (-off). I have looked at /etc/ppp and could not find a script to catch a modem response such as "connection dropped" or "hangup" etc.
I have given up on this and seems like I must create a program to catch a set of modem responses on the ppp invoking terminal.


Reply With Quote
