Setup -> I have a #RaspberryPi #RaspberryPiZero2W running #linux #pios #RaspberryPiOS #headless
Aim: I want the pi to always offer a #hotspot #wifihotspot on #boot
based on the command
nmcli device wifi hotspot ssid pizerohotspot password my_password
Is this below a bad solution ?? -> I came up with this solution in the link below using a .service but fear it shows I am clueless? Is there a better way? Thanks!
https://www.loramesh.org/subpages/pi_install.html#pi_hotspot
I found this too.... about how to get a #wifi #hotspot to be automatically on at #boot
https://askubuntu.com/questions/1460268/how-do-i-setup-an-access-point-that-starts-on-every-bootsudo apt install dnsmasq-base -y
nmcli connection add type wifi ifname wlan0 con-name access_point autoconnect yes ssid my_ssid
nmcli connection modify access_point 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli connection modify access_point wifi-sec.key-mgmt wpa-psk
nmcli connection modify access_point wifi-sec.psk "my_password"
nmcli connection up access_point
might be that setting #NetworkManager settings as above in the #ExecStart command makes most sense. #nmcli