As I wrote in first post:

Quote Originally Posted by P Still View Post
An idea:
A cronjob that everey 15-30 s. check if anyone is connected via LAN or VLAN.
If so check if modem is connected ( ping DNS-server ?).
If not connected, do a reconnect.

I don't mind if modem is not connected when no one is connected to/using router, but otherwise I want modem to have an OK connection. Could also be a solution that disconnect modem when no one is connected to router

Since I'm asking these question you understand that my knowledge with Linux, scripting and so on for wl-500gp is not that good ( otherwise I wouldn't ask) so any solutions must be a bit exact and with good instructions (and I don't mind if it's easy).
So, do you have an instruction for this or your cronjob (as I'm not that good with Linux)?
If it really works and make all disconnects disappear.