For a wired connection the wpa_supplicant support code expects exactly "-Dwired" while i.e. "-D wired" or a version with more spaces would be ok for wpa_supplicant. See for an initial patch: https://github.com/gentoo/netifrc/pull/27
merged/fixed upstream in 0.6.0 https://github.com/gentoo/netifrc/commit/52eaae89ebf4357168a21c6b2577cac76725e52e
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c4748dce0925382fc68822034d76f1634348c7 commit 56c4748dce0925382fc68822034d76f1634348c7 Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2017-11-27 20:29:43 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2017-11-27 21:00:29 +0000 net-misc/netifrc: bump. New functionality & improvements: - Wireless: 'iw' module to replace older 'iwconfig' module. (Brian Evans <grknight@gentoo.org>) - iproute2: VXLAN & GRETAP support (iplink_$IFVAR) (Sergey Popov <pinkbyte@gentoo.org>) - Bonding: ARP IP targets (Marc Schiffbauer <mschiff@gentoo.org>) - wpa_supplicant: better matching of wired connections (Henning Schild <henning@hennsch.de>) - IPv6: clearer message for Tentative duplicate address detection (DAD). - Refactor veinfo printing of iproute2 commands. Fixes: - Avoid moduleslist race condition (Hagbard Celine <hagbardcelin@gmail.com>) - Delete IPv6 tunnel correctly (stkchp <s@tkch.net>) Bug: https://bugs.gentoo.org/638836 Bug: https://bugs.gentoo.org/637474 Bug: https://bugs.gentoo.org/636846 Bug: https://github.com/gentoo/netifrc/pull/24 Bug: https://github.com/gentoo/netifrc/pull/26 Bug: https://github.com/gentoo/netifrc/pull/25 Bug: https://github.com/gentoo/netifrc/pull/27 Package-Manager: Portage-2.3.16, Repoman-2.3.6 net-misc/netifrc/Manifest | 17 +++++---- net-misc/netifrc/netifrc-0.6.0.ebuild | 71 +++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+), 8 deletions(-)}