Bug 276110

Summary: Auto eth0 informations panel doesn't show ipv6 information
Product: [Unmaintained] Network Management Reporter: Bruno Friedmann <bruno>
Component: generalAssignee: Lamarque V. Souza <lamarque>
Status: RESOLVED FIXED    
Severity: normal CC: afiestas, jgrulich, lamarque, mail, martin.holec, meta
Priority: NOR    
Version: 0.9   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.3
Sentry Crash Report:
Attachments: No informations for ipv6

Description Bruno Friedmann 2011-06-20 10:11:49 UTC
Created attachment 61167 [details]
No informations for ipv6 

Version:           0.9 (using KDE 4.6.4) 
OS:                Linux

When connected to a ipv6 ready network 
where ip -6 addr return real addresses (not a fe80: local link) there's no informations about the ip(s) obtained 

One of the difficulties will reside in :

You have to show the permanent full ipv6 address, but you will have to present also the active non expired temporary address if ipv6 privacy is on

Reproducible: Always

Steps to Reproduce:
Connect to an ipv6 network. Get at least one full ipv6 address ( or more if ipv6 privacy is on ) 

Open the panel of Auto eth0 for example

Actual Results:  
only mac & ipv4 informations are shown

Expected Results:  
ipv4 & ipv6 informations should be accessible
Comment 1 Bruno Friedmann 2011-07-24 19:08:05 UTC
nm-09 is able to show those information 
here the output of nm-tool on a system configured in a full ipv6 stack


nm-tool 

NetworkManager Tool

State: connected (global)

- Device: eth0  [Auto eth0] ----------------------------------------------------
  Type:              Wired
  Driver:            e1000e
  State:             connected
  Default:           yes
  HW Address:        B8:AC:6F:CC:13:45

  Capabilities:
    Carrier Detect:  yes
    Speed:           1000 Mb/s

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         192.168.103.131
    Prefix:          27 (255.255.255.224)
    Gateway:         192.168.103.151

    DNS:             192.168.103.151
    DNS:             94.23.45.185

  IPv6 Settings:
    Address:         2001:1620:f7c:0:baac:6fff:fecc:1345
    Prefix:          64
    Gateway:         fe80::21d:60ff:fedc:9674

    Address:         fe80::baac:6fff:fecc:1345
    Prefix:          64
    Gateway:         fe80::21d:60ff:fedc:9674

                                                                                                                                                                   
                                                                                                                                                                   
- Device: wlan0 ----------------------------------------------------------------                                                                                   
  Type:              802.11 WiFi                                                                                                                                   
  Driver:            iwlagn                                                                                                                                        
  State:             disconnected                                                                                                                                  
  Default:           no                                                                                                                                            
  HW Address:        00:24:D7:CA:60:1C                                                                                                                             
                                                                                                                                                                   
  Capabilities:

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points 
    tirawifi01:      Infra, 00:1B:11:5F:62:FF, Freq 2437 MHz, Rate 54 Mb/s, Strength 25 WPA WPA2
    rcw-16695:       Infra, 00:24:37:AC:DE:00, Freq 2412 MHz, Rate 54 Mb/s, Strength 34 WPA WPA2
    WIFIIODA-WPA:    Infra, 00:1E:2A:21:F6:6C, Freq 2442 MHz, Rate 54 Mb/s, Strength 100 WPA2


Would be nice to have those information in PNM too.
Comment 2 Ilia Kats 2011-07-24 19:25:26 UTC
Yes, I know. However, due to the current design of PNM (and the current state of the nm09 branch), doing this would result in somewhat ugly code and cost a lot of effort (which would not make that much sense, since the current state is only provisionary). There are efforts to simplify our backend (libnm-qt), as soon as that is completed this bug will be attended to. And by the way, NM does not yet support IPv6 privacy, see https://bugzilla.gnome.org/show_bug.cgi?id=633233
Comment 3 Bruno Friedmann 2011-07-25 06:48:44 UTC
Thanks Ilia for the status, but in the bng you mention, it seems there's everything now for the privacy, except tests to see if it works like admins and users need it to work.

This extension can be a nice subject to a bof at DesktopSummit in Berlin :D
Comment 4 Ilia Kats 2011-07-25 14:29:42 UTC
Those patches have not been merged into NM's source yet, so unless you compile NM yourself with these patches, there is no IPv6 privacy support.
Comment 5 Will Stephenson 2011-12-08 11:40:39 UTC
Reassign Network Management bugs to new maintainer.  Have a lot of fun, Lamarque!
Comment 6 Bruno Friedmann 2012-05-14 11:32:19 UTC
Still the case with kde 4.8.3
Comment 7 mathew 2012-10-25 18:31:34 UTC
Still the case in KDE 4.9.2.

In fact, the Network Manager plasma applet outright lies to the user -- it says "IP address: No IP address", when typing "ip addr" in konsole shows that there's a perfectly valid IPv6 IP address.
Comment 8 Lamarque V. Souza 2012-12-18 17:51:23 UTC
*** Bug 311832 has been marked as a duplicate of this bug. ***
Comment 9 Alex Fiestas 2013-02-26 21:48:47 UTC
We are moving to a new and simpler code, bit of patience and we'll get this fixed.
Comment 10 Martin Holec 2013-02-27 12:44:36 UTC
Alex. let me guess, Qt Quick/QML?
Comment 11 Alex Fiestas 2013-02-27 13:06:00 UTC
Plus more things, we'll draft a plan in the incoming solid sprint
Comment 12 Lamarque V. Souza 2013-07-05 16:28:31 UTC
This is fixed in (yet to release) Plasma NM 0.9.3.
Comment 13 Jan Grulich 2013-09-30 16:29:38 UTC
Git commit 5b66171a7952b6f6af9b24b4a84c92427499dd8d by Jan Grulich.
Committed on 27/09/2013 at 11:16.
Pushed by grulich into branch 'nm09'.

Add IPv6 information into connection details

REVIEW:112963

M  +101  -18   applet/interfacedetailswidget.cpp
M  +4    -2    applet/interfacedetailswidget.h
M  +2    -0    backends/NetworkManager/CMakeLists.txt
A  +29   -0    backends/NetworkManager/nm-ip6-config-interface.cpp     [License: GENERATED FILE]  *
A  +62   -0    backends/NetworkManager/nm-ip6-config-interface.h     [License: GENERATED FILE]  *
M  +1    -1    backends/NetworkManager/settings/ipv6dbus.h
M  +1    -1    libs/internals/settings/ipv6.h
M  +1    -1    solidcontrolfuture/networkipv6config.h
M  +2    -2    solidcontrolfuture/solid/networkmanager-0.9/networkinterface.cpp

For those who still use the old networkmanagement applet