Skip to content

Instantly share code, notes, and snippets.

@delirehberi
delirehberi / create-hotspot.md
Last active March 14, 2023 17:09 — forked from narate/create-hotspot.md
Create Wi-Fi Hotspot on Linux using nmcli

Create a Wi-Fi hotspot on Linux using nmcli

Original post : https://unix.stackexchange.com/a/310699

nmcli con add type wifi ifname wlp0s20f3 con-name delirehberiwifi autoconnect yes ssid delirehberiwifi
nmcli con modify delirehberiwifi 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify delirehberiwifi wifi-sec.key-mgmt wpa-psk
nmcli con modify delirehberiwifi wifi-sec.psk "deliloy1542"