Utoljára aktív 1 month ago

Create Wi-Fi Hotspot on Linux using nmcli

Narate Ketram gist felülvizsgálása 8 years ago. Revízióhoz ugrás

1 file changed, 1 insertion, 1 deletion

create-hotspot.md

@@ -12,7 +12,7 @@ nmcli con up Hostspot
12 12 ```
13 13
14 14 # Note
15 - After reboot `nmcli con up Hotspot` doesn't work
15 + If after reboot `nmcli con up Hotspot` doesn't work
16 16
17 17 Use this command instead to start Hotspot
18 18

Narate Ketram gist felülvizsgálása 8 years ago. Revízióhoz ugrás

1 file changed, 1 insertion, 1 deletion

create-hotspot.md

@@ -4,7 +4,7 @@
4 4 Original post : `https://unix.stackexchange.com/a/310699`
5 5
6 6 ```
7 - nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect no ssid Hostspot
7 + nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid Hostspot
8 8 nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
9 9 nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
10 10 nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"

Narate Ketram gist felülvizsgálása 8 years ago. Revízióhoz ugrás

1 file changed, 1 insertion, 1 deletion

create-hotspot.md

@@ -1,5 +1,5 @@
1 1
2 - # Create a Wi-Fi hotspot on Linux uning `nmcli`
2 + # Create a Wi-Fi hotspot on Linux using `nmcli`
3 3
4 4 Original post : `https://unix.stackexchange.com/a/310699`
5 5

Narate Ketram gist felülvizsgálása 8 years ago. Revízióhoz ugrás

1 file changed, 1 insertion, 1 deletion

create-hotspot.md

@@ -1,5 +1,5 @@
1 1
2 - # Create Wi-Fi hotspot on Linux unign `nmcli`
2 + # Create a Wi-Fi hotspot on Linux uning `nmcli`
3 3
4 4 Original post : `https://unix.stackexchange.com/a/310699`
5 5

Narate Ketram gist felülvizsgálása 8 years ago. Revízióhoz ugrás

1 file changed, 1 insertion, 1 deletion

create-hotspot.md

@@ -17,6 +17,6 @@ After reboot `nmcli con up Hotspot` doesn't work
17 17 Use this command instead to start Hotspot
18 18
19 19 ```
20 - UUID=#(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2)
20 + UUID=$(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2)
21 21 nmcli con up uuid $UUID
22 22 ```

Narate Ketram gist felülvizsgálása 8 years ago. Revízióhoz ugrás

1 file changed, 1 insertion, 1 deletion

create-hotspot.md

@@ -14,7 +14,7 @@ nmcli con up Hostspot
14 14 # Note
15 15 After reboot `nmcli con up Hotspot` doesn't work
16 16
17 - Use this command instead
17 + Use this command instead to start Hotspot
18 18
19 19 ```
20 20 UUID=#(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2)

Narate Ketram gist felülvizsgálása 8 years ago. Revízióhoz ugrás

1 file changed, 4 insertions, 1 deletion

create-hotspot.md

@@ -1,7 +1,7 @@
1 1
2 2 # Create Wi-Fi hotspot on Linux unign `nmcli`
3 3
4 - > Original post : `https://unix.stackexchange.com/a/310699`
4 + Original post : `https://unix.stackexchange.com/a/310699`
5 5
6 6 ```
7 7 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
10 10 nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
11 11 nmcli con up Hostspot
12 12 ```
13 +
13 14 # Note
14 15 After reboot `nmcli con up Hotspot` doesn't work
16 +
15 17 Use this command instead
18 +
16 19 ```
17 20 UUID=#(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2)
18 21 nmcli con up uuid $UUID

Narate Ketram gist felülvizsgálása 8 years ago. Revízióhoz ugrás

2 files changed, 19 insertions, 14 deletions

create-hotspot.md(fájl létrehozva)

@@ -0,0 +1,19 @@
1 +
2 + # Create Wi-Fi hotspot on Linux unign `nmcli`
3 +
4 + > Original post : `https://unix.stackexchange.com/a/310699`
5 +
6 + ```
7 + nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect no ssid Hostspot
8 + nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
9 + nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
10 + nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
11 + nmcli con up Hostspot
12 + ```
13 + # Note
14 + After reboot `nmcli con up Hotspot` doesn't work
15 + Use this command instead
16 + ```
17 + UUID=#(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2)
18 + nmcli con up uuid $UUID
19 + ```

create-hotspot.sh (fájl törölve)

@@ -1,14 +0,0 @@
1 - #!/bin/bash
2 - echo 'Original post : https://unix.stackexchange.com/a/310699'
3 -
4 - nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect no ssid Hostspot
5 - nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
6 - nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
7 - nmcli conn modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
8 - nmcli con up Hostspot
9 -
10 - # Note after reboot `nmcli con up Hotspot` doesn't work
11 - # Use this command instead
12 - #-------------------------
13 - # UUID=#(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2)
14 - # nmcli con up uuid $UUID

Narate Ketram gist felülvizsgálása 8 years ago. Revízióhoz ugrás

1 file changed, 14 insertions

create-hotspot.sh(fájl létrehozva)

@@ -0,0 +1,14 @@
1 + #!/bin/bash
2 + echo 'Original post : https://unix.stackexchange.com/a/310699'
3 +
4 + nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect no ssid Hostspot
5 + nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
6 + nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
7 + nmcli conn modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
8 + nmcli con up Hostspot
9 +
10 + # Note after reboot `nmcli con up Hotspot` doesn't work
11 + # Use this command instead
12 + #-------------------------
13 + # UUID=#(grep uuid /etc/NetworkManager/system-connections/Hotspot | cut -d= -f2)
14 + # nmcli con up uuid $UUID
Újabb Régebbi