Op 2 okt. 2014, om 15:29 heeft Tom Gundersen <[email protected]> het volgende geschreven:
> On Thu, Oct 2, 2014 at 2:20 PM, Lennart Poettering > <[email protected]> wrote: >> On Thu, 02.10.14 13:00, Koen Kooi ([email protected]) wrote: >> >>> >>> Op 2 okt. 2014, om 07:36 heeft Tom Gundersen <[email protected]> het volgende >>> geschreven: >>> >>>> Hi Cameron, >>>> >>>> On Thu, Oct 2, 2014 at 6:36 AM, Cameron Norman <[email protected]> >>>> wrote: >>>>> ifupdown [1], NetworkManager, and WICD all support hooks for when a >>>>> network interface is configured or deconfigured (before and after >>>>> these actions). >>>>> >>>>> Are there any plans to support something along these lines? If so, >>>>> what will that look like? >>>>> >>>>> If there are no plans, how do networkd's developers feel about adding >>>>> the feature (will not merge, or will accept patches, etc.) ? >>>> >>>> I am sceptical to adding hooks, so would need a lot of convincing. >>>> What we do, however, is to expose the configuration state using the >>>> sd-network C API, which external programs can watch and react on (see >>>> how timesyncd and resolved currently works). >>>> >>>> For specific hooks, we may want to integrate them directly upstream, >>>> but it really depends on what functionality you have in mind. >>> >>> For my use-case (fiber 'modem' doing PPPoE over vlan) I'd like to >>> launch accelpppd to do PPPoE as soon as the vlan is up. That get me >>> my internet back a few ms earlier when rebooting the modem :) >> >> Hmm, Tom has some patches adding native pppoe support to networkd >> (without pppd), iirc. Might be a better option to finish those. >> >> Tom? > > Yes, I have some WIP patches to do PPPoE directly from networkd [0]. > If you are interested in using this, I'll clean it up and get it ready > for merging/testing. I'm certainly interested, but I can't promise to test it in a timely fashion since it needs to run on my fiber modem. regards, Koen > > Cheers, > > Tom > > [0]: <http://cgit.freedesktop.org/~tomegun/systemd/log/?h=ppp> _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
