aboutsummaryrefslogtreecommitdiffhomepage
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
parent49f3c649729c5577946ef7792dd26c0067293021 (diff)
downloadnotes-da2ed84ebd63aefb6bbfe35bd72507759060ea00.tar.gz
notes-da2ed84ebd63aefb6bbfe35bd72507759060ea00.zip
qrencode: gen wifi qr code
-rw-r--r--src/SUMMARY.md1
-rw-r--r--src/tools/README.md1
-rw-r--r--src/tools/qrencode.md10
3 files changed, 12 insertions, 0 deletions
diff --git a/src/SUMMARY.md b/src/SUMMARY.md
index a38d33b..4d94d26 100644
--- a/src/SUMMARY.md
+++ b/src/SUMMARY.md
@@ -25,6 +25,7 @@
- [ffmpeg](./tools/ffmpeg.md)
- [gnuplot](./tools/gnuplot.md)
- [restic](./tools/restic.md)
+ - [qrencode](./tools/qrencode.md)
- [Resource analysis & monitor](./monitor/README.md)
- [lsof](./monitor/lsof.md)
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>;;'
+```