Created
January 2, 2020 15:08
-
-
Save pcolazurdo/0bdb979a30aee114b332431ee11dc432 to your computer and use it in GitHub Desktop.
Generating QR Code for WiFi Access Points
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In Mac you can use: | |
# /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | |
# to find the SSID you are actually connected to | |
# install qrencode | |
brew install qrencode | |
# For WPA2 this will create a wifi.png image that can be used both in Android and iOS devices to auto configure wifi access | |
SSID="your ssid"; SSID_PASS="your password"; qrencode -o wifi.png "WIFI:S:${SSID};T:WPA2;P:${SSID_PASS};;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment