Bug 380797 - Cannot set MTU of wired connection
Summary: Cannot set MTU of wired connection
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (show other bugs)
Version: master
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-04 03:01 UTC by Neil Rickert
Modified: 2024-12-23 18:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Rickert 2017-06-04 03:01:14 UTC
I attempted to set MTU for wired connection to 1472 (recommended for IPv6 via 6rd).

Note: this is also reported as Bug 1042542 for opensuse (bugzilla.opensuse.org).

In the client, I made the change, then clicked "Okay" (or "Apply").  I expected a connection definition file (probably "Wired connection 1") to be save in "/etc/NetworkManager/system-connections" with the changed setting.  Instead, nothing happened.  I rebooted, and the MTU was still 1500.

I also have Gnome desktop installed.  I tried using the Gnome NetworkManager client, and changing the MTU there worked as expected (while logged into Gnome).
Comment 1 Jan Grulich 2017-06-05 06:47:49 UTC
I'm not able to reproduce this problem. If I change MTU to any value and click on apply, then checking the result it will be changed to the value I set.
Comment 2 Neil Rickert 2017-06-05 14:28:45 UTC
I am seeing the problem on openSUSE Tumbleweed (plasma-nm 5.10.0 -- actually called "plasma-nm5 there).

I am also seeing the problem on KaOS, with plasma-nm 5.9.5.1

With the way that openSUSE handles NM, there should have been a polkit window that popped up when I tried to save the changes.  But there was no such polkit popup.  Similarly, with KaOS, there was no polkit popup.

It's a while since I last used Fedora. But I seem to recall that it was more generous with allowing network config changes, so perhaps it would not have required a polkit query.
Comment 3 Jan Grulich 2017-06-12 07:42:37 UTC
What is your NetworkManager version?
Comment 4 Neil Rickert 2017-06-12 14:28:12 UTC
In openSUSE Tumbleweed, NetworkManager shows up as version 1.6.2.

On KaOS, where I also see this problem, NetworkManager appears to be version 1.8.0.
Comment 5 Neil Rickert 2017-06-13 00:05:27 UTC
Tumbleweed upgrade plasma-nm to version 5.10.1 today.  So I decided to retest.

The problem is still there.  But I paid closer attention to what is happening.

When I start editing the Wired connect settings, I see "Okay", "Apply" and "Cancel" buttons near the bottom of the screen.  But the "Apply" is grayed out, so cannot be used.

When I change something (I tried changing the MTU from 1472 to 1471), the "Apply" remains greyed out.  So the applet is not recognizing that there are changes that need to be saved.

By contrast, if I edit a "WiFi" connection settings, then the change of MTU from 1472 to 1471 (and then back to 1472) makes the Apply button active (not grayed out).
Comment 6 Jan Grulich 2017-06-13 07:02:57 UTC
Could you please check whether this is not a duplicate of bug 378554?
Comment 7 Neil Rickert 2017-06-13 12:41:00 UTC
>Could you please check whether this is not a duplicate of bug 378554?

Yes, it appears to be the same bug.

I set "allow auto-negotiation".  Then "Apply" was no longer grayed out.  I changed the MTU to 1471 and clicked "Apply" (and was prompted for root password).  Checking the connection file in "/etc/NetworkManager/system-connection", the MTU information had changed to 1471.

I was then prompted for the "kdewallet" key.  I'm not sure what that is about, since this is a wired connection.

I closed the connection editor.  Then I restarted it.  I could see that "allow auto-negotiation" was still checked.  I changed the MTU back to 1472.  And that caused "Apply" to no longer be grayed out.  And I was able to save those changes.
Comment 8 Jan Grulich 2017-06-13 13:04:22 UTC
Ok, I think we can consider this as solved.
Comment 9 Ben Cooksley 2024-12-23 18:25:47 UTC
Bulk transfer as requested in T17796