lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.15k stars 294 forks source link

Use NetworkManager to manage hotspot when possible. #284

Open dingdang66686 opened 1 year ago

dingdang66686 commented 1 year ago

Is your feature request related to a problem? Please describe. Nope.

Describe the solution you'd like NetworkManager is installed on most linux desktops and it is able to manage wireless hotspot. We can create a virtual interface and let NetworkManager do the rest.

Additional context NetworkManager isn't able to create a virtual interface (AFAIK). But when the interface is created, NetworkManager can recognize it and use it to create a hotspot. It will spawn a dnsmasq for DHCP advertising and DNS name resolving and set up the iptables rules automatically.