-
-
Save Pupwiz/649690ec57320a7d1677ce655d3d9fc4 to your computer and use it in GitHub Desktop.
Revisions
-
narate revised this gist
May 18, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,7 @@ nmcli con up Hostspot ``` # Note If after reboot `nmcli con up Hotspot` doesn't work Use this command instead to start Hotspot -
narate revised this gist
May 18, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Original post : `https://unix.stackexchange.com/a/310699` ``` 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" -
narate revised this gist
May 18, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Create a Wi-Fi hotspot on Linux using `nmcli` Original post : `https://unix.stackexchange.com/a/310699` -
narate revised this gist
May 18, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Create a Wi-Fi hotspot on Linux uning `nmcli` Original post : `https://unix.stackexchange.com/a/310699` -
narate revised this gist
May 18, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -17,6 +17,6 @@ After reboot `nmcli con up Hotspot` doesn't work Use this command instead to start Hotspot ``` UUID=$(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2) nmcli con up uuid $UUID ``` -
narate revised this gist
May 18, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,7 @@ nmcli con up Hostspot # Note After reboot `nmcli con up Hotspot` doesn't work Use this command instead to start Hotspot ``` UUID=#(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2) -
narate revised this gist
May 18, 2017 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ # Create Wi-Fi hotspot on Linux unign `nmcli` Original post : `https://unix.stackexchange.com/a/310699` ``` nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect no ssid Hostspot @@ -10,9 +10,12 @@ nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234" nmcli con up Hostspot ``` # Note After reboot `nmcli con up Hotspot` doesn't work Use this command instead ``` UUID=#(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2) nmcli con up uuid $UUID -
narate revised this gist
May 18, 2017 . 2 changed files with 19 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # Create Wi-Fi hotspot on Linux unign `nmcli` > Original post : `https://unix.stackexchange.com/a/310699` ``` nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect no 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 ``` # Note After reboot `nmcli con up Hotspot` doesn't work Use this command instead ``` UUID=#(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2) nmcli con up uuid $UUID ``` This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,14 +0,0 @@ -
narate created this gist
May 18, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ #!/bin/bash echo 'Original post : https://unix.stackexchange.com/a/310699' nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect no 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 conn modify Hostspot wifi-sec.psk "veryveryhardpassword1234" nmcli con up Hostspot # Note after reboot `nmcli con up Hotspot` doesn't work # Use this command instead #------------------------- # UUID=#(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2) # nmcli con up uuid $UUID