https://bugs.kde.org/show_bug.cgi?id=413211

            Bug ID: 413211
           Summary: Wired connection default settings are misleading
           Product: plasma-nm
           Version: master
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: editor
          Assignee: jgrul...@redhat.com
          Reporter: dmitriyval...@gmail.com
  Target Milestone: ---

SUMMARY
Settings editor applet shows and saves hardcoded default ethernet settings for
connections without negotioation/speed/duplex explicitly saved. It leads to
saving connections with implicit (autonegotiation => auto 1Gb/s Full) as
explicit (no auto negotiation 100Mb/s Half).


STEPS TO REPRODUCE
1. Stop NetworkManager
2. Remove all wired connections in /etc/NetowrkManager/system-connections
(replicates clear distribution installation
3. Start NetowrkManager
4. Ensure you have a wired connections
5. Check connection settings via ethtool
6. Edit anything (e.g. DNS/VPN) in the newly created connection settings
7. Save settings
8. Disconnect and reconnect ethernet (via UI/CLI/physically)


OBSERVED RESULT
Connection become 100 Mb/s Half duplex no auto negotiation

EXPECTED RESULT
Connection stay whatever it was (presumably autonegotiation => auto 1Gb/s Full)

SOFTWARE/OS VERSIONS
Linux: 4.15+ (presumably any)
Distribution: OpenSUSE, Arch, Fedora (presumably any)
KDE Plasma Version: 5.16/5.17 (presumably any)
NetworkManager: 1.18/1.20 
Hardware: r8169/e1000e NIC (including qemu and virtualbox) (presumably any)

ADDITIONAL INFORMATION
Bug comes from interpreting {speed: 0, duplex: UnknownDuplex} at
libs/editor/settings/wiredconnectionwidget.cpp:63
(WiredConnectionWidget::loadConfig) as HalfDuplex 100 Mb/s from hardcoded
defaults.

SEVERITY
Note, that ANY change of ANY implicitly created wired connection on ANY stock
system leads to switching from default ethernet settings to rare and unexpected
mode for virtually no reason. This behaviour is obscure and may turn regular
users ot from using Linux/KDE due to slower "Internet"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to