Reason 38 in Network Manager @ Ubuntu 10.04

Today I witnessed some weird behaviours in Ubuntu Lucid’s network-manager (0.8-0ubuntu3.2). All my wired connections have disappeared and have been replaced by this:

This comes together with some weird errors in the daemon.log:

NetworkManager: (eth0): device state change: 7 -> 3 (reason 38)
NetworkManager: (eth0): deactivating device (reason: 38).
NetworkManager: (eth0): canceled DHCP transaction, dhcp client pid 3721

NetworkManager: user_connection_get_settings_cb(): Couldn't retrieve connection settings: Method "GetSettings" with signature "" on interface "org.freedesktop.NetworkManagerSettings.Connection" doesn't exist#012.

user_connection_updated_cb: assertion `old_connection != NULL' failed

After searching in Google in vain, I decided that I must have broken it somehow. Maybe importing the old connections from another Ubuntu (I guess exporting and importing gconf’s XML is a high-risk operation). Well, the workaround is:

  • Check the system’s Network Manager configuration: in my case my MAC was kind of blacklisted: /etc/NetworkManager/nm-system-settings.conf

  • #no-auto-default=00:21:cc:6f:74:51,

  • Add a new connection “for all users”. This way the connection is stored in /etc instead of in gconf.
  • It’s not the perfect solution but it works :)

    Post a comment.