System: Ubuntu 18.04
solution: tools: iw, hostapd, iptables, udhcpd, udhcpc, macchanger
This is where I started: How do I create a WiFi hotspot sharing wireless internet connection (single adapter)?
The answer replied by Purushoth is not correct
I couldn't find "Edit Connections" from gnome desktop environment, so I tried other tools I could find (nmcli
, nmtui
).
The options were different, and I couldn't follow the steps, so I started to trace the code.
Here are the conclusion:
- NetworkManager and network-manager-applet are different projects,
nmcli
andnmtui
which belong to NetworkManager have few basic functoins. Only connetion-editor in network-manager-applet has the option "Shared to other computers". - You can't reach
nm-connection-editor
from the GUI in GNOME 3 with default. link - Install gnome-nettool:
sudo apt-get install gnome-nettool
, and you can find it ingnome-nettool
. Or just launch the programnm-connection-editor
via the Alt-F2 prompt or via a terminal.