Page MenuHomeSolus

NM dnsmasq isolation for wifi-ap
ClosedPublic

Authored by Psi-Jack on Jun 30 2018, 4:26 PM.
Tags
None
Referenced Files
F11019889: D3191.id7927.diff
Sun, Aug 6, 11:30 PM
F11004373: D3191.diff
Tue, Aug 1, 12:57 AM
F10998151: D3191.diff
Thu, Jul 27, 6:48 PM
F10974501: D3191.id7962.diff
Sat, Jul 22, 12:50 AM
F10839932: D3191.id7962.diff
Jun 9 2023, 11:22 PM
F10839445: D3191.id7927.diff
Jun 9 2023, 8:46 PM
F10826856: D3191.diff
Jun 4 2023, 3:53 AM
F10812388: D3191.id.diff
May 31 2023, 6:46 AM
Subscribers

Details

Summary

Fixes T84 with D3190. This isolates NM to not use the system-wide
dnsmasq.conf and sets the dhcp-leasefile to NetworkManager's
NMSTATEDIR where it belongs in this instance.

Patch provided here has also been submitted and accepted upstream.

Side note: Though 1.12.0 should be binary compatible with previous
versions, Steam stopped working when testing 1.12.0, so I've kept
this back to 1.10.x series for the time being.

Test Plan

Using nmcli or nm-applet to test hotspot ap capability:

nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid Hostspot
nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
nmcli con up Hostspot

Also possible from nm-applet by creating a new connection, Setting it to
WiFi, changing the mode to Hotspot from Client, and setting the appropriate
SSID, Device, and Wi-Fi Security settings.

Diff Detail

Repository
R2155 network-manager
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sunnyflunk added a subscriber: sunnyflunk.

Note I'll switch out this patch with the upstream version (with the commit message etc). This is always preferable as it's easier to identify where it's from and that it's upstream. Also prefer .patch to .diff though I suppose it doesn't make much of a difference.

Also I think we decided that shifting the NM stack should happen with Gnome update (to ensure changes are implemented/fixed for Gnome/Budgie), so 1.10 is preferred atm.

This revision is now accepted and ready to land.Jul 2 2018, 12:56 AM
This revision was automatically updated to reflect the committed changes.