Schedule WAN restart?

Mikeyy

Regular Contributor
Hello,

Is there a way to schedule WAN reconnect on daily basis?
Same what we have in GUI under Administration, but for router restart.

My ISP assigns new IP every 24 hours, which leads to WAN restart.
But those 24 hours are on paper, most of times it's few hours earlier, so in couple of days my WAN starts dropping in middle of day when we are using Internet.
I'm just searching way to force it to happen in middle of night, without rebooting router all the time.

Thank you.
 

ColinTaylor

Part of the Furniture
You might be able to do it using the service restart_wan command. You'd have to schedule the time by putting a cru statement in services-start.
 

Mikeyy

Regular Contributor
Thank you!
This works for 4 am connection restart:
Code:
cru a resetconn "0 4 * * * service restart_wan"
 

EventPhotoMan

Very Senior Member
Why would an isp change the IP address daily?

why would it cause issues if the isp did change the IP address?

these are the questions I’d like to know.
 

Mikeyy

Regular Contributor
Why would an isp change the IP address daily?

I wouldn't know. Every ISP in my country forces reconnect and IP change at least once per day. It doesn't matter if you are on DSL, VDSL or fiber.
Reconnect usualy happens 20-24 hours from last reconnect.

why would it cause issues if the isp did change the IP address?

Usually it doesn't cause issues since video sites like Youtube usually buffer video. Worse you can experience is that video stops for 10-20 seconds or you have error when trying to load page.
But if you are online gaming at that time, you are usually kicked out of game and have to rejoin.
 

EventPhotoMan

Very Senior Member
I wouldn't know. Every ISP in my country forces reconnect and IP change at least once per day. It doesn't matter if you are on DSL, VDSL or fiber.
Reconnect usualy happens 20-24 hours from last reconnect.

no my ips, the lease is like five days-7 days.
hmmm sounds fishy. What country?
 

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