What's new

leasefail on dhcpc-event

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

lzkill

Occasional Visitor
Hi folks.

I live under a dynamic IP connection and my ISP changes IPs every 48 hours.

In order to keep track of the lease times I've tried to make my RT-AC68R run a script to do so, but it seems not to be working. Why is the script being hit only by these
Code:
leasefail
events?

/jffs/scripts/dhcpc-event
Code:
#!/bin/sh

touch /tmp/000dhcpc-event
echo "$1" >> /tmp/000dhcpc-event

/tmp/000dhcpc-event
Code:
deconfig
leasefail
leasefail
leasefail
leasefail
leasefail
leasefail
...

Thanks in advance!!!
 
Similar threads
Thread starter Title Forum Replies Date
S wan-event sometimes not triggered during WAN event Asuswrt-Merlin 2

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top