Skip to content

Instantly share code, notes, and snippets.

@imaginator
imaginator / WifiConfigStore.xml
Created October 20, 2023 11:39
from /data/misc/wifi
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<WifiConfigStoreData>
<int name="Version" value="3" />
<NetworkList>
<Network>
<WifiConfiguration>
<string name="ConfigKey">&quot;imagiFi IoT 5&quot;WPA_PSK</string>
<string name="SSID">&quot;imagiFi IoT 5&quot;</string>
<null name="BSSID" />
<string name="PreSharedKey">&quot;xxxxxxx&quot;</string>
@imaginator
imaginator / hostapd-phy0.conf
Created October 20, 2023 10:27
Openwrt hostapd-phy0.conf
bss=iot5
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=0
@imaginator
imaginator / wifi.log
Created October 20, 2023 09:07
wifi-debugging.log
--------- beginning of system
--------- beginning of main
10-20 10:32:40.858 1075 1075 E wpa_supplicant: nl80211: Failed to set IPv4 unicast in multicast filter
10-20 10:32:40.869 1075 1075 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: wlan0 recv cmd BTCOEXMODE 2
10-20 10:32:40.897 1075 1075 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: wlan0 recv cmd BTCOEXMODE 2
10-20 10:32:42.288 1075 1075 I wpa_supplicant: wlan0: GAS-QUERY-START addr=04:b4:fe:af:a5:af dialog_token=12 freq=2437
10-20 10:32:42.303 1075 1075 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: wlan0 recv cmd MACADDR
10-20 10:32:42.307 1075 1075 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: wlan0 recv cmd MACADDR
10-20 10:32:42.446 1075 1075 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: wlan0 recv cmd MACADDR
10-20 10:32:42.447 1075 1075 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: wlan0 recv cmd MACADDR
# fix bad digitization date
exiftool -r -overwrite_original '-alldates<datetimeoriginal' '-XMP:alldates<datetimeoriginal' /srv/photos/originals/1999
# confirm
exiftool -G0:1 -time:all /srv/photos/originals/1998/1998\ 12\ 2005\ 07\ 02\ London\ with\ Ulrika/DSCN0271.jpg
# remove crap by setting to null
exiftool '-xmp-microsoft:all='
exiftool '-xmp-video:all='
[2022-07-08 08:10:49,699] [ HABApp] INFO | HABApp Version 0.31.3 Dev
[2022-07-08 08:10:49,700] [ HABApp.files.watcher] DEBUG | Adding watcher for /etc/habapp with <FileEndingFilter ending: .yml>
[2022-07-08 08:10:49,700] [ HABApp] DEBUG | Added event listener for "HABApp.Files" (filter=EventFilter(type=RequestFileUnloadEvent))
[2022-07-08 08:10:49,700] [ HABApp] DEBUG | Added event listener for "HABApp.Files" (filter=EventFilter(type=RequestFileLoadEvent))
[2022-07-08 08:10:49,701] [ HABApp.openhab.plugin] DEBUG | Starting setup
[2022-07-08 08:10:49,701] [ HABApp.openhab.plugin] DEBUG | Setup LoadAllOpenhabItems complete
[2022-07-08 08:10:49,701] [ HABApp.openhab.ping] DEBUG | Ping stopped
[2022-07-08 08:10:49,702] [ HABApp] DEBUG | Added event listener for "HABApp_Ping" (filter=EventFilter(type=ItemStateEvent))
[2022-07-08 08:10:49,702] [ HABApp.openhab.plugin] DEBUG | Setup PingOpenhab compl
[2022-07-08 08:04:34,922] [ HABApp] INFO | HABApp Version 0.31.3 Dev
[2022-07-08 08:04:34,922] [ HABApp.Config] WARNING | Replaced class for handler "HABApp_default" with HABApp.config.logging.MidnightRotatingFileHandler
[2022-07-08 08:04:34,922] [ HABApp.Config] WARNING | Replaced class for handler "EventFile" with HABApp.config.logging.MidnightRotatingFileHandler
[2022-07-08 08:04:34,922] [ HABApp.Config] ERROR | "logging.handlers.MemoryHandler" is no longer required. Please remove from config (BufferEventFile)!
[2022-07-08 08:04:34,922] [ HABApp.Config] WARNING | Removed BufferEventFile from handlers
[2022-07-08 08:04:34,922] [ HABApp.Config] WARNING | Replaced BufferEventFile with EventFile for logger HABApp.EventBus
[2022-07-08 08:04:34,922] [ HABApp.files.watcher] DEBUG | Adding watcher for /home/simon/habapp-master with <FileEndingFilter ending: .yml>
[2022-07-08 08:04:34,922] [ HABApp] DEBUG
[2022-07-04 09:59:50,935] [ HABApp] INFO | HABApp Version 0.31.3 Dev
[2022-07-04 09:59:50,935] [ HABApp.Config] WARNING | Replaced class for handler "HABApp_default" with HABApp.config.logging.MidnightRotatingFileHandler
[2022-07-04 09:59:50,935] [ HABApp.Config] WARNING | Replaced class for handler "EventFile" with HABApp.config.logging.MidnightRotatingFileHandler
[2022-07-04 09:59:50,936] [ HABApp.Config] ERROR | "logging.handlers.MemoryHandler" is no longer required. Please remove from config (BufferEventFile)!
[2022-07-04 09:59:50,936] [ HABApp.Config] WARNING | Removed BufferEventFile from handlers
[2022-07-04 09:59:50,936] [ HABApp.Config] WARNING | Replaced BufferEventFile with EventFile for logger HABApp.EventBus
[2022-07-04 09:59:50,938] [ HABApp.mqtt.connection] INFO | MQTT disabled
[2022-07-04 09:59:50,988] [HABApp.openhab.connection] INFO | Connected to OpenHAB version 3.3.0 (Release Build)
[2022-07-04 09
✘  ~  cat .config/systemd/user/swayidle.service
[Unit]
Description=Idle manager for Wayland
Documentation=man:swayidle(1)
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/swayidle -w \
timeout 900 'swaymsg "output * dpms off"' \
-- Journal begins at Fri 2021-11-05 13:15:01 CET, ends at Sun 2022-01-02 17:57:12 CET. --
Jan 02 14:00:04 furrow systemd[1]: Started Timeline of Snapper Snapshots.
Jan 02 14:00:04 furrow systemd[1]: Starting DBus interface for snapper...
Jan 02 14:00:04 furrow systemd-helper[473753]: running timeline for 'root'.
Jan 02 14:00:04 furrow dbus-daemon[1476]: [system] Activating via systemd: service name='org.opensuse.Snapper' unit='snapperd.service' requested by ':1.2917' (uid=0 pid=473753 comm="/usr/lib/snapper/systemd-helper --timeline " label="unconfined")
Jan 02 14:00:04 furrow systemd[1]: Started DBus interface for snapper.
Jan 02 14:00:04 furrow dbus-daemon[1476]: [system] Successfully activated service 'org.opensuse.Snapper'
Jan 02 14:00:04 furrow systemd[1]: snapper-timeline.service: Deactivated successfully.
Jan 02 14:00:48 furrow /usr/libexec/gdm-wayland-session[437468]: 02:49:34.415 [ERROR] [wlr] [backend/drm/atomic.c:35] connector DP-2: Atomic commit failed (pageflip): Device or resource busy
Jan 02 14
--------- beginning of system
10-10 14:57:01.311 191 191 I vold : Vold 3.0 (the awakening) firing up
10-10 14:57:01.311 191 191 V vold : Detected support for: exfat ext4 ntfs vfat
10-10 14:57:01.319 191 191 W Vold : Tearing down stale mount /mnt/media_rw
10-10 14:57:01.372 191 197 D vold : e4crypt_init_user0
10-10 14:57:01.372 191 197 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
10-10 14:57:01.372 191 197 D vold : Preparing: /data/system/users/0
10-10 14:57:01.374 191 197 D vold : Preparing: /data/misc/profiles/cur/0
10-10 14:57:01.375 191 197 D vold : Preparing: /data/misc/profiles/cur/0/foreign-dex
10-10 14:57:01.376 191 197 D vold : Preparing: /data/system_de/0