What's new

Does asuswrt have any events for L2TP?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

gta2000

New Around Here
Hi there
I already have my own build script running on asuswrt perfectly, thank you for developing such great custom firmware.

However, I don't any event info from the https://github.com/RMerl/asuswrt-merlin.ng/wiki/User-scripts that relates L2TP.

I noticed that asuswrt using a plugin called "pppol2tp.so" and I've tried "service-event" to check the connect action.
But after router started, it always passing parameters with "restart" and "vpncall" when clicking the button "Activate" or "Deactivate" on page `PPTP/L2TP`.

Despite that, due to my network environment, the l2tp connection will somehow closing down with log like "Too many retransmissions on tunnel; closing down" and it will reconnect later on, but this reconnection would not trigger the "server-event".

Currently I'm using a cron job to check the l2tp connection every minute as my script (selecting routing stuff) has to be executed after L2TP got reconnected.

My question here is, does asuswrt has any event will be triggered when `pppol2tp` establishes connection successfully? Or any better ways to do that?

Thanks.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top