Skip to content

Instantly share code, notes, and snippets.

@adujardin
Last active June 15, 2023 14:41
Show Gist options
  • Save adujardin/e795d57804ed16836ea1bc87de444c71 to your computer and use it in GitHub Desktop.
Save adujardin/e795d57804ed16836ea1bc87de444c71 to your computer and use it in GitHub Desktop.
Create WiFi AP Linux

Creating WiFi Access point from command line (Ubuntu):

https://ubuntu.com/core/docs/networkmanager/configure-wifi-access-points

nmcli d wifi hotspot ifname <interface> ssid <ssid> password <password>

Example:

nmcli d wifi hotspot ifname wlan0 ssid zedbox_ap password <password>

Get it to work after reboot OR connect to a network autmatically after boot:

https://askubuntu.com/a/935727

nmcli con show
nmcli con mod <connection-name> connection.autoconnect yes

Typically

nmcli con mod Hotspot connection.autoconnect yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment