Skip to content

Instantly share code, notes, and snippets.

@guschnwg
guschnwg / create-hotspot.md
Last active October 25, 2018 12:50 — 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 wlp2s0 con-name gustavo-eadbox autoconnect yes ssid gustavo-eadbox
nmcli con modify gustavo-eadbox 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify gustavo-eadbox wifi-sec.key-mgmt wpa-psk
nmcli con modify gustavo-eadbox wifi-sec.psk "gustavo-eadbox"