Hi so i know i can set up a wifi network using nmcli in this way.
nmcli con add type wifi ifname uap0 mode ap con-name ssid
nmcli con modify 802-11-wireless-security.psk
But if i now want to modify the password and ssid of the created wifi network how do i do that? i do not find the correct command in the documentation..
Can i just do this
sudo nmcli con down
sudo nmcli con modify 802-11-wireless-security.psk "$WIFI_PASSWORD"
sudo nmcli con modify ssid
sudo nmcli con up
Asked by busssard
(11 rep)
Feb 21, 2023, 04:00 PM
Last activity: May 8, 2025, 03:08 AM
Last activity: May 8, 2025, 03:08 AM