Bug 296688

Summary: plasma-widget-network-manager report wrong ip address after manual change
Product: Network Management Reporter: Maarten Bezemer <maarten.bezemer>
Component: Plasma WidgetAssignee: Sebastian Kügler <sebas>
Status: RESOLVED UPSTREAM    
Severity: normal CC: lamarque, wstephenson
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/plasma-widget-networkmanagement/+bug/362555
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maarten Bezemer 2012-03-24 16:43:04 UTC
User-Agent:       Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.10.269 Version/12.00
Build Identifier: 

As reported on LP: https://bugs.launchpad.net/ubuntu/+source/plasma-widget-networkmanagement/+bug/362555

After a quite long uptime my ip address is changed from 192.168.1.100 to 192.168.1.101, but the network manager (plasma-widget-network-manager) still report the old ip address.

It happen every time I reboot my router (and dhcp server)...

Network Manager (or plasma-widget-network-manager) should be able to show the current ip address, and not just the one obtained a week ago.

Reproducible: Always

Steps to Reproduce:
1. Obtain an address via DHCP (i don't know if the problem exists even with a static address... may be)
2. Change the address manually with ifconfig...
3. Take a look at the network-manager widget and see the old address...
Actual Results:  
The old address (obtained at step 1) is still shown

Expected Results:  
It is expected to see the newly configured address (from step 2)
Comment 1 Lamarque V. Souza 2012-03-25 15:57:57 UTC
Plasma NM retrieves the IP address (from NetworkManager) when NetworkManager signals a state change on the interface. If NetworkManager is not aware of the IP change then there is nothing we can do about it.