Introduction The Huawei E3372 is a popular and quite cheap 4G LTE stick. The on-board LTE Cat 4 modem supports up to 150 MBit/s in download and up to 50 MBit/s in upload. It has a fallback on (DC-)HSPA(+), UMTS and EDGE when needed. The whole package is rounded off by small handy dimensions (88m x 28mm x 11.5mm).
But as usual there is a footgun on purchasing the E3372 for your desired use case:
This script checks if the FRITZ!Box has a valid ssl certificate and renews it with certbot if necessary.
In order to upload the certificate to the FRITZ!Box, a separate user must be created in the webinterface beforehand.
It makes sense to call the script regularly (e.g. every 7 days) by a cronjob. A further development could be the dispatch of a mail when the certificate is renewed.
#!/bin/bash # parameters USERNAME="fritzuser" PASSWORD="*********" CERTPATH="/root" CERTPASSWORD="" FQDN=fritzbox.
Introduction There are some barcode scanner apps offered on the app stores, which are designed to quickly and easily obtain important product properties of food, cosmetics, etc. while shopping. A well-known app in the German-speaking countries is “barcoo”. Since I wanted to have a fixed scanner for my refrigerator, which recognizes the EAN of the product and stores the product in a database, I needed an API from which this data comes.