Bug 1385198
Summary: | Network Manager incorrect MTU | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sergey Patsynyak <sergey.patsynyak> | ||||||
Component: | NetworkManager | Assignee: | Beniamino Galvani <bgalvani> | ||||||
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 25 | CC: | bgalvani, bogdan, dcbw, fgiudici, lkundrak, lrintel | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-05-05 10:19:51 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Sergey Patsynyak
2016-10-15 03:27:24 UTC
Created attachment 1213250 [details]
[PATCH] device: properly handle MTU for devices with @iface != @ip_iface
Created attachment 1213251 [details]
[PATCH] editor: disable MTU spin button in Ethernet page for PPPoE connections
There is a regression in NM that causes an incorrect default MTU value to be set for PPP devices; the first patch fixes it. If you want to set a manual MTU, this is not possible at the moment with the connection-editor GUI. The MTU property in the Ethernet page has no effect for PPPoE connections and should be probably disabled (patch 2). Note that the GUI doesn't support all possible properties of a connection, but only a subset of the most common and useful ones. You can change the PPP MTU from the command line with: $ nmcli connection modify <ppp-con-name> ppp.mtu 1492 Both patches looks all right. They both look good to me too. Applied: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=00ce005e51b26603c05fae99df401127ee68348d https://git.gnome.org/browse/network-manager-applet/commit/?id=518dde27d2a0e7f9409db069eda373390d91ff8b *** Bug 1405545 has been marked as a duplicate of this bug. *** Hi Beniamino, unfortunately I can't test your patches. I have fedora 26 alpha and I can't connect in LiveCD (as I usually could). [1493590794.9258] keyfile: add connection /etc/NetworkManager/system-connections/Televox (05d5da0f-c805-4992-bb0e-8f0c07f1c568,"Televox") [1493590794.9273] audit: op="connection-add" uuid="05d5da0f-c805-4992-bb0e-8f0c07f1c568" name="Televox" pid=2537 uid=1000 result="success" [1493590817.0509] device (enp5s0): Activation: starting connection 'Televox' (05d5da0f-c805-4992-bb0e-8f0c07f1c568) [1493590817.0511] audit: op="connection-activate" uuid="05d5da0f-c805-4992-bb0e-8f0c07f1c568" name="Televox" pid=2590 uid=1000 result="success" [1493590817.0514] device (enp5s0): state change: disconnected -> prepare (reason 'none') [30 40 0] [1493590817.0517] manager: NetworkManager state is now CONNECTING [1493590817.0526] device (enp5s0): state change: prepare -> config (reason 'none') [40 50 0] [1493590817.0993] device (enp5s0): state change: config -> ip-config (reason 'none') [50 70 0] [1493590817.0996] device (enp5s0): PPPoE failed to start: the PPP plugin /usr/lib64/NetworkManager/libnm-ppp-plugin.so is not installed [1493590817.0997] device (enp5s0): state change: ip-config -> failed (reason 'ppp-start-failed') [70 120 12] [1493590817.1001] manager: NetworkManager state is now CONNECTED_LOCAL [1493590817.1010] device (enp5s0): Activation: failed for connection 'Televox' [1493590817.1041] device (enp5s0): state change: failed -> disconnected (reason 'none') [120 30 0] [1493590817.1085] connectivity: check for uri 'http://fedoraproject.org/static/hotspot.txt' failed with 'Error resolving “fedoraproject.org”: Name or [1493590859.2308] policy: auto-activating connection 'Wired connection 1' [1493590859.2329] device (enp5s0): Activation: starting connection 'Wired connection 1' (fe6b7137-2431-3781-93e9-0a7ffa8ea668) [1493590859.2336] device (enp5s0): state change: disconnected -> prepare (reason 'none') [30 40 0] [1493590859.2339] manager: NetworkManager state is now CONNECTING [1493590859.2357] device (enp5s0): state change: prepare -> config (reason 'none') [40 50 0] [1493590859.2716] device (enp5s0): state change: config -> ip-config (reason 'none') [50 70 0] [1493590859.2724] dhcp4 (enp5s0): activation: beginning transaction (timeout in 45 seconds) [1493590859.2759] dhcp4 (enp5s0): dhclient started with pid 2668 I'm not sure if I should create a new thread. (In reply to Sergey Patsynyak from comment #8) > Hi Beniamino, unfortunately I can't test your patches. I have fedora 26 > alpha and I can't connect in LiveCD (as I usually could). > > [1493590817.0996] device (enp5s0): PPPoE failed to start: the PPP plugin > /usr/lib64/NetworkManager/libnm-ppp-plugin.so is not installed PPP support was moved to a separate package to reduce the dependency chain of core NM package. Thus, on F26 you need to install the NetworkManager-ppp package to use PPP/PPPoE. Beniamino, both patches work perfectly. Thank you! |