TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:7620] dynamic dns and ip-down



Ben Luey said:
> I want to use justlinux.com's dynamic dns service. I've got the client
> installed fine and added the connect line into /etc/ppp/ip-up.local
> (mandrake 6.0 and pppd on dial on demand) and now whenever the link goes
> up, it sets my ip. Great. The problem is that ppp runs
> /etc/ppp/ip-down.local *after* it disconnects from the internet, so
> instead of putting me in disconnect mode and then logining off, it logs
> off and trys to tell justlinux I'm off and triggeres the link to go up.
> How canI run a script right before the link it brought down?

I don't know what method you're using to control the dial-on-demand, but
diald lets you specify an ip-goingdown script as well as ip-up and ip-down.