I am in the process of migrating the PPPoE internet connection on my router from ppp(8) to net/mpd5. One problem I could not find a solution for so far, is how to trigger a reconnect at a specific time of the day via crontab(5). With ppp(8) this is easily accomplished by running
Is there anything else I might try? Perhaps only closing a particular layer using
I am reluctant to try how well mpd5 likes it if I send it a USR2 signal (disconnect) immediately followed by a USR1 signal (connect), and using some arbitrary pause in between that may or may not suffice/be to long also seems wrong.
pppctl close
which closes the connection after which it automatically reconnects. Sending the ppp process an INT signal should probably do the same. I tried sending the mpd5 process a USR2 signal, but that only closes the connection without reconnection. Same goes for issuing a close
command via the telnet console. Redial attempts are set to infinite in the config file:
Code:
set link max-redial 0
close <layer>
? If so, which one?I am reluctant to try how well mpd5 likes it if I send it a USR2 signal (disconnect) immediately followed by a USR1 signal (connect), and using some arbitrary pause in between that may or may not suffice/be to long also seems wrong.