Skip to content

Instantly share code, notes, and snippets.

@teknikqa
Last active January 23, 2019 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teknikqa/94a22d40f6014e17085ae54879697375 to your computer and use it in GitHub Desktop.
Save teknikqa/94a22d40f6014e17085ae54879697375 to your computer and use it in GitHub Desktop.
Easy WiFi password sharing
Create a QR code with any QR generator in this format:
WIFI:S:<ssid>;T:<wpa|wep|>;P:<password>;;
Scanning this code will automatically add the WiFi details to the device. [1][2]
iOS will share the username and password. To prevent that, create a configuration file using
the iPhone configuration utility and have the QR code link to that file. This file can be on
Dropbox or any other server. [3]
An alternative is to use NFC tags that are encoded with the WiFi details. [4]
See:
[1] https://android.gadgethacks.com/how-to/easily-share-your-wi-fi-password-with-qr-code-your-android-phone-0183483/
[2] https://lifehacker.com/how-to-share-your-wi-fi-network-with-friends-no-passwo-5835743
[3] https://lifehacker.com/465200739
[4] https://www.howtogeek.com/278104/how-to-create-an-nfc-tag-that-connects-any-android-phone-to-a-wi-fi-network/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment