Bug 422694 - Allow changing IP range for shared connections in the GUI
Summary: Allow changing IP range for shared connections in the GUI
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (other bugs)
Version First Reported In: master
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-09 21:36 UTC by Markus Pielmeier
Modified: 2025-06-10 17:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Pielmeier 2020-06-09 21:36:31 UTC
SUMMARY
nmcli allows specifying custom IP ranges for shared connections.
plasma-nm does not support this and will overwrite these settings

STEPS TO REPRODUCE
1. Create a new shared ethernet or wifi connection using cli or gui
2. Change ip range using cli: `nmcli connection modify $ID +ipv4.addresses 192.168.5.1/24`
4. Observe change took place: `nmcli connection show $ID | grep ipv4.adresses` yields `ipv4.addresses: 192.168.5.1/24`
3. Activate connection using cli or gui
4. Observe dnsmasq is launched with correct ip: `ps aux | grep dnsmasq` yields ... "--listen-address=192.168.5.1" ...

TRIGGER BUG:
5. Perform any modification in the gui (eg renaming the connection) and press apply

OBSERVED RESULT:
6. `nmcli connection show $ID | grep ipv4.adresses` yields "ipv4.addresses: --"
7. dnsmasq uses default IP range of 10.42.0.1

EXPECTED RESULT:
plasma-nm should not delete ipv4.addresses
6. `nmcli connection show $ID | grep ipv4.adresses` yields "ipv4.addresses: 192.168.5.1/24"
7. dnsmasq still uses the specified range


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.04
KDE Plasma Version:  5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
NetworkManager version: 1.22.10
Comment 1 Ben Cooksley 2024-12-23 18:23:38 UTC
Bulk transfer as requested in T17796