aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-08-20 01:13:12 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-08-20 01:13:12 +0200
commitda2ed84ebd63aefb6bbfe35bd72507759060ea00 (patch)
tree4d13578c21e440297e4b8b0bbd3e1fb894d1835c /src/tools
parent49f3c649729c5577946ef7792dd26c0067293021 (diff)
downloadnotes-da2ed84ebd63aefb6bbfe35bd72507759060ea00.tar.gz
notes-da2ed84ebd63aefb6bbfe35bd72507759060ea00.zip
qrencode: gen wifi qr code
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/README.md1
-rw-r--r--src/tools/qrencode.md10
2 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/README.md b/src/tools/README.md
index 60ee688..6538ce3 100644
--- a/src/tools/README.md
+++ b/src/tools/README.md
@@ -10,3 +10,4 @@
- [ffmpeg](./ffmpeg.md)
- [gnuplot](./gnuplot.md)
- [restic](./restic.md)
+- [qrencode](./qrencode.md)
diff --git a/src/tools/qrencode.md b/src/tools/qrencode.md
new file mode 100644
index 0000000..442a4c6
--- /dev/null
+++ b/src/tools/qrencode.md
@@ -0,0 +1,10 @@
+# qrencode(1)
+
+Generate wifi qr code for WPA2 secured network.
+```sh
+# Generate on terminal.
+qrencode -t ansiutf8 'WIFI:S:<wifiname>;T:WPA2;P:<wifipasswd>;;'
+
+# Generate picture for printing.
+qrencode -t png -o wifi.png 'WIFI:S:<wifiname>;T:WPA2;P:<wifipasswd>;;'
+```