I run FreeBsd box with pppd over Ethernet. Everything works just fine with only one exception. Sometimes, not too often, the connection becomes stale. Everything looks like if it is ok: ifconfig shows it is up, ppp says that the link is ok, but traffic does not come through. What I do is run
killall pppd and then restart ppp manually. It reconnects and things are great again.
My question is: is there a setting in pppd (or mpd5, or anywhere else) that if set, makes ppp detect that the link is stale and reconnect automatically?
If there isn't such a setting, maybe there is another solution?