Summary: | >=net-misc/networkmanager-0.8.998: autoconnect and user connecting does no longer work | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jürgen Geuter <tante> |
Component: | [OLD] GNOME | Assignee: | Nirbheek Chauhan (RETIRED) <nirbheek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bkohler, dberkholz, lmedinas, qiaomuf, schlotzky, tetromino |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jürgen Geuter
2011-04-19 13:34:18 UTC
emerge --info: Portage 2.2.0_alpha29 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.0.2 Timestamp of tree: Tue, 19 Apr 2011 12:45:01 +0000 app-shells/bash: 4.2_p8 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.38 virtual/os-headers: 0 Repositories: gentoo tante mozilla sunrise flameeyes-overlay science gnome local_Overlay Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://lug.mtu.edu/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.pair.com/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en de" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/tante /var/lib/layman/mozilla /var/lib/layman/sunrise /var/lib/layman/flameeyes-overlay /var/lib/layman/science /var/lib/layman/gnome /usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi administrator aim alsa amarok amazon amd64 ao apache2 apng applet async audiofile autoipd automount avahi bash-completion berkdb bluetooth bogofilter bonjour branding bzip2 cairo canberra caps cdb cdda cddb cdio cdparanoia cdr chroot cleartype cli colordiff consolekit corefonts cracklib crypt cscope css cups curl cvs cxx daap dbus device-mapper dhclient disk-partition dri dts dvd dvdr eds emboss enca encode esd exif expat ext4 fam fat ffmpeg firefox flac flickr fontconfig fortran fts fts3 fuse galago gconf gd gdbm gdm gdu gedit geoip gif gimp glade glib gmail gmp gnome gnome-keyring gnutls gpg gphoto2 gpm grub gstreamer gtk gtk3 gtkhtml gzip hdaps hddtemp ibam icons iconv icq icu id3 id3tag imagemagick imap imlib imlib2 indicate introspection ipod ipv6 jabber java6 javascript john jpeg jpeg2k json kpathsea lame laptop latex lcms libgda libnotify libsamplerate libwww lm_sensors loop-aes lvm mad maildir matroska mdnsresponder-compat mikmod mime mjpeg mmap mmx mng modules mono moonlight mozdevelop mp3 mp4 mpeg mpeg2 mplayer msn mudflap multilib music musicbrainz mysql nautilus ncurses network networkmanager nfs nls nptl nptlonly nsplugin ntfs ntp obex offensive ogg ogg123 openal opengl openid openmp oscar pam pango parport parted pcmcia pcre pdf pdo perl php pidgin pixmaps plugins png podcast policykit pop posix postgres postscript ppds pppd pulseaudio python pyzord qemu query-browser rar rdesktop readline reflection reiserfs rss samba sdl session sharedmem silc simplexml smp sndfile sockets spell sql sqlite sqlite3 sse sse2 ssl startup-notification stream subversion svg sysfs syslog t1lib taglib tagwriting talkfilters tcpd tetex theora threads tidy tiff totem transcode truetype twolame type1 udev unicode unzip upnp usb v4l2 vcd vcdx vhosts vim-syntax vnc vorbis wav webdav webdav-neon wifi wmf wps wxwindows x264 xattr xcb xcf xcomposite xetex xft xine xinerama xml xmlrpc xorg xosd xpm xrandr xscreensaver xulrunner xv xvid yahoo zeitgeist zeroconf zip zlib" ALSA_CARDS="hda-intel" 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="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I'm seeing the *exact* same symptoms. Thought I was doing something wrong until I heard his report. After a fresh reboot/login, no networks are connected (even though I've entered the WPA key & enabled autoconnect a dozen times). I pick my normal network, it wants the root pass twice, then still needs the WPA key again. I should add that I also have to re-enter the network's WPA key when wanting to connect. Do you have a polkit agent running in your session ? (In reply to comment #4) > Do you have a polkit agent running in your session ? I am not completely sure but if I run: /usr/libexec/polkit-gnome-authentication-agent-1 I get the error message: Cannot register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject So I guess I do? But there is no polkit-agent thingy running, only polkitd running as user root. I just ran "pkaction" to see what my user is allowed to do: org.freedesktop.ModemManager.Contacts org.freedesktop.ModemManager.Device.Control org.freedesktop.ModemManager.Device.Info org.freedesktop.ModemManager.Location org.freedesktop.ModemManager.SMS org.freedesktop.ModemManager.USSD org.freedesktop.NetworkManager.enable-disable-network org.freedesktop.NetworkManager.enable-disable-wifi org.freedesktop.NetworkManager.enable-disable-wimax org.freedesktop.NetworkManager.enable-disable-wwan org.freedesktop.NetworkManager.network-control org.freedesktop.NetworkManager.settings.modify.hostname org.freedesktop.NetworkManager.settings.modify.own org.freedesktop.NetworkManager.settings.modify.system org.freedesktop.NetworkManager.sleep-wake org.freedesktop.NetworkManager.wifi.share.open org.freedesktop.NetworkManager.wifi.share.protected org.freedesktop.accounts.change-own-user-data org.freedesktop.accounts.set-login-option org.freedesktop.accounts.user-administration org.freedesktop.consolekit.system.restart org.freedesktop.consolekit.system.restart-multiple-users org.freedesktop.consolekit.system.stop org.freedesktop.consolekit.system.stop-multiple-users org.freedesktop.policykit.exec org.freedesktop.policykit.lockdown org.freedesktop.udisks.cancel-job-others org.freedesktop.udisks.change org.freedesktop.udisks.change-system-internal org.freedesktop.udisks.drive-ata-smart-refresh org.freedesktop.udisks.drive-ata-smart-retrieve-historical-data org.freedesktop.udisks.drive-ata-smart-selftest org.freedesktop.udisks.drive-detach org.freedesktop.udisks.drive-eject org.freedesktop.udisks.drive-set-spindown org.freedesktop.udisks.filesystem-check org.freedesktop.udisks.filesystem-check-system-internal org.freedesktop.udisks.filesystem-lsof org.freedesktop.udisks.filesystem-lsof-system-internal org.freedesktop.udisks.filesystem-mount org.freedesktop.udisks.filesystem-mount-system-internal org.freedesktop.udisks.filesystem-unmount-others org.freedesktop.udisks.inhibit-polling org.freedesktop.udisks.linux-lvm2 org.freedesktop.udisks.linux-md org.freedesktop.udisks.luks-lock-others org.freedesktop.udisks.luks-unlock org.freedesktop.upower.hibernate org.freedesktop.upower.qos.cancel-request org.freedesktop.upower.qos.request-latency org.freedesktop.upower.qos.request-latency-persistent org.freedesktop.upower.qos.set-minimum-latency org.freedesktop.upower.suspend org.gnome.gconf.defaults.set-mandatory org.gnome.gconf.defaults.set-system org.gnome.power.backlight-helper org.gnome.settingsdaemon.datetimemechanism.configure So I am allowed to do _some_ things with NetworkManager. Note: you do NOT need the polkit-gnome authentication agent running while GNOME Shell is running. You do need it for the fallback mode, however. Are these 2 separate issues, first the double-root-password for making changes, then the forgotten-wifi-settings? Bug 363063 shows the forgotten-wifi-settings symptoms. I found the following workaround: If I open "nm-connection-editor" and explicitly tell NetworkManager to ignore the IPV6 options for the connection I have set up, it works automatically (my home router does not supply IPV6 IPs). So it seems to be NetworkManager automatically assuming that ipv6 is required for a connection to be OK. How that ties in with the rest of the symptoms (the having to enter root pw twice as well as the "forgetting of the PSK") I don't really know. I remember having had the same problem for a few days, but it was fixed earlier this month, I am guessing by the net-misc/networkmanager-0.8.999 update. Are you still experiencing this issue after updating to the current state of the overlay? FWIW, I'm still seeing the same issues in net-misc/networkmanager-0.8.9997 Hi guys, I had the same problem. For me disabling the 'ifnet' plugin in /etc/NetworkManager/nm-system-settings.conf solved it. Now networkmanager stores connection specific information in files in /etc/NetworkManager/system-connections/ Below are the contents of my /etc/NetworkManager/nm-system-settings.conf : [main] #plugins=ifnet,keyfile plugins=keyfile [ifnet] managed=true auto_refresh=false Wow, this worked for me! After changing the setting, next time I started I had to do the same root pass x 2, then wifi key, but THEN it actually remembered it. After next reboot, it did indeed autoconnect to the AP. Still valid with latest versions in the tree? I just tried with 0.9.2 with a fresh set of configs. I'm not seeing the root password issue at all. I am seeing that with plugins=ifnet,keyfile set, it tries to put a bunch of junk in my /etc/conf.d/net file, and saves nothing in /etc/NetworkManager/system-connections/. So @ next reboot, it goes nutso trying to bring up net.lo AND NM doesn't remember the connection. With this changed to plugins=keyfile, it saves the connection in /etc/NetworkManager/system-connections/, and does not mess with my gentoo net config. Isn't this what we want? BTW this is plugins= in /etc/NetworkManager/nm-system-settings.conf Shouldn't we just edit this config so it only uses plugins=keyfile (and doesn't mess with gentoo's conf.d/net), and things will be groovy? Or am I oversimplifying this? (In reply to comment #15) > I just tried with 0.9.2 with a fresh set of configs. I'm not seeing the > root password issue at all. I am seeing that with plugins=ifnet,keyfile > set, it tries to put a bunch of junk in my /etc/conf.d/net file, and saves > nothing in /etc/NetworkManager/system-connections/. So @ next reboot, it > goes nutso trying to bring up net.lo AND NM doesn't remember the connection. > It's a different problem, please check with latest version and report a separate bug if still valid > With this changed to plugins=keyfile, it saves the connection in > /etc/NetworkManager/system-connections/, and does not mess with my gentoo > net config. Isn't this what we want? > > BTW this is plugins= in /etc/NetworkManager/nm-system-settings.conf |