{ "created": "2019-12-29T20:41:54Z", "hierarchy": [ { "name": "ROOT", "type": "folder", "uri": "/ROOT" }, { "name": "Generating a WiFi Password QR Code", "type": "article", "uri": "Generating_a_WiFi_Password_QR_Code" } ], "html": "\n\n \n \n \n \n \n \n \n \n \n \n \n Generating a WiFi Password QR Code – Nikhil's Personal Wiki\n \n \n \n \n \n
\n
\n \n
\n
\n \n \n\n

Generating a WiFi Password QR Code\n \n

\n

Saving here via

\n
# On macOS. Note to self: use pwgen to generate secure passwords.\nbrew install qrencode pwgen\n\n# Set the SSID\nSSID="My Home Wifi"\n\n# Set a looooong password for the AP\npwgen -s 63 > "${SSID}.password.txt"\n\n# Put it all together\nqrencode \\\n  --size=15 \\\n  --output=${SSID}.png \\\n  "WIFI:T:WPA;S:${SSID};P:$(cat "${SSID}.password.txt");;"\n

Goes without saying that should be displayed in a location that’s not visible from, say, a window. On iOS, the camera app automagically recognizes the resulting QR code and asks if you’d like to join the network.

\n\n\n
\n \n
\n \n \n \n \n \n\n", "id": "3fbef9bf-b248-588d-b427-bb0741695c88", "modified": "2023-05-03T20:33:13Z", "revisions": [ { "authorEmail": "mail@nikhil.io", "authorName": "Nikhil Anand", "date": "2023-05-03T20:33:13Z", "id": "13fd9aa2c17070823012a12dd946d050e3ed6bf3", "shortId": "13fd9aa2", "subject": "Initial commit\n", "content": "Saving here [via](https://feeding.cloud.geek.nz/posts/encoding-wifi-access-point-passwords-qr-code/)\n\n```bash\n# On macOS. Note to self: use pwgen to generate secure passwords.\nbrew install qrencode pwgen\n\n# Set the SSID\nSSID=\"My Home Wifi\"\n\n# Set a looooong password for the AP\npwgen -s 63 > \"${SSID}.password.txt\"\n\n# Put it all together\nqrencode \\\n --size=15 \\\n --output=${SSID}.png \\\n \"WIFI:T:WPA;S:${SSID};P:$(cat \"${SSID}.password.txt\");;\"\n```\n\nGoes without saying that should be displayed in a location that's not visible from, say, a window. On iOS, the camera app automagically recognizes the resulting QR code and asks if you'd like to join the network. \n" }, { "authorEmail": "mail@nikhil.io", "authorName": "Nikhil Anand", "date": "2019-12-29T20:44:54Z", "id": "5e6b9dbd4853f3c8edb99e98960f87c272be0351", "shortId": "5e6b9dbd", "subject": "Fix command", "content": "Saving here [via](https://feeding.cloud.geek.nz/posts/encoding-wifi-access-point-passwords-qr-code/)\n\n```bash\n# On macOS. Note to self: use pwgen to generate secure passwords.\nbrew install qrencode pwgen\n\n# Set the SSID\nSSID=\"My Home Wifi\"\n\n# Set a looooong password for the AP\npwgen -s 63 > \"${SSID}.password.txt\"\n\n# Put it all together\nqrencode \\\n --size=15 \\\n --output=${SSID}.png \\\n \"WIFI:T:WPA;S:${SSID};P:$(cat \"${SSID}.password.txt\");;\"\n```\n\nGoes without saying that should be displayed in a location that's not visible from, say, a window. On iOS, the camera app automagically recognizes the resulting QR code and asks if you'd like to join the network. \n" }, { "authorEmail": "mail@nikhil.io", "authorName": "Nikhil Anand", "date": "2019-12-29T20:41:54Z", "id": "1ffdcb4a15a7951903914d4d0d5fef84582bcc63", "shortId": "1ffdcb4a", "subject": "Create Generating a WiFi Password QR Code.md", "content": "Saving here [via](https://feeding.cloud.geek.nz/posts/encoding-wifi-access-point-passwords-qr-code/)\n\n```bash\n# On macOS. Note to self: use pwgen to generate secure passwords.\nbrew install qrencode pwgen\n\n# Set the SSID\nSSID=\"My Home Wifi\"\n\n# Set a looooong password for the AP\npwgen -s 63 > \"${SSID}.password.txt\"\n\n# Put it all together\nqrencode \\\n --size=15 \\\n --output=${SSID}.png \\\n \"WIFI:T:WPA;S:${SSID};P:$(cat 00wifi.txt);;\"\n```\n\nGoes without saying that should be displayed in a location that's not visible from, say, a window. On iOS, the camera app automagically recognizes the resulting QR code and asks if you'd like to join the network. \n" } ], "sizeInBytes": 666, "source": "Saving here [via](https://feeding.cloud.geek.nz/posts/encoding-wifi-access-point-passwords-qr-code/)\n\n```bash\n# On macOS. Note to self: use pwgen to generate secure passwords.\nbrew install qrencode pwgen\n\n# Set the SSID\nSSID=\"My Home Wifi\"\n\n# Set a looooong password for the AP\npwgen -s 63 > \"${SSID}.password.txt\"\n\n# Put it all together\nqrencode \\\n --size=15 \\\n --output=${SSID}.png \\\n \"WIFI:T:WPA;S:${SSID};P:$(cat \"${SSID}.password.txt\");;\"\n```\n\nGoes without saying that should be displayed in a location that's not visible from, say, a window. On iOS, the camera app automagically recognizes the resulting QR code and asks if you'd like to join the network. \n", "title": "Generating a WiFi Password QR Code", "untracked": false, "uri": "/Generating_a_WiFi_Password_QR_Code", "relativePath": "Generating a WiFi Password QR Code.md" }