[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Send message on ppp going up|down [was Re: Install just samba client?]
What do you see in the ppp log?
What do you see in the Samba logs?
On Mon, Sep 01, 2003 at 03:56:35PM +1000, Damon McMahon wrote:
> Looking through the ppp(8) man page I thought of using
> /etc/ppp/ppp.link<up|down>, something like:
>
> <ppp.conf label>:
> !bg /bin/cat /etc/ppp/ppp.linkdown.msg | tee | \
> /usr/local/bin/smbclient -U wendolene \
> -M <target's NetBIOS name> -I <target's IP address>
>
> This is not causing a SMB message to be sent, however. Is my shell
> scripting awful, or am I misunderstanding the usage of
> /etc/ppp/ppp.link<up|down> ?