added ACF

This commit is contained in:
Paolo Asperti 2019-11-08 12:18:00 +01:00
parent 32c4e5a571
commit ebc52f1232
Signed by: paspo
GPG Key ID: 06D46905D19D5182
65 changed files with 8 additions and 1 deletions

View File

@ -35,6 +35,9 @@ An AlpineLinux image targeted at raspberry pi zero W for sonoff-diy autoflashing
Power on the raspberry with the microSD card you just created and wait a minute for the OS to load.
**It is imperative to have ewelink firmware >=3.1 !!!**
You can check current version in ewelink app. Sadly there's no way to overcome this, for now. We don't know if we need firmware >=3.1 AND ewelink registration OR firmware >=3.1 only. We haven't found a single sonoff mini with stock firmware >=3.1.
Disconnect all the cables from your brand new Sonoff-mini, open it and insert the "DIY jumper" in the proper place. Close it, reconnect the wires and power it on.
In 2-3 minutes you should see a new wifi called "SONOFF-xxxx", this is created by the newly-tasmotized sonoff-mini.
@ -69,10 +72,14 @@ The IP address on the USB side is: **10.111.101.1**
The IP address on the WIRELESS side is: **10.101.111.1**
You can find a log of the flashing script in **/root/flasher.log**
You can find a log of the flashing script in **/var/log/flasher.log**
You can find dnsmasq logs in **/var/log/messages**
Everything is cleared at each reboot as the whole system is running from RAM. If you want to keep some modifications (e.g. an authorized_keys for ssh autologin) take a look at how it's done [here](https://wiki.alpinelinux.org/wiki/Alpine_local_backup)
ACF (Alpine Configuration Framework) is enabled and reachable via HTTPS (you must login with root credentials). From this web interface, you can restart services and take a look at the logs
## current limitations
As of today, this is a very basic script. It has never been tested with two sonoff-mini at the same time, for example (and I'm very confident that this condition is not working). Maybe this works with Sonoff Basic R3 or Sonoff RF R3, it has never been tested.
This tool is designed to work without internet connection so it hasn't got access to different firmwares other than the 6.7.1 that is loaded onboard.

BIN
rootfs/cache/APKINDEX.00740ba1.tar.gz vendored Executable file → Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

0
rootfs/cache/avahi-0.7-r2.a3dc179e.apk vendored Executable file → Normal file
View File

0
rootfs/cache/avahi-libs-0.7-r2.177fc1e4.apk vendored Executable file → Normal file
View File

0
rootfs/cache/avahi-tools-0.7-r2.020df0f0.apk vendored Executable file → Normal file
View File

0
rootfs/cache/busybox-1.30.1-r3.b35db9b6.apk vendored Executable file → Normal file
View File

0
rootfs/cache/busybox-suid-1.30.1-r3.15fe6d34.apk vendored Executable file → Normal file
View File

0
rootfs/cache/ca-certificates-20190108-r0.315c2619.apk vendored Executable file → Normal file
View File

0
rootfs/cache/curl-7.66.0-r0.201f3a8e.apk vendored Executable file → Normal file
View File

0
rootfs/cache/db-5.3.28-r1.09f78627.apk vendored Executable file → Normal file
View File

0
rootfs/cache/dbus-1.12.16-r0.7f58ab93.apk vendored Executable file → Normal file
View File

0
rootfs/cache/dbus-openrc-1.12.16-r0.fa4a2666.apk vendored Executable file → Normal file
View File

0
rootfs/cache/dnsmasq-2.80-r3.e14dc63c.apk vendored Executable file → Normal file
View File

0
rootfs/cache/expat-2.2.8-r0.33f33731.apk vendored Executable file → Normal file
View File

0
rootfs/cache/gamin-0.1.10-r10.14cc3b5b.apk vendored Executable file → Normal file
View File

0
rootfs/cache/gdbm-1.13-r1.e5161d7a.apk vendored Executable file → Normal file
View File

0
rootfs/cache/glib-2.60.4-r0.5234c2ca.apk vendored Executable file → Normal file
View File

Binary file not shown.

0
rootfs/cache/hostapd-2.8-r2.59a54ef5.apk vendored Executable file → Normal file
View File

0
rootfs/cache/hostapd-openrc-2.8-r2.a6446e36.apk vendored Executable file → Normal file
View File

0
rootfs/cache/installed vendored Executable file → Normal file
View File

Binary file not shown.

0
rootfs/cache/libbz2-1.0.6-r7.44bc60a6.apk vendored Executable file → Normal file
View File

0
rootfs/cache/libcurl-7.66.0-r0.011fbf1b.apk vendored Executable file → Normal file
View File

0
rootfs/cache/libdaemon-0.14-r2.2917b3b8.apk vendored Executable file → Normal file
View File

0
rootfs/cache/libev-4.25-r0.287bab53.apk vendored Executable file → Normal file
View File

0
rootfs/cache/libffi-3.2.1-r6.0276867d.apk vendored Executable file → Normal file
View File

0
rootfs/cache/libgcc-8.3.0-r0.0ed7ed0d.apk vendored Executable file → Normal file
View File

0
rootfs/cache/libintl-0.19.8.1-r4.d68d6f31.apk vendored Executable file → Normal file
View File

0
rootfs/cache/libldap-2.4.48-r0.ebf1622a.apk vendored Executable file → Normal file
View File

Binary file not shown.

Binary file not shown.

0
rootfs/cache/libmount-2.33.2-r0.26cd95b6.apk vendored Executable file → Normal file
View File

Binary file not shown.

0
rootfs/cache/libsasl-2.1.27-r3.4ded6f29.apk vendored Executable file → Normal file
View File

Binary file not shown.

0
rootfs/cache/lighttpd-1.4.54-r0.0b297821.apk vendored Executable file → Normal file
View File

0
rootfs/cache/lighttpd-openrc-1.4.54-r0.eeda2057.apk vendored Executable file → Normal file
View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

0
rootfs/cache/lua5.3-libs-5.3.5-r2.c5d72bd7.apk vendored Executable file → Normal file
View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

0
rootfs/cache/nghttp2-libs-1.39.2-r0.91445039.apk vendored Executable file → Normal file
View File

0
rootfs/cache/pcre-8.43-r0.dd42c3f9.apk vendored Executable file → Normal file
View File

0
rootfs/cache/ssl_client-1.30.1-r3.0ea45bbf.apk vendored Executable file → Normal file
View File

BIN
rootfs/sonoff-flasher.apkovl.tar.gz Executable file → Normal file

Binary file not shown.