nm-ifupdown-connection.c.82-connection update not supported (read-only)

上一篇 / 下一篇  2008-10-08 17:44:01 / 个人分类:linux os

昨天晚上升级到8.0.4后,今天早上上班,发现网络不能使用了,在配置网络的时候,只要点击保存按钮,就报

Updating connection failed: nm-ifupdown-connection.c.82-connection update not supported (read-only)

费了一上午的时间,(幸好老板不在.吼吼),终于解决该问题.
首先你要确定你的安装包是network-manager_0.7~~svn20081004t225044-0ubuntu1_i386.deb.
这时候,你还得安装network-manager-gnome_0.7~~svn20081005t082522-0ubuntu1_i386.deb
这两个包,通过apt-get dist-upgrade升级的时候,这些包都会下载到/var/cache/apt/archives/目录下.

你也可以加入源:sudo vim /etc/apt/sources.list/ 加入:

deb http://ppa.launchpad.net/fta/ubuntu hardy main
deb http://ppa.launchpad.net/network-manager/ubuntu hardy main
deb-src http://ppa.launchpad.net/network-manager/ubuntu hardy main
然后执行:sudo apt-get update ;sudo apt-get dist-upgrade;可以保证你的包是最新的

上面都搞定了,再看看第二步:
sudo vim /etc/NetworkManager/nm-system-settings.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

看看配置是否和上面一致.

最后一步,sudo /etc/init.d/networking restart

这样基本上就搞定了:



有兴趣的可以看看 network manager 修改了哪些babug
This bug was fixed in the package network-manager - 0.7~~svn20081004t225044-0ubuntu1

---------------
network-manager (0.7~~svn20081004t225044-0ubuntu1) intrepid; urgency=low

  new upstream snapshot: Sat 2008-10-04 22:50:44 (bzrrev 3602) from
  lp:~vcs-imports/network-manager/main branch

  * merging final revision of main.eni branch which brings
    us back to parity with upstream branch. features temporarily lost from
    "upstream" code base due to this
    + graceful defaults for ifupdown ip4settings
    + wep-tx-keyidx support
    + pre-run intltoolize
  * we run intltoolize -f -c in pre-build:: target
    - update debian/rules
  * drop lp276253_fix_system_hostname.patch; upstream behaviour became more
    graceful and we will add ifupdown plugin support to read/write
    /etc/hostname
    - delete debian/patches/lp276253_fix_system_hostname.patch
    - update debian/patches/series
  * enable ifupdown system-config-interface implementation by default
    (LP: #256054)
    - update debian/nm-system-settings.conf
  * rewrite README.Debian; we document "managed" vs. "unmanaged" mode as well
    as "dial up configurations"
    - update debian/README.Debian
  * reflect the implicit default mode (unmanaged) in default
    nm-system-settings.conf shipped by ubuntu package in intrepid
    - update debian/nm-system-settings.conf
  * (disabled) add code that enforces -Os instead of -O2
    - update debian/rules

  Cherry-Picking upstream submitted patches:
  * debian/patches/000-FIXCRASH-in-add_default_dhcp_connection.loom.patch:
    - fix crash of nm-system-settings when replugging devices that get a
      default connection created (wired)
  * debian/patches/001-IFUPDOWN-wep-tx-keyidx.loom.patch:
    - add support for wep-tx-keyidx wpa setting to ifupdown plugin
  * debian/patches/002-IFUPDOWN-hostname.loom.patch:
    - implement read/write support for /etc/hostname in ifupdown system config
  * debian/patches/003-IFUPDOWN-remove-unused-callbacks.loom.patch:
    - remove some unused callbacks (cleanup)
  * debian/patches/004-IFUPDOWN-devtracking.loom.patch:
    - add device tracking infrastructure - prepare managed/unmanaged mode
  * debian/patches/005-IFUPDOWN-unmanaged-mode.loom.patch:
    - implement global unmanaged mode (LP: #256054)
  * debian/patches/006-IFUPDOWN-parse-system-settings.loom.patch:
    - implement system-settings boolean key ifupdown:managed - default: false
      (LP: #256054)
  * debian/patches/007-IFUPDOWN-managed-mode.loom.patch:
    - implement managed-mode: update mac address of nm-wired/wirless-settings
      (LP: #256054)
  * debian/patches/008-BACKEND-debian-fallback-to-generic-loopback.loom.patch:
    - use ifconfig (instead of ifup) to bring up loopback. If ifconfig is not
      available we fallback to the generic (libnl based) implementation
      shipped by NetworkManager



TAG:

 

评分:0

我来说两句

Open Toolbar