Skip to content

Commit ca6cc68

Browse files
author
Patrick M
committed
Add page
1 parent f10b002 commit ca6cc68

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
layout: post
3+
title: "Creating QR Codes for WiFi"
4+
date: 2024-07-21 14:48:00 -0400
5+
category: "General"
6+
tags: ["linux", "qr"]
7+
---
8+
9+
Here's an easy way to create a QR code image you can print out and display so people can quickly join your WiFi network. In Debian, install `qrencode`.
10+
11+
```bash
12+
apt install qrencode
13+
```
14+
15+
Once it's installed you can create a QR code as a PNG image.
16+
17+
```bash
18+
qrencode -s 24 -l H -o "wifi.png" "WIFI:T:WPA;S:<SSID>;P:<Password>;;"
19+
```
20+
21+
In this example, `-s 24` indicates the image size. `-l H` indicates high error correction, `-o wifi.png` is the output file, and the encoded connection details are last.
22+
23+
For more information, here is the qrencode man page
24+
https://linux.die.net/man/1/qrencode

0 commit comments

Comments
 (0)