After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 734337 - "Route" is not reset when change the network type
"Route" is not reset when change the network type
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Network
3.12.x
Other Linux
: Normal major
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 742025 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-08-06 08:03 UTC by romu
Modified: 2015-03-09 15:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
network: Don't save hidden configuration options (5.02 KB, patch)
2014-08-13 16:36 UTC, Bastien Nocera
committed Details | Review

Description romu 2014-08-06 08:03:37 UTC
Hi,
Found something strange in the network applet. I would not have issue if I would have used the network "profile", but I didn't know this feature.

Anyway, here is what I did :
1. Change me wired network from DHCP to a static one (address, mask and gateway)
-> did some work
2. Change back my network to DHCP

And here the problem began as the route stays locked to the one I previously entered for the static config.

I tried to restart the network service (Fedora), this didn't work, and finally, I had to restart my computer to get my network back.
Comment 1 Bastien Nocera 2014-08-07 16:50:39 UTC
I'm guessing this is the same as bug 734021?
Comment 2 romu 2014-08-10 14:40:29 UTC
Yes. I think so. Is it more clear for you now?
Comment 3 Bastien Nocera 2014-08-10 15:12:39 UTC
(In reply to comment #2)
> Yes. I think so. Is it more clear for you now?

This is a better explanation than the one in the other bug, certainly.

*** This bug has been marked as a duplicate of bug 734021 ***
Comment 4 Thomas Haller 2014-08-11 12:15:27 UTC
lets keep this bug open, to address the UI question in gnome-control-center.
Bug 734021 instead should address a similar issue for nm-applet.

Reopening, but have a look at https://bugzilla.gnome.org/show_bug.cgi?id=734021#c4
Comment 5 Bastien Nocera 2014-08-13 16:36:00 UTC
Created attachment 283314 [details] [review]
network: Don't save hidden configuration options

When switching from a particular IPv4 or IPv6 "addresses" method to
another, make sure that "address", "DNS" and "routes" are applied or
ignored depending on that method's capabilities.

For example, when switching from manual to automatic IPv4 "addresses"
method, we need to make sure that the old IP address, gateway, etc.
aren't actually used in the new setting.
Comment 6 romu 2014-08-14 12:49:15 UTC
Of course, the easiest way is to use the network "profile" feature, even if fixing a bug is always better.
Comment 7 Thomas Haller 2015-02-23 18:24:04 UTC
*** Bug 742025 has been marked as a duplicate of this bug. ***
Comment 8 Bastien Nocera 2015-03-09 15:56:24 UTC
Attachment 283314 [details] pushed as 33b1858 - network: Don't save hidden configuration options