HomeSolus

NM dnsmasq isolation for wifi-ap

Authored by Psi-Jack on Jul 2 2018, 12:56 AM.

Description

NM dnsmasq isolation for wifi-ap

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.

Reviewers: Triage Team, sunnyflunk

Reviewed By: Triage Team, sunnyflunk

Subscribers: sunnyflunk

Maniphest Tasks: T84

Differential Revision: https://dev.solus-project.com/D3191

Details

Committed
sunnyflunkJul 2 2018, 1:11 AM
Pushed
sunnyflunkJul 2 2018, 1:12 AM
Reviewer
Triage Team
Differential Revision
D3191: NM dnsmasq isolation for wifi-ap
Parents
R2155:7be457f792b4: Absorb some dependencies from the ISO definitions
Branches
Unknown
Tags
Unknown
Tasks
T84: Hotspot not working