Re: Are there events when eth carrier changes state?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 21, 2008 at 19:24, Karl O. Pinc <kop@xxxxxxxx> wrote:
> I see that eth0 has a ATTR{carrier}.
> Are there any events that could be used
> to trigger RUN rules when that changes?

No, there are no events for network interface state changes. Network
interface events have their own netlink NETLINK_ROUTE socket to listen
to events.

NetworkManager does all link handling on the desktop. Tiny custom
setups can use stuff like ifplugd to hook into these events.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux