VLAN script at services-start... and what else?

  • 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.

ERamseth

New Around Here
It seems like services-start is the right place for the initial VLAN setup script I wrote.

Should it also be triggered by other events? And if so does anyone have insight into which one(s)?

I'm guessing a service-event-end on something like wireless or networking, but I actually am having trouble finding a list of all the services that could trigger a start, stop, or restart...

FWIW the script uses
- robocfg to configure vlans
- vconfig to add vlans
- ifconfig to bring up vlans
- brctl to create and modify bridges
- nvram set to set variables used by eapd
- kills and restarts eapd

and the bridges and vlans are composed of the wireless interfaces (regular and guest) and ethernet ports.

(hoping the above list might give some insight to what services might necessitate a re-setup of the VLANs)

edit: this is re: an RT-AC3200 but I would guess the answer(s) would be more or less universal...
 
Last edited:

Similar threads

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