Is there any way to enable a pre-configured Wi-Fi hotspot from a shell script/command line without going to Settings
> Wi-Fi
> (settings icon)
> Turn On Wi-Fi Hotspot...
> Turn On
?
Is there any way to enable a pre-configured Wi-Fi hotspot from a shell script/command line without going to Settings
> Wi-Fi
> (settings icon)
> Turn On Wi-Fi Hotspot...
> Turn On
?
Based on @PRATAP's answer:
Where
<SSID>
is likelyHotspot
(can check this by runningnm-connection-editor
or going toSettings
>Wi-Fi
>(settings icon)
>Connect to Hidden Wi-Fi Network...
>Connection
).nmcli connection up
/down
also works for normal (non-hotspot) networks.