Created
April 15, 2021 15:36
-
-
Save pas-calc/c0d0cb33b5723ce9aa4aa8f43783f809 to your computer and use it in GitHub Desktop.
activate WiFi hotspot at computer (internet connected via cable, and has additional WLAN network card)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Terminal=true | |
Icon=/usr/share/icons/Adwaita/scalable/status/network-wireless-hotspot-symbolic.svg | |
Exec=bash -c 'echo "Connecting..." && sleep 3 && echo "Set Networking ON..." && nmcli networking on && sleep 3 && echo "Set WIFI on..." && nmcli radio wifi on && sleep 3 && echo "Set Hotspot UP..." && nmcli connection up "Hotspot" && echo "done." && sleep 3 && read -t1 -n 1 -s -r -p "Press any key to continue"' | |
Name=Hotspot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment