Ifnet updates for NetworkManager 0.9

NetworkManager 0.9 has changed a lot of stuff. Before NM 0.9, there are user connections and system connections. Ifnet plug-in is made to only take charge of system connections. But after NM 0.9, all connections become system connections and ifnet tries to manage all of them. Then some bad things might happen. The problem is reported by David Narvaez and he helped a lot on it. Bug #392409 is also caused by the problem. This is fixed in networkmanager-0.9.2.0-r2: if a user does not check “available to all users”, ifnet will not handle the connection any more and the default plug-in “keyfile” will do the job.

Another important change is that ifnet now supports openrc style. As bash arrays are not allowed by openrc, ifnet caused Bug #369711. After networkmanager-0.9.2.0-r2, ifnet can read both the old baselayout style (with bash arrays) and openrc style (without bash arrays), but it only writes to /etc/conf.d/net with openrc style.

About these ads

,

  1. #1 by Fitzcarraldo on January 5, 2012 - 8:58 pm

    I’m completely confused by NetworkManager 0.9.x, even after reading the two Bugzilla bug reports to which you referred.

    On my main laptop I’m using KDE 4.7.4, networkmanager-0.8.4.0-r2 and openrc-0.9.7, and they work perfectly with wired and wireless networks (unencrypted and encrypted). On another laptop I’m using E17 with networkmanager-0.8.4.0-r2 and nm-applet-0.8.4 and they work perfectly too.

    Is there a detailed ‘How to’ somewhere that explains precisely what one needs to configure in order to get NetworkManager 0.9.x, nm-applet 0.9.x and openrc-0.9.x to work? So far I have not had success connecting to encrypted wireless networks (but can connect successfully to wired networks) and had to revert to NetworkManager 0.8.4.0-r2 and nm-applet 0.8.4.

    I’ve read threads such as http://forums.gentoo.org/viewtopic-t-891698.html and tried the suggested edits to /etc/NetworkManager/nm-system-settings.conf without success. A comprehensive guide to upgrading from 0.8.x to 0.9.x is sorely needed. Google is showing me a few threads, but I can’t find a step-by-step guide. If you could point me to a good ‘How to’ I would appreciate it. Thanks.

    • #2 by qiaomuf on January 6, 2012 - 9:31 am

      So far, most of the problems are caused by ifnet plug-in. I see that you have already disabled it so everything should work fine. You should be able to find more information from /var/log/messages about the connection failure.

      • #3 by Fitzcarraldo on January 8, 2012 - 1:59 am

        I managed to get it working in the end. I merged networkmanager-0.9.2.0-r2, left the contents of /etc/NetworkManager/nm-system-settings.conf as:

        [main]
        plugins=ifnet,keyfile

        [ifnet]
        managed=true
        auto_refresh=false

        but I had to merge the kde-misc/networkmanagement-9999 ebuild from the sabayon-distro overlay, as it is written to cater for NetworkManager 0.9.x in KDE 4.7.4. Presumably when KDE 4.8 is released there will be a new version of kde-misc/networkmanagement from the KDE developers that caters for NetworkManager 0.9.x. Until then, the ebuild in the sabayon-distro overlay does nicely.

  2. #4 by Puji on March 19, 2012 - 12:37 am

    The rc1 version of openSUSE 12.1 is using version 0.9.1. One change is that for a personal network definition (one not defined as a system connection), the network key may now be stored in your own files or in kde-wallet. Using kde-wallet is no longer useless, as suggested in the main post.

  3. #5 by Jasa Pembuatan Website on July 6, 2013 - 11:21 pm

    visits my website:

    Jasa Pembuatan Website

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: