Any help or suggestions on this issue are welcome. The problems originates quite far back and I've worker around issues in several ways so far but things seem to keep on changing on the ISP side.
The first issue I started getting was that although pppd did not detect any particular issues my isp's DNS servers stopped.
I worked around this firs issue by checking every 5 minutes if DNS was working, if not I'd have the router reinitiate ppp connection.
After some time ISP must have changed something and the new issue seems to be that ppp connection broke unexpectedly. I changed the peers setup to use persistent connection so that it would reinitiate whenever it broke along with uncapping the maxfail option.
This seems to work for a few days then another odd thing starts happening: although everything works fine from the router itself the lan masqueraded behind my router starts experiencing limited browsing capabilities. I'll explain that a little better because it's really odd:
although the I can use links on my router to browse any part of www the lan masqueraded behing my router can only reach some common places like google and my own ISP's portal ... while the rest of www is resolved but inaccessible. It looks like request is sent but now answer comes back, not sure it it never reaches destination or it nothing ever gets back. The other pdd thing is that usually I can ping the destination from the internal lan.
I've put pppd in debug mode but so far`it's not produced any interesting info (maybe I should enable also kdebug).
I'm also considering using demand instead of persist (but this would inhibit the use of port forwarding for running a web server from home).
I've assumed I could be getting some issue with iptables so I flush and restart iptables on the router but that seems to do nothing.
Up to a few days ago the only solution seemed to be resetting the modem my ISP gave me and then reinitiating ppp connection.
After some insistent complaints the ISP changed my modem free of charge but not much has changed on the issue side (same thing happens to internal lan after a few days) but now all I need to do is reinitiate ppp connection and things start working angain on the internal lan too.
Anyone know what's going on ? or have any idea how to better debug the issue ?
My setup is based on an article on docs.slackware I wrote myself:
running an access point from a slackware box
I've commented back out lcp_max_* but that still has not solved the issue.