2022-07-12

Guest WiFi using a QR code

On my home network I have guest WiFi configured and when guests come round they need to know the password. Happily there's a way to make this trivial: WiFi QR codes. A WiFi QR code is simply a text QR code with a special format as follows:

WIFI:S:<SSID>;T:<WEP|WPA|blank>;P:<PASSWORD>;H:<true|false|blank>;;

The S sets the SSID of the network, T defines the security in use, P is the password and H whether the network is hidden or not. You can create this directly by making a text QR code or use a specialized QR code generator for WiFi networks. 




The resulting QR code looks something like this:




Which when scanned with the default camera app on iOS or Android will pop up something similar to this. With one click you're connected to the network.


For a finishing touch just print out the QR code and place it in a cheap frame and any guest can scan and get online with ease.










8 comments:

Dogsbody said...

You can do the same with NFC tags and have exactly the same cheap frame with both a QR code, NFC tag and it written out (for anyone that can't do either). I think they look quite smart.

David Merrick said...

I have one just like this I made the other day! Really convenient.

Unknown said...

Sadly, nfc to setup WiFi is only viable on Android. It does not work on stock iOS.

Alberto said...

NFC tags unfortunately won’t work for Wi-Fi on iOS devices. Only on android. Yes, nfc works on iOS for everything else but not (at last for now) for Wi-Fi.

Unknown said...

Link to the tool

https://www.qr-code-generator.com/solutions/wifi-qr-code/

Kishor Bhat said...

I've used https://github.com/bndw/wifi-card before and enjoyed it.

Fazal Majid said...

No frame needed, I use my Brother QL 62mm/2.4in label printer to make stickers and scatter them through the house and my parents’ and in-laws’.

Perry E. Metzger said...

For command line types, "qrencode" will do the job for you in a few moments. You don't need a web site for something this simple.