Skip to content

Instantly share code, notes, and snippets.

@dreirund
dreirund / README.md
Last active October 19, 2022 11:20
The content of UF896 4G WiFi USB-stick-form-factor router.

See → here for an explanation.

Note that not everything is still original; erasures and overwrites have already been carried out.

@dreirund
dreirund / support-new-python-collections-module.patch
Created October 16, 2022 17:05
python-validictory fix for current python3: Change `collections` to `collections.abc` as import source for `Mapping` and `Container'.
diff -r -U0 validictory-1.1.2.orig/validictory/validator.py validictory-1.1.2.new/validictory/validator.py
--- validictory-1.1.2.orig/validictory/validator.py 2017-12-01 19:55:23.000000000 +0100
+++ validictory-1.1.2.new/validictory/validator.py 2022-10-16 18:58:59.969958053 +0200
@@ -7 +7 @@
-from collections import Mapping, Container
+from collections.abc import Mapping, Container
@dreirund
dreirund / busybox-COPTS-compile-error.log
Created July 14, 2022 22:45
Output of `make -j1 V=sc package/utils/busybox/compile`, see http://forum.openwrt.org/t/132136
make[2]: Entering directory '/[...]/openwrt-22.03/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/[...]/openwrt-22.03/scripts/config'
make[1]: Entering directory '/[...]/openwrt-22.03'
make[2]: Entering directory '/[...]/openwrt-22.03/package/libs/toolchain'
echo "libc" >> /[...]/openwrt-22.03/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
echo "libgcc" >> /[...]/openwrt-22.03/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
echo "libatomic" >> /[...]/openwrt-22.03/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
echo "libstdcpp" >> /[...]/openwrt-22.03/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
echo "libpthread" >> /[...]/openwrt-22.03/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install