Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458274 - >=net-misc/networkmanager- (ifnet plugin) does not save settings for wired connection with 802.1x authentication
Summary: >=net-misc/networkmanager- (ifnet plugin) does not save settings for w...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Keywords: NeedPatch
Depends on:
Reported: 2013-02-19 11:51 UTC by Kornel
Modified: 2014-10-13 20:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Kornel 2013-02-19 11:51:06 UTC
After setting up (using nm-applet or kde control centre module) a wired connection named "eth1" (on /dev/eth0) with 802.1x protocol the connection works (I end up with two wired connections in nm-applet: "eth0" - generic setting with DHCP and "eth1" - with 802.1x to connect to wired eduroam, both profiles using /dev/eth0).

The problem arises after computer restart. The "eth1" connection doesn't remember the 802.1x settings.

There is also another, thus maybe related problem, that I can't change the name "eth1" to sth else, eg. "wired eduroam". After changing the connection name in nm-applet nothnig happens - the connection is still listed as "eth1".

I'm pretty sure that some earlier version of nm experienced the same problem. I submit this bug under net-misc/networkmanager as it doesn't seem to be a problem of nm-applet (as kcm module acts the same way).

Reproducible: Always

Steps to Reproduce:
1. Use nm-applet to set up an ethernet connection with 802.1x (see
2. Reboot computer.
Actual Results:  
Settings entered are lost after reboot.

Expected Results:  
Settings are saved and survive system restarts.

$ emerge -pv networkmanager
net-misc/networkmanager-  USE="avahi bluetooth connection-sharing (consolekit) dhcpcd gnutls introspection modemmanager ppp resolvconf vala wext -dhclient -doc -nss -wimax"

$ emerge --info
Portage (default/linux/amd64/13.0/desktop/kde, gcc-4.5.4, glibc-2.15-r3, 3.6.11-gentookm x86_64)
System uname: Linux-3.6.11-gentookm-x86_64-Intel-R-_Core-TM-_i5_CPU_M_430_@_2.27GHz-with-gentoo-2.1
KiB Mem:     3907656 total,    479708 free
KiB Swap:    4883724 total,   4823380 free
Timestamp of tree: Sun, 17 Feb 2013 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo sunrise seden sage-on-gentoo science octave multimedia betagarden x-portage
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" rsync:// rsync://"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/seden /var/lib/layman/sage-on-gentoo /var/lib/layman/science /var/lib/layman/octave /var/lib/layman/multimedia /var/lib/layman/betagarden /usr/local/portage"
USE="3ds 64bit R X a52 aac aacplus aacs aalib abiword acl acpi activefilter addressbook aften airplay akonadi alac alisp allegro alsa amd64 amr analitza apache2 apidoc apng archive aspell assistant atm atmo attica audio autoipd automap autotools autotrace avahi avx bash-completion battery bazaar berkdb bidi binary-drivers bineditor binfilter bittorrent bl blas blender blender-game bluetooth bluray bookmarks boost branding bs2b btrfs bzip2 c++0x cairo cal3d canberra caps caps-ng captcha cdda cddax cddb cdinstall cdio cdparanoia cdr cdrdao cheese chroma chrome chromium clamdtop cli clipboard clucene cmake collab collada colord compress compressed-lumas connection-sharing consolekit context contrast contrib corefonts coverage cpio cracklib creds crypt css cue cups curl cvs cxx cycles cyrillic d daap darcs data dbus declarative demosaic designer designer-plugin desktopglobe detex device-mapper devil dewarping dga dhcp dia dirac directv disable-watermark disk-partition djvu dlna dlz docbook dot downloadorder drawspaces dri drm dts dv dvb dvd dvdr dvi dvi2tty dvipdfm eap-sim eap-tls ebook eclipse ecls editor egl eigen embedded emboss emf emovix enchant encode epos equalizer espeak excel exceptions exif expat expoblending extensions extra extra-algorithms extrafilters extras facebook facedetect fakevim fam farstream fasttrack fat fax fbcon fbosd festival ffmpeg fftw firefox firefox3 fits flac flash flickr flite fltk fluidsynth fmod fontconfig foomaticdb fortran fortran2003 fping fpx freetts frei0r fuse g3dvl gadu galago gallery gallium game-engine games garmin gbm gcj gd gdal gdbm gdml gdu gecko gedit geo geoip geoloc geolocation geos gflags ggi ggz gif gimp ginac git glchess glep gles gles1 gles2 glew glgd glib glibc-omitfp glsl glu glut gmail gmath gme gmm gmp gnome gnome-keyring gnome-print gnumeric gnupl gnuplot gnutls go gocr google google-gadgets googledrive goom gpac gpg gphoto2 gpm gps gpsd gpssync gpu grammar graph graphics graphicsmagick graphite graphviz grass groupwise growl gs gsl gsm gsmloc gssapi gstreamer gtk gtk3 gtkstyle gts guile hardcoded-tables hbci hddtemp hdf5 hdri hfs hipe history hotpixels howl-compat hpijs http httpd humanities hunspell hybrid-auth hyperestraier icecast iconv icq icu id3tag idn ilbc imagemagick imaging imap imlib indi inkjar inotify int64 ios ipfilter iphone iplayer ipod ipv6 ipython irc irrlicht jabber jack jadetex java javascript jbig jce jemalloc jfs jingle jit john joinlines jpeg jpeg2k kate kdcraw kde kdecards kdenlive kdepim kdm kdrive kerberos kernel-patch kexiv2 keyboard kig-scripting kino kipi kismet kmail kolab konqueror kontact kpathsea kpoll kqemu kross kvm ladspa lame lapack laptop lash lastfm latex latex3 lcms ldap lensfun libass libburn libcaca libextractor libkms libmms libnl libnotify libproxy libsamplerate libsysfs libtiger libv4l libv4l2 libvisual libwww live llvm llvm-gcc lm_sensors location lock logviewer lqr lua luatex lucene lv2 lyx lzma lzo mad madde madwifi maemo6 magnetgenerator map mapnik marble math mathml matplotlib matroska mbrola mdadm mdnsresponder-compat meanwhile media-library mediaplayer mediawiki melt mercurial metric midi mikmod milter mime minizip mirage mjpeg mkl mktemp mms mmx mmxext mng mod modemmanager modplug modules mono monolithic-build mozdom mozembed mp3 mp3tunes mp4 mpeg mpfi mpi mpi-threads mplayer msn mtp mudflap multilib multimedia musepack music musicbrainz nano-syntax nas nat-pmp natspec nautilus ncat ncurses ndiff netcdf netpbm network networking networkmanager new-clx new-login nlpsolver nls nmap nmap-update nokia nova nowlistening nping npp nptl nsplugin nss ntfs ntfsprogs ntl ntp numpy nut nuv obex objc objc++ objc-gc ocaml ocamlopt ocean ocr ocrad octave odbc ofa offensive ofx ogg ogm okteta okular omega openal opencl openctl opencv openexr opengl openmp openrc openssl openstreetmap openvg openxml optimization optimized-qmake oscar osmesa otr ots pager pam pango panorama password pch pcm pcmcia pcre pda pdf pdfannotextractor pdfimport perl pgf pgo phonon pidgin plasma player plotutils plugins pmu png pnm policykit portaudio portmidi postgis postproc postscript povray ppds prediction prelink prison privacy private-headers projectm psf pstoedit pstricks publishers pulseaudio pvr pyglet pyqt4 python qalculate qq qt-dbus qt-faststart qt-webkit qt3support qt4 qthelp qtscript quicktime quotes qwt radio radius rar raw rcs rdesktop readline realtime redcode redeyes reiser4 reiserfs remoteosd reports resolvconf reviewboard roaming romio rss rtaudio rtf rtmp rtsp ruby rups sage samba scale0tilt scanfolder scanner schroedinger science scim script scripts sctp sdl sdl-image secure semantic-desktop session shared-dricore shm shout sid sift sigsegv sip sipim skins skype smp sms sndfile snmp soap socialweb socks socks5 solver soundex soundtouch soup sox sparse speech speex spell sqlite srtp sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification stream strigi stroke subtitles subversion svg swat swig switcher system-boost system-libs szip t1lib taglib tcl tcpd telepathy teletext templates testbed tex4ht texmacs tga themedesigner theora thesaurus thin-splines threads threadsafe thumbnail tidy tiff timezone timidity tk tlen tomsfastmath tonal toolame toolbar tools tor tor-hardening tordns totem transcode translator transparency transparent transparent-proxy truetype tweak-mode twitter twolame type3 udev udev-acl udisks umfpack unicode unlock-notify unzip upnp upnp-av upower usb utils uuencode v4l v4l2 vaapi vala valgrind vamp vcd vcdinfo vcdx vdpau vdr verse video vimeo virtualbox vkontakte vlc vlm vnc vorbis vpx wav wavpack wayland weather-metar web webcam webdav webdav-neon webgl webinterface webkit webkit2 webp webpresence webserver webstart wifi wikipedia wildmidi win32 win64 windeco winetriks wininst winpopup wireshark wma wma-fixed wmf word-perfect wordperfect wpd wpg wps wv2 wxwidgets x264 xa xanim xattr xbase xcb xcf xcomposite xetex xext xface xfs xindy xine xinerama xml xmlpatterns xmp xpm xscreensaver xv xvfb xvid xvmc yahoo yaz youtube yv12 zeroconf zip zlib zvbi" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="spca50x canon fuji konica mustek samsung ricoh pccam300 pccam600 ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher presenter-console presenter-minimizer" LINGUAS="pl en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-02-20 16:33:40 UTC
Try switching to the keyfile plugin for networkmanager settings: set "plugins=keyfile" in /etc/NetworkManager/NetworkManager.conf, and then do "/etc/init.d/NetworkManager restart".

(Note that after this, you will need to re-enter all of your connection settings once.)
Comment 2 Kornel 2013-02-20 17:19:17 UTC
It's already on:

/etc/NetworkManager $ cat NetworkManager.conf 


(In reply to comment #1)
> Try switching to the keyfile plugin for networkmanager settings: set
> "plugins=keyfile" in /etc/NetworkManager/NetworkManager.conf, and then do
> "/etc/init.d/NetworkManager restart".
> (Note that after this, you will need to re-enter all of your connection
> settings once.)
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-02-20 17:26:36 UTC
(In reply to comment #2)
> It's already on:
> /etc/NetworkManager $ cat NetworkManager.conf 
> [main]
> plugins=ifnet,keyfile

You have both ifnet and keyfile enabled, with ifnet as the default. I am hypothesizing that 802.1x settings might be saved successfully in keyfile format (which receives more testing upstream), but not in ifnet format.
Comment 4 Kornel 2013-02-21 08:24:51 UTC
You were right! Thank you.

After removing ifnet plugin (changing order didn't help) wired connections started working as expected (they survive reboot and I can even change their names).

Unfortunately, as a side effect, I couldn't connect to my WPA2 wifi network with something like this in the logs:

Feb 20 18:18:08 [NetworkManager] <info> Config: added 'ssid' value 'XXXX'
Feb 20 18:18:08 [NetworkManager] <info> Config: added 'scan_ssid' value '1'
Feb 20 18:18:08 [NetworkManager] <info> Config: added 'key_mgmt' value 'WPA-PSK'
Feb 20 18:18:08 [NetworkManager] <info> Config: added 'psk' value '<omitted>'
Feb 20 18:18:08 [NetworkManager] <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Feb 20 18:18:08 [NetworkManager] <info> Config: set interface ap_scan to 1
Feb 20 18:18:09 [NetworkManager] <info> (wlan0): supplicant interface state: disconnected -> scanning
Feb 20 18:18:10 [kernel] [  515.329818] wlan0: authenticate with XX:XX:XX:XX:XX:XX
Feb 20 18:18:10 [kernel] [  515.345007] wlan0: send auth to XX:XX:XX:XX:XX:XX (try 1/3)
Feb 20 18:18:10 [kernel] [  515.345032] wlan0: authenticated
Feb 20 18:18:10 [NetworkManager] <info> (wlan0): supplicant interface state: scanning -> authenticating
Feb 20 18:18:10 [NetworkManager] <info> (wlan0): supplicant interface state: authenticating -> associating
Feb 20 18:18:10 [kernel] [  515.352310] wlan0: associate with XX:XX:XX:XX:XX:XX (try 1/3)
Feb 20 18:18:10 [kernel] [  515.552932] wlan0: associate with XX:XX:XX:XX:XX:XX (try 2/3)
Feb 20 18:18:11 [kernel] [  515.753526] wlan0: associate with XX:XX:XX:XX:XX:XX (try 3/3)
Feb 20 18:18:11 [kernel] [  515.954138] wlan0: association with XX:XX:XX:XX:XX:XX timed out
Feb 20 18:18:11 [NetworkManager] <info> (wlan0): supplicant interface state: associating -> disconnected
Feb 20 18:18:16 [NetworkManager] <info> (wlan0): supplicant interface state: disconnected -> scanning
Feb 20 18:18:17 [kernel] [  521.880063] wlan0: authenticate with XX:XX:XX:XX:XX:XX
Feb 20 18:18:17 [kernel] [  521.893073] wlan0: send auth to XX:XX:XX:XX:XX:XX (try 1/3)
Feb 20 18:18:17 [NetworkManager] <info> (wlan0): supplicant interface state: scanning -> authenticating
Feb 20 18:18:17 [kernel] [  522.093189] wlan0: send auth to XX:XX:XX:XX:XX:XX (try 2/3)
Feb 20 18:18:17 [kernel] [  522.293793] wlan0: send auth to XX:XX:XX:XX:XX:XX (try 3/3)
Feb 20 18:18:17 [kernel] [  522.494404] wlan0: authentication with XX:XX:XX:XX:XX:XX timed out
Feb 20 18:18:23 [kernel] [  528.430252] wlan0: authenticate with XX:XX:XX:XX:XX:XX
Feb 20 18:18:23 [kernel] [  528.444418] wlan0: send auth to XX:XX:XX:XX:XX:XX (try 1/3)
Feb 20 18:18:23 [kernel] [  528.444452] wlan0: authenticated
Feb 20 18:18:23 [NetworkManager] <info> (wlan0): supplicant interface state: authenticating -> associating
Feb 20 18:18:23 [kernel] [  528.451805] wlan0: associate with XX:XX:XX:XX:XX:XX (try 1/3)
Feb 20 18:18:23 [kernel] [  528.652412] wlan0: associate with XX:XX:XX:XX:XX:XX (try 2/3)
Feb 20 18:18:24 [kernel] [  528.853021] wlan0: associate with XX:XX:XX:XX:XX:XX (try 3/3)
Feb 20 18:18:24 [kernel] [  529.053630] wlan0: association with XX:XX:XX:XX:XX:XX timed out
Feb 20 18:18:24 [NetworkManager] <info> (wlan0): supplicant interface state: associating -> disconnected
Feb 20 18:18:29 [NetworkManager] <info> (wlan0): supplicant interface state: disconnected -> scanning

I rechecked configuration a couple of times and it seemd OK. (I masked some values by XXXX.)

Anyways, restoring ifnet (so that ifnet and keyfile are active) helped with wifi and it seems wired connections that I configured with keyfile also work. I'll need to make sure wired conns are managed by ifnet and wifi by keyfile.
Comment 5 Pacho Ramos gentoo-dev 2013-06-16 12:08:15 UTC
Still valid with
Comment 6 haarp 2013-08-25 13:55:07 UTC
(In reply to Pacho Ramos from comment #5)
> Still valid with

Yes. The 802.1x configuration is not saved at all, it is only kept in memory during NM's runtime.

Disabling the ifnet plugin solves this problem, along with a huge host of other bugs caused by it. I don't have any problems connecting to wireless without it, either.
Comment 7 Pacho Ramos gentoo-dev 2013-12-09 08:51:52 UTC
Maybe reporting to upstream could help (at least an upstream maintainer helps us with making NM "happier" with Gentoo) ->

When reported, please post the link here to let us track
Comment 8 haarp 2013-12-09 09:31:49 UTC
(In reply to Pacho Ramos from comment #7)
> Maybe reporting to upstream could help (at least an upstream maintainer
> helps us with making NM "happier" with Gentoo) ->
> When reported, please post the link here to let us track

Isn't the ifnet plugin an exclusively Gentoo thing?
Comment 9 Pacho Ramos gentoo-dev 2013-12-09 09:39:16 UTC
But it was upstreamed long time ago (like the plugin for opensuse, for example)
Comment 10 Pacho Ramos gentoo-dev 2014-10-13 20:50:27 UTC
+*networkmanager- (13 Oct 2014)
+  13 Oct 2014; Pacho Ramos <>
+  +files/networkmanager-,
+  +networkmanager-
+  Ifnet plugin is now disabled because of it being unattended and unmaintained
+  for a long time, leading to some unfixed bugs and new problems appearing
+  (#443596, #458274, #493370, #498372, #523700). If some day somebody volunteers
+  for fixing/maintaining that plugin and forwarding all that fixes to upstream
+  it could be re-enabled of course. Append configure option regarding systemd
+  unit files install path only when systemd support is enabled to prevent
+  HAVE_SYSTEMD to be true (#524534 by Konstantin Ivanov). Ensure arping is found
+  (#523632 by Kobboi).