Hello everyone!
First of all, thank you Merlin for the great work and firmware!
I would like to ask for some help.
My question: Is it possible to connect/disconnect to/from the Internet by using a script?
I'm asking this because I have got a creepy cable modem. Twice or three times a day it does a restart (I think it looses the signal) and my Internet connection interrupts. My problem is that my router doesn't detect this restart and because I am using dynamic IP it doesn't initiate a reconnect automatically. I have to manually disconnect and then connect (through the admin page of the router) to have my Internet connection working again.
I think the perfect solution would be if I wrote a script that pings a webpage every 5 minutes (by using cron) and if the ping fails then it does an automatic disconnect and connect on the WAN interface.
Is it possible to write such a script? Can anybody help me in this?
Thank you very much for the help in advance.
First of all, thank you Merlin for the great work and firmware!
I would like to ask for some help.
My question: Is it possible to connect/disconnect to/from the Internet by using a script?
I'm asking this because I have got a creepy cable modem. Twice or three times a day it does a restart (I think it looses the signal) and my Internet connection interrupts. My problem is that my router doesn't detect this restart and because I am using dynamic IP it doesn't initiate a reconnect automatically. I have to manually disconnect and then connect (through the admin page of the router) to have my Internet connection working again.
I think the perfect solution would be if I wrote a script that pings a webpage every 5 minutes (by using cron) and if the ping fails then it does an automatic disconnect and connect on the WAN interface.
Is it possible to write such a script? Can anybody help me in this?
Thank you very much for the help in advance.