How to send an http request after router reconnect to internet on openwrt?
I'd like to be notified about the newly assigned IP when the ISP close the connection in every 24h.
I want to send an http request to an other server to store the IP from the http header.
Is there a way to simply run a command to send the http request after success reconnection(DHCP server).
I want it to add in the router using openwrt.
Replace the echo functions with ways you'd like to be informed about an IP change (e-mail, etc.) and hit that script in a cron job.
I don't know if there is a specific function in openwrt to do this, but the script does basically the same - it's the not the most beautiful syntax, but it works. ;)
|All times are GMT -5. The time now is 10:16 AM.|