I did some research, and found that ppl have tried udev rule with ethernet device, like triggering udev rule when detecting an interface state is change (say from DOWN to UP), but it does not work.
using rsyslog by text parsing sounds possible as mentioned above, but it is not a good solution nonetheless. maybe calling inotifywait as mentioned? as a quirk workaround inside netplan?
I did some research, and found that ppl have tried udev rule with ethernet device, like triggering udev rule when detecting an interface state is change (say from DOWN to UP), but it does not work.
https:/ /stackoverflow. com/questions/ 40676914/ how-to- set-up- a-udev- rule-for- eth-link- down-link- up
using rsyslog by text parsing sounds possible as mentioned above, but it is not a good solution nonetheless. maybe calling inotifywait as mentioned? as a quirk workaround inside netplan?