Hello, as before discussed Ifstated is the right tool.
Here you see an nice example for in kernel pppoe that runs scripts on the different states: http://www.pro-bono-publico.de/openbsd/pppoe/ Kind regards Karsten Am 21.09.2017 5:32 nachm. schrieb "George Brown" <321.geo...@gmail.com>: > There's ifstated - http://man.openbsd.org/ifstated > > On 21 September 2017 at 14:29, Krzysztof Strzeszewski <krz...@krzy.ch> > wrote: > > Hi, > > > > How to log up or down (connect or not connect cable) interface end change > > physical address on OpenBSD? > > > > > > ------------------------------ > > Regards, > > Krzysztof Strzeszewski > > > >