Am Mon, 05 Dec 2016 11:26:02 GMT
schrieb dpatino82 <dpatino82@no-mx.forums.microfocus.com>:
> gogalthorp;2801198 Wrote:
> > Why not just use NetworkManger.it handles both wired and wireless much
> > easier then wicked
>
> Our first systems were configured manually, the last were configured
> using NM and now our next systems will be configured, if possible, using
> wicked wich seems to be the future network manager in openSUSE.
>
> If that’s not possible we will continue using NM, however we would like
> to make an effort to make it work using wicked before discard this
> solution in case.
> Currently it is not working yet.
>
> Thanks
>
>
In “ye olden days” you had ifup/ifdown implemented via a series of scripts and
using several “backend” programs.
Amongst others there was “ifplugd” and a script called “ifplugd-selectif”,
and it’s job was to check for STARTMODE=ifplugd and IFPLUGD_PRIOTITY=SOME_VALUE
and set up interfaces accordingly.
This was complicated, somehow slow, quite some overhead (starting several
scripts for one job) but in a way it worked quite well.
Now there is wicked, a framework to replace all of this old-fashioned stuff
by a nice, lean set of programs with the potential of even extending
functionality.
So far, so good, but there’s a little problem.
In order to replace all this you have to implement the same functionality,
otherwise your new solution will lack features which were already there (and
people might have used/relied on them),
If you read “man 5 ifcfg” you will not find anything about “ifplugd” nowadays,
and if you have a look at the template used to create that manual page, you
will find these comments:
…“TODO: rewrite ifplugd when nanny handles it correctly.
…”.TP
…".B ifplugd
…".br
…"The interface will be controlled from ifplugd. At initial ifup only ifplugd will
…"be started for this interface. Then if ifplugd detects a link if calls ifup
…“again which finally sets the interface up. See also variable
…”.B IFPLUGD_PRIORITY
…"below.
and
…“TODO: reintroduce when ifplugd supported
…”.TP
…".BR IFPLUGD_PRIORITY
…“If there multiple interfaces have
…”.B STARTMODE=ifplugd
…"and a nonzero priority, only one of them will be set up at a time. Every time one
…"of these interfaces is (un)plugged the interface with highest priority (and
…"plugged cable) will be set up. Default is IFPLUGD_PRIORITY=‘0’ causing set up as
…"when the cable is plugged. Note: This is not supported for e.g. bridge interfaces
…"or bridge ports.
So if you want to have this feature (back), you should write a bug report on
bugzilla.opensuse.org or create a feature request on github.com/opensuse/wicked
and hope you will get a response (regarding my last two bug reports on wicked,
iw wish you good luck for that).
AK
– Never attribute to malice that which can be adequately explained by
stupidity. (R.J. Hanlon)