Does asuswrt have any events for L2TP?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

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