wireless router VPN problem
I created Debian PPTP VPN server. One of the clients is D-link DI-524 wireless router.
It connects to the server, but problem appears - If the connection is broken from the server side, the router does not brings it ppp interface down. It thinks that the connection is still alive. I installed on a computer from the D-link network software which pings the VPN server to keep connection alive. Also I made router to connect on demand, it connects on the first demand and after if the connection is down the router still thinks that it is up and does nothing.
What should I do in order router to check the availability of the connection?