Re: [e-smith-devinfo] PPP status script

2003-01-20 Thread Charlie Brady
On Mon, 20 Jan 2003, Rich Lafferty wrote: > Off the top of my head (read: untested), put something like > > if [[ $IFNAME = 'ppp0' ]] ; then > echo $IPLOCAL | mail -s "New PPP address" root > fi > > in /etc/ppp/ip-up.local. No required, since the ip-up event already provides an easy hook f

Re: [e-smith-devinfo] PPP status script

2003-01-20 Thread Charlie Brady
On Mon, 20 Jan 2003, Brandon Friedman wrote: > I want to create a little script that runs on the SME server which gives > you the status of the PPP connection when it connects...important info > is the external IP that gets allocated... The ExternalIP setting in the config database is updated au

RE: [e-smith-devinfo] PPP status script

2003-01-20 Thread Brandon Friedman
t: Re: [e-smith-devinfo] PPP status script > > > On Mon, Jan 20, 2003 at 09:10:54AM +0200, Brandon Friedman > <[EMAIL PROTECTED]> wrote: > > Hi Folks > > > > I want to create a little script that runs on the SME server which > > gives you the status of

Re: [e-smith-devinfo] PPP status script

2003-01-20 Thread Rich Lafferty
On Mon, Jan 20, 2003 at 09:10:54AM +0200, Brandon Friedman <[EMAIL PROTECTED]> wrote: > Hi Folks > > I want to create a little script that runs on the SME server which gives > you the status of the PPP connection when it connects...important info > is the external IP that gets allocated...I would

[e-smith-devinfo] PPP status script

2003-01-19 Thread Brandon Friedman
Hi Folks I want to create a little script that runs on the SME server which gives you the status of the PPP connection when it connects...important info is the external IP that gets allocated...I would like to have this as an e-mail notification Has anybody got something like this lying around or