因为各大运营商会不定时的强行中断 PPPoE 连接,为了避免白天连接被断开的情况,可以在半夜不用的时候自己主动重连一次 PPPoE,以避免白天被强行中断。

/system scheduler
add name="restart pppoe" on-event="/interface pppoe-client enable pppoe-telecom" \
start-time=03:00:00 interval=1d 
/interface disable pppoe-wan1
:delay 30
/interface enable pppoe-wan1
只需将上述代码中的 pppoe-wan1 更换为你 PPPoE 连接的名称,start-time 修改为你想重连的时间即可。

标签: none

评论已关闭