Re-connecting Wi-Fi
· 2 min read · December 27, 2025 · #tech #linux #nixos #configHaving gone home to visit my parents for Christmas, I am pleasantly surprised to find that their village has finally acquired fibre broadband. As it’s always been a mobile signal blackspot—typically I find it hovers somewhere between No signal and E, occasionally claiming 3G or 4G, although I am told that most of those indicators are a lie—it is nice to have >100Mb/s and, above all, a stable connection.
One unintended, if easy to fix, side effect is that their Wi-Fi access point changed. The SSID was ported over but the old passphrase was insufficiently long for the new model so it had to change. After about a minute of wondering why I couldn’t connect, I realized what was going on and fired up nmtui to change the passphrase.12 Unfortunately the colour scheme for the Modify connection page was illegible to me. So I finally read the man pages for nmcli to do it from the command line.
Herewith the crib in case anyone else other than future-me will find it useful. No need for sudo in my case as I’m in the networkmanager group.
# set the passphrase for existing wireless network ("connection") NAME to PASSPHRASE
# create a new connection NAME on SSID with PASSPHRASE
# change to the network NAME you just created
And to add the 2.4GHz specific Wi-Fi network that was created to support the new solar panel inverter installation because the inverter is too far away in signal terms from the access point for 5GHz to reach.
And, of course, once my dad had remembered that it had indeed changed and furthermore, what the new one was.