QR-encoded Access Points

I give my visitors the password for my guest WiFi, usually by writing it down because dictating it is too hard. Was it the 53rd or 54th character that they messed up? Or which character did I write down incorrectly?

Now I have that encoded in QR:

WiFi QR code

Point your iOS camera (iOS 11 and up) at this and it fills in the network details. Don’t have an iPhone? I hope you aren’t expecting any messages. Well, Android users can go into their network settings and scan the code or whatever they do.

There are websites that will do this for you, but the Ruby qrencoder gem provides the qrencoder program

$ sudo apt-get install qrencode libqrencode-dev ruby ruby-dev
$ sudo brew install qrencoder

Give qrencode the ZXing-style WiFi auth string:

$ qrencode -o wifi.png "WIFI:T:WPA;S:SomeSSID;P:NotThePassword;;"