Create QR codes for WIFI accesss

Secure Wifi passwords tend to be quite long and are a pain to type on smartphones. A lot of places and people use qr-codes to share access data to their wireless networks. I’m also using one to offer guests a wireless connection to the internet without giving them access to my private network.
Fortunately those codes are pretty easy to create.

You just need to put your co sample qr codeSample QR code nnection details into a structured string like this

WIFI:S:<MY_SSID>;T:<ENCRYPTION_MODE>;P:<MY_SECRET_PASSWORD>;;

for visible or like this

WIFI:S:<MY_SSID>;T:<ENCRYPTION_MODE>;P:<MY_SECRET_PASSWORD>;H:TRUE;

for hidden networks.
On linux I use qrencode to create the qr code

qrencode -o qr_wlan_guest.png -l H "WIFI:S:<MY_SSID>;T:<ENCRYPTION_MODE>;P:<MY_SECRET_PASSWORD>;;"

sample qr code

Sample QR code


Of course you can also use one of the many online services to create the code – if you want to share your wifi secrets with any online service.

References

Leave a Reply

Your email address will not be published. Required fields are marked *