with apologies

Displaying Wi-Fi configuration

· 1 min read · December 09, 2025 · #tech #linux #nixos

1At the start of the month, I was away at the final EU EDGELESS project plenary meeting. As this was hosted by an industrial partner rather than a University eduroam was of no use to me—I had to use the local guest Wi-Fi.

This was fine in fact—but I was pleasantly surprised to encounter a rather neat Linux networking CLI tool feature I’d not come across before.

A QR code encoding Wi-Fi network credentials

I needed to share details with a colleague who arrived after the meeting started. Turns out that, rather than having to copy them in by hand, all I needed to do was run nmcli with appropriate options to get the SSID and password on stdout plus a handy QR code also on stdout for my colleague to point their camera-ful devices at.

Neat.

: mort@greyjay:~$; nmcli device wifi show-password
SSID: WIFI Kepler2
Security: WPA
Password: F72SUjf0QdT4NzPB52
1

Ok, so this was actually posted on 27 December 2025 but is dated 9 December 2025 because I wrote it then, got distracted, and forgot to commit. Doh.