Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
place in /etc/NetworkManager/system-connections/ to create a AP hotspot under Linux
[connection]
id=Hotspot
uuid=bd4058b4-f99e-48f9-ac88-26513b9ac517
type=wifi
autoconnect=true
permissions=
[wifi]
hidden=false
mac-address=00:0F:60:06:EE:BE
mac-address-blacklist=
mode=ap
ssid=SandyBox-AP
[wifi-security]
group=ccmp;
key-mgmt=wpa-psk
pairwise=ccmp;
proto=rsn;
psk=sandybox123
[ipv4]
dns-search=
method=shared
[ipv6]
#addr-gen-mode=stable-privacy
#dns-search=
#method=ignore
method=auto
ip6-privacy=0
@machinekoder

This comment has been minimized.

Copy link
Owner Author

commented Jun 7, 2018

Make sure to run sudo service network-manager restart afterward.

@machinekoder

This comment has been minimized.

Copy link
Owner Author

commented Jun 7, 2018

Manual start/stop:

sudo nmcli con up Hostspot ifname wlan0
sudo nmcli con down Hostspot ifname wlan0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.