Bug 209676 - knetworkmanager doesn't send ipv4 information to NetworkManager for DHCP-configured wireless connections (feature or bug?)
Summary: knetworkmanager doesn't send ipv4 information to NetworkManager for DHCP-conf...
Status: RESOLVED NOT A BUG
Alias: None
Product: knetworkmanager
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 22:00 UTC by Tamás Németh
Modified: 2009-10-06 22:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tamás Németh 2009-10-06 22:00:11 UTC
Version:           0.9.svn1028043 (using KDE 4.3.1)
OS:                Linux
Installed from:    SuSE RPMs

A DHCP configured WPA-Enterprise (PEAP/MSCHAPv2) connetcion entry looks this way when created by Gnome's nm-applet:

[Argument: a{sa{sv}}
{
   "802-11-wireless" = [Argument: a{sv}
   {
      "mode" = [Variant(QString): "infrastructure"],
      "seen-bssids" = [Variant(QStringList): {"00:1d:70:27:6d:a2", "00:1d:70:92:ec:40"}],
      "ssid" = [Variant(QByteArray): {78, 89, 77, 69, 49}],
      "security" = [Variant(QString): "802-11-wireless-security"]
   }],
   "ipv4" = [Argument: a{sv}
   {
      "routes" = [Variant: [Argument: aau {}]],
      "addresses" = [Variant: [Argument: aau {}]],
      "method" = [Variant(QString): "auto"],
      "dns" = [Variant: [Argument: au {}]]
   }],
   "802-11-wireless-security" = [Argument: a{sv}
   {
      "key-mgmt" = [Variant(QString): "wpa-eap"]
   }],
   "connection" = [Argument: a{sv}
   {
      "id" = [Variant(QString): "NYME1"],
      "timestamp" = [Variant(qulonglong): 1254844496],
      "uuid" = [Variant(QString): "9df67442-0c5d-4d8b-9a9d-88acec708fd6"],
      "type" = [Variant(QString): "802-11-wireless"]
   }],
   "802-1x" = [Argument: a{sv}
   {
      "phase1-peapver" = [Variant(QString): "0"],
      "eap" = [Variant(QStringList): {"peap"}],
      "phase2-auth" = [Variant(QString): "mschapv2"],
      "identity" = [Variant(QString): "nice"]
   }]
}]




The same network looks this way when created by KDE 4.3.1's knetworkmanager:

[Argument: a{sa{sv}} 
{
   "802-11-wireless" = [Argument: a{sv}
   {
      "mode" = [Variant(QString): "infrastructure"],
      "security" = [Variant(QString): "802-11-wireless-security"],
      "seen-bssids" = [Variant(QStringList): {"00:1D:70:92:EC:40", "00:1D:70:27:6D:A2", "00:1D:70:93:05:B2"}],
      "ssid" = [Variant(QByteArray): {78, 89, 77, 69, 49}]
   }],
   "802-11-wireless-security" = [Argument: a{sv}
   {
      "key-mgmt" = [Variant(QString): "wpa-eap"]
   }],
   "802-1x" = [Argument: a{sv}
   {
      "eap" = [Variant(QStringList): {"peap"}],
      "identity" = [Variant(QString): "nice"],
      "phase2-auth" = [Variant(QString): "mschapv2"],
      "system-ca-certs" = [Variant(bool): false]
   }],
   "connection" = [Argument: a{sv}
   {
      "autoconnect" = [Variant(bool): false],
      "id" = [Variant(QString): "NYME1"],
      "timestamp" = [Variant(uint): 1254843660],
      "type" = [Variant(QString): "802-11-wireless"],
      "uuid" = [Variant(QString): "ba4cfd3e-f1d5-4f7b-b808-cfc86461ca0a"]
   }]
}]


Note the missing ipv4 section! NetworkManager is complaining about this in /var/log/NetworkManager:

Oct  6 17:24:15 milleniumfalcon NetworkManager: <WARN>  update_one_setting(): Failed to update connection secrets: 1 ipv4

But in spite of this, connecting to the network succeds, and DHCP data is fetched and applied correctly. (I'm using NetworkManager 0.7.0.r4359 of openSUSE 11.1)

Is it a feature or a bug?
Comment 1 Will Stephenson 2009-10-06 22:26:20 UTC
Not a bug, just different - the connection is legal or NM would reject it on KNM startup.

Failed to update connection secrets: 1 ipv4 has a different cause and is harmless