shelly ht

This commit is contained in:
coelner 2022-12-02 06:38:10 +01:00
parent d59d89ff41
commit f2275294ec
4 changed files with 40 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

View File

@ -28,6 +28,8 @@ gnome-firmware dmidecode brasero clinfo opencl-mesa opencl-driver clpeak croc cu
radare2 cutter r2ghidra binwalk cabextract hashcat diffpdf ghex flashrom hwinfo i2c-tool nbd virtualbox bootterm veracrypt youtube-dl radare2 cutter r2ghidra binwalk cabextract hashcat diffpdf ghex flashrom hwinfo i2c-tool nbd virtualbox bootterm veracrypt youtube-dl
brscan5 brscan5
gst-libav gnome-power-manager acpid
``` ```
### gparted ### gparted
flash usb stick with gparted.iso and dd. boot it flash usb stick with gparted.iso and dd. boot it
@ -88,9 +90,11 @@ the pci devices are unknown, maybe NIC and WLAN wake on, SLPB should be the butt
``` ```
cat /proc/acpi/wakeup cat /proc/acpi/wakeup
Device S-state Status Sysfs node Device S-state Status Sysfs node
GPP4 S0 *enabled pci:0000:00:02.3 GPP4 S3 *enabled pci:0000:00:02.3
RESA S3 *disabled RESA S3 *disabled
GP17 S0 *enabled pci:0000:00:08.1 GP17 S3 *enabled pci:0000:00:08.1
XHC0 S3 *enabled pci:0000:07:00.3
XHC1 S3 *enabled pci:0000:07:00.4
LID S4 *enabled platform:PNP0C0D:00 LID S4 *enabled platform:PNP0C0D:00
SLPB S3 *enabled platform:PNP0C0E:00 SLPB S3 *enabled platform:PNP0C0E:00
[user@user-think-yoga acpi]$ sudo echo LID > /proc/acpi/wakeup [user@user-think-yoga acpi]$ sudo echo LID > /proc/acpi/wakeup
@ -99,12 +103,14 @@ bash: /proc/acpi/wakeup: Keine Berechtigung
[root@user-think-yoga ~]# echo LID > /proc/acpi/wakeup [root@user-think-yoga ~]# echo LID > /proc/acpi/wakeup
[root@user-think-yoga ~]# cat /proc/acpi/wakeup [root@user-think-yoga ~]# cat /proc/acpi/wakeup
Device S-state Status Sysfs node Device S-state Status Sysfs node
GPP4 S0 *enabled pci:0000:00:02.3 Device S-state Status Sysfs node
GPP4 S3 *enabled pci:0000:00:02.3
RESA S3 *disabled RESA S3 *disabled
GP17 S0 *enabled pci:0000:00:08.1 GP17 S3 *enabled pci:0000:00:08.1
LID S4 *disabled platform:PNP0C0D:00 XHC0 S3 *enabled pci:0000:07:00.3
XHC1 S3 *enabled pci:0000:07:00.4
LID S4 *disabled platform:PNP0C0D:00
SLPB S3 *enabled platform:PNP0C0E:00 SLPB S3 *enabled platform:PNP0C0E:00
cat /etc/tmpfiles.d/acpi-lid.conf cat /etc/tmpfiles.d/acpi-lid.conf
# Path Mode UID GID Age Argument # Path Mode UID GID Age Argument
w /proc/acpi/wakeup - - - - LID w /proc/acpi/wakeup - - - - LID
@ -112,6 +118,7 @@ w /proc/acpi/wakeup - - - - LID
``` ```
### usbguard gnome ### usbguard gnome
``2022.11.07 currently not working. Gnome not showing any entry
``` ```
/etc/polkit-1/rules.d/70-allow-usbguard.rules /etc/polkit-1/rules.d/70-allow-usbguard.rules

View File

@ -12,6 +12,7 @@ mkdir ~/.config/Yubico
pamu2fcfg -o pam://hostname -i pam://hostname > ~/.config/Yubico/u2f_keys pamu2fcfg -o pam://hostname -i pam://hostname > ~/.config/Yubico/u2f_keys
pamu2fcfg -o pam://$(hostname) -i pam://$(hostname) -n >> ~/.config/Yubico/u2f_keys pamu2fcfg -o pam://$(hostname) -i pam://$(hostname) -n >> ~/.config/Yubico/u2f_keys
``` ```
``
- WebAuth - WebAuth
- main feature, login with username (known value by user), ChallengeResponse ( secret ) and button (interactive)/PIN - main feature, login with username (known value by user), ChallengeResponse ( secret ) and button (interactive)/PIN
- https://webauthn.io/ to test - https://webauthn.io/ to test

View File

@ -2,6 +2,8 @@ Willkommen im Wiki.
Hier wird ein Sammelsurium angelegt, welches Snippets für alles enthält, was mir über den Weg läuft. Hier wird ein Sammelsurium angelegt, welches Snippets für alles enthält, was mir über den Weg läuft.
#### TS100 soldering iron #### TS100 soldering iron
https://github.com/Ralim/IronOS
Hold B Hold B
v2.11.372F8E3 v2.11.372F8E3
29-08-20 29-08-20
@ -70,4 +72,27 @@ wrote 261156 bytes from file /home/koelner/Downloads/btlejack-firmware-ble400.he
``` ```
Der CP2102 Adapter TTL kann wohl an P0.09 und P0.11 angeschlossen werden. Der CP2102 Adapter TTL kann wohl an P0.09 und P0.11 angeschlossen werden.
https://github.com/virtualabs/btlejack-firmware/blob/master/config/ble400.json https://github.com/virtualabs/btlejack-firmware/blob/master/config/ble400.json
### shelly H&T
![38343fdf2b38df296baf380fbda7e292.png](38343fdf2b38df296baf380fbda7e292.png)
```
sudo bt -L 1 /dev/ttyUSB0
esp_main.c:157 ht-sensor 1.0 (20220324-134040/v1.11.8-HT-fix-g60b9bd1)
esp_main.c:159 Mongoose OS 202107262051 (20220324-134039/2.19.1-42-ga0be0b3e) sp 0x3fffff50
esp_main.c:161 CPU: ESP8266EX, 160 MHz, RAM: 51520 total, 48500 free
esp_main.c:165 SDK 3.0.5-dev(81bde69); flash: 2M
esp_exc.c:236 Reset cause: 0 (power on)
mongoose.c:15761 Mongoose 6.18, LwIP 1.4.0
mgos_vfs_dev.c:72 sfl0: sysflash (), size 2097152
mgos_vfs_dev.c:72 root: part ({"dev": "sfl0", "offset": 765952, "size": 262144}), size 262144
mgos_vfs.c:173 /: SPIFFS @ root, opts {"bs":4096,"ps":256,"es":4096}
mgos_vfs.c:344 /: size 233681, used: 79818, free: 153863
mgos_sys_config.c:232 Loading conf3.json
mgos_sys_config.c:232 Loading conf9.json
mgos_sys_config.c:306 Switching debug to UART-1
```
well, that it's all folks. The device can not connect to a wifi AP. The self-owned AP works so far, but it can not connect to a different AP, more precisely, it can not get an IP
`68:C6:3A:F9:38:9C`
https://asperti.com/2022/shelly-firmware/