ppp-project / ppp

Paul's PPP Package: PPP daemon and associated utilities | Official GitHub repo: https://github.com/ppp-project/ppp
https://github.com/ppp-project/ppp
Other
374 stars 221 forks source link

automatically reconnect after modem reboot #491

Open lillian-b opened 1 month ago

lillian-b commented 1 month ago

I have a ISP provided modem connected to my linux server, with pppd running on the linux box. if I power cycle the modem, pppd does not realise it needs to reconnect, and will keep a stuck connection until I manually restart it. (the linux box and modem are connected via a switch, so the physical link does not necessarily go down.) is there a way in pppd to get around this issue, as to not have to set up a separate watchdog process myself?

paulusmack commented 1 month ago

This kind of thing is what the lcp-echo-interval and lcp-echo-failure options are often used for.