added ACF
This commit is contained in:
parent
32c4e5a571
commit
ebc52f1232
@ -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.
|
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.
|
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.
|
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**
|
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)
|
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
|
## 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.
|
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.
|
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
BIN
rootfs/cache/APKINDEX.00740ba1.tar.gz
vendored
Executable file → Normal file
Binary file not shown.
BIN
rootfs/cache/acf-alpine-baselayout-0.13.2-r0.891f1a30.apk
vendored
Normal file
BIN
rootfs/cache/acf-alpine-baselayout-0.13.2-r0.891f1a30.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/acf-apk-tools-0.11.0-r1.29b62eb1.apk
vendored
Normal file
BIN
rootfs/cache/acf-apk-tools-0.11.0-r1.29b62eb1.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/acf-core-0.21.3-r0.4131530a.apk
vendored
Normal file
BIN
rootfs/cache/acf-core-0.21.3-r0.4131530a.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/acf-dnsmasq-0.7.1-r0.cf354d3e.apk
vendored
Normal file
BIN
rootfs/cache/acf-dnsmasq-0.7.1-r0.cf354d3e.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/acf-jquery-0.4.3-r0.614e5561.apk
vendored
Normal file
BIN
rootfs/cache/acf-jquery-0.4.3-r0.614e5561.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/acf-lib-0.10.1-r0.815345fb.apk
vendored
Normal file
BIN
rootfs/cache/acf-lib-0.10.1-r0.815345fb.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/acf-lib-lua5.2-0.10.1-r0.bc9d8231.apk
vendored
Normal file
BIN
rootfs/cache/acf-lib-lua5.2-0.10.1-r0.bc9d8231.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/acf-openssh-0.11.2-r0.86bdb6d9.apk
vendored
Normal file
BIN
rootfs/cache/acf-openssh-0.11.2-r0.86bdb6d9.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/acf-skins-0.6.0-r1.121a47b8.apk
vendored
Normal file
BIN
rootfs/cache/acf-skins-0.6.0-r1.121a47b8.apk
vendored
Normal file
Binary file not shown.
0
rootfs/cache/avahi-0.7-r2.a3dc179e.apk
vendored
Executable file → Normal file
0
rootfs/cache/avahi-0.7-r2.a3dc179e.apk
vendored
Executable file → Normal file
0
rootfs/cache/avahi-libs-0.7-r2.177fc1e4.apk
vendored
Executable file → Normal file
0
rootfs/cache/avahi-libs-0.7-r2.177fc1e4.apk
vendored
Executable file → Normal file
0
rootfs/cache/avahi-tools-0.7-r2.020df0f0.apk
vendored
Executable file → Normal file
0
rootfs/cache/avahi-tools-0.7-r2.020df0f0.apk
vendored
Executable file → Normal file
0
rootfs/cache/busybox-1.30.1-r3.b35db9b6.apk
vendored
Executable file → Normal file
0
rootfs/cache/busybox-1.30.1-r3.b35db9b6.apk
vendored
Executable file → Normal file
0
rootfs/cache/busybox-suid-1.30.1-r3.15fe6d34.apk
vendored
Executable file → Normal file
0
rootfs/cache/busybox-suid-1.30.1-r3.15fe6d34.apk
vendored
Executable file → Normal file
0
rootfs/cache/ca-certificates-20190108-r0.315c2619.apk
vendored
Executable file → Normal file
0
rootfs/cache/ca-certificates-20190108-r0.315c2619.apk
vendored
Executable file → Normal file
0
rootfs/cache/curl-7.66.0-r0.201f3a8e.apk
vendored
Executable file → Normal file
0
rootfs/cache/curl-7.66.0-r0.201f3a8e.apk
vendored
Executable file → Normal file
0
rootfs/cache/db-5.3.28-r1.09f78627.apk
vendored
Executable file → Normal file
0
rootfs/cache/db-5.3.28-r1.09f78627.apk
vendored
Executable file → Normal file
0
rootfs/cache/dbus-1.12.16-r0.7f58ab93.apk
vendored
Executable file → Normal file
0
rootfs/cache/dbus-1.12.16-r0.7f58ab93.apk
vendored
Executable file → Normal file
0
rootfs/cache/dbus-openrc-1.12.16-r0.fa4a2666.apk
vendored
Executable file → Normal file
0
rootfs/cache/dbus-openrc-1.12.16-r0.fa4a2666.apk
vendored
Executable file → Normal file
0
rootfs/cache/dnsmasq-2.80-r3.e14dc63c.apk
vendored
Executable file → Normal file
0
rootfs/cache/dnsmasq-2.80-r3.e14dc63c.apk
vendored
Executable file → Normal file
0
rootfs/cache/expat-2.2.8-r0.33f33731.apk
vendored
Executable file → Normal file
0
rootfs/cache/expat-2.2.8-r0.33f33731.apk
vendored
Executable file → Normal file
0
rootfs/cache/gamin-0.1.10-r10.14cc3b5b.apk
vendored
Executable file → Normal file
0
rootfs/cache/gamin-0.1.10-r10.14cc3b5b.apk
vendored
Executable file → Normal file
0
rootfs/cache/gdbm-1.13-r1.e5161d7a.apk
vendored
Executable file → Normal file
0
rootfs/cache/gdbm-1.13-r1.e5161d7a.apk
vendored
Executable file → Normal file
0
rootfs/cache/glib-2.60.4-r0.5234c2ca.apk
vendored
Executable file → Normal file
0
rootfs/cache/glib-2.60.4-r0.5234c2ca.apk
vendored
Executable file → Normal file
BIN
rootfs/cache/haserl-lua5.2-0.9.35-r1.452fbdd1.apk
vendored
Normal file
BIN
rootfs/cache/haserl-lua5.2-0.9.35-r1.452fbdd1.apk
vendored
Normal file
Binary file not shown.
0
rootfs/cache/hostapd-2.8-r2.59a54ef5.apk
vendored
Executable file → Normal file
0
rootfs/cache/hostapd-2.8-r2.59a54ef5.apk
vendored
Executable file → Normal file
0
rootfs/cache/hostapd-openrc-2.8-r2.a6446e36.apk
vendored
Executable file → Normal file
0
rootfs/cache/hostapd-openrc-2.8-r2.a6446e36.apk
vendored
Executable file → Normal file
0
rootfs/cache/installed
vendored
Executable file → Normal file
0
rootfs/cache/installed
vendored
Executable file → Normal file
BIN
rootfs/cache/iptables-1.8.3-r0.70a1d42d.apk
vendored
BIN
rootfs/cache/iptables-1.8.3-r0.70a1d42d.apk
vendored
Binary file not shown.
BIN
rootfs/cache/iptables-openrc-1.8.3-r0.4e8cd267.apk
vendored
BIN
rootfs/cache/iptables-openrc-1.8.3-r0.4e8cd267.apk
vendored
Binary file not shown.
0
rootfs/cache/libbz2-1.0.6-r7.44bc60a6.apk
vendored
Executable file → Normal file
0
rootfs/cache/libbz2-1.0.6-r7.44bc60a6.apk
vendored
Executable file → Normal file
0
rootfs/cache/libcurl-7.66.0-r0.011fbf1b.apk
vendored
Executable file → Normal file
0
rootfs/cache/libcurl-7.66.0-r0.011fbf1b.apk
vendored
Executable file → Normal file
0
rootfs/cache/libdaemon-0.14-r2.2917b3b8.apk
vendored
Executable file → Normal file
0
rootfs/cache/libdaemon-0.14-r2.2917b3b8.apk
vendored
Executable file → Normal file
0
rootfs/cache/libev-4.25-r0.287bab53.apk
vendored
Executable file → Normal file
0
rootfs/cache/libev-4.25-r0.287bab53.apk
vendored
Executable file → Normal file
0
rootfs/cache/libffi-3.2.1-r6.0276867d.apk
vendored
Executable file → Normal file
0
rootfs/cache/libffi-3.2.1-r6.0276867d.apk
vendored
Executable file → Normal file
0
rootfs/cache/libgcc-8.3.0-r0.0ed7ed0d.apk
vendored
Executable file → Normal file
0
rootfs/cache/libgcc-8.3.0-r0.0ed7ed0d.apk
vendored
Executable file → Normal file
0
rootfs/cache/libintl-0.19.8.1-r4.d68d6f31.apk
vendored
Executable file → Normal file
0
rootfs/cache/libintl-0.19.8.1-r4.d68d6f31.apk
vendored
Executable file → Normal file
0
rootfs/cache/libldap-2.4.48-r0.ebf1622a.apk
vendored
Executable file → Normal file
0
rootfs/cache/libldap-2.4.48-r0.ebf1622a.apk
vendored
Executable file → Normal file
BIN
rootfs/cache/libmagic-5.37-r0.f3c6d630.apk
vendored
BIN
rootfs/cache/libmagic-5.37-r0.f3c6d630.apk
vendored
Binary file not shown.
BIN
rootfs/cache/libmnl-1.0.4-r0.9776f8da.apk
vendored
BIN
rootfs/cache/libmnl-1.0.4-r0.9776f8da.apk
vendored
Binary file not shown.
0
rootfs/cache/libmount-2.33.2-r0.26cd95b6.apk
vendored
Executable file → Normal file
0
rootfs/cache/libmount-2.33.2-r0.26cd95b6.apk
vendored
Executable file → Normal file
BIN
rootfs/cache/libnftnl-libs-1.1.3-r0.b4d47511.apk
vendored
BIN
rootfs/cache/libnftnl-libs-1.1.3-r0.b4d47511.apk
vendored
Binary file not shown.
0
rootfs/cache/libsasl-2.1.27-r3.4ded6f29.apk
vendored
Executable file → Normal file
0
rootfs/cache/libsasl-2.1.27-r3.4ded6f29.apk
vendored
Executable file → Normal file
BIN
rootfs/cache/libssh2-1.9.0-r1.a86bf347.apk
vendored
BIN
rootfs/cache/libssh2-1.9.0-r1.a86bf347.apk
vendored
Binary file not shown.
0
rootfs/cache/lighttpd-1.4.54-r0.0b297821.apk
vendored
Executable file → Normal file
0
rootfs/cache/lighttpd-1.4.54-r0.0b297821.apk
vendored
Executable file → Normal file
0
rootfs/cache/lighttpd-openrc-1.4.54-r0.eeda2057.apk
vendored
Executable file → Normal file
0
rootfs/cache/lighttpd-openrc-1.4.54-r0.eeda2057.apk
vendored
Executable file → Normal file
BIN
rootfs/cache/lua-json4-1.0.0-r3.7a848609.apk
vendored
Normal file
BIN
rootfs/cache/lua-json4-1.0.0-r3.7a848609.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/lua-posix-33.4.0-r1.f4f1a8b5.apk
vendored
Normal file
BIN
rootfs/cache/lua-posix-33.4.0-r1.f4f1a8b5.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/lua-subprocess-0.0.20141229-r2.a12524b1.apk
vendored
Normal file
BIN
rootfs/cache/lua-subprocess-0.0.20141229-r2.a12524b1.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/lua5.2-5.2.4-r7.094eb1d6.apk
vendored
Normal file
BIN
rootfs/cache/lua5.2-5.2.4-r7.094eb1d6.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/lua5.2-libs-5.2.4-r7.383845e4.apk
vendored
Normal file
BIN
rootfs/cache/lua5.2-libs-5.2.4-r7.383845e4.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/lua5.2-md5-1.2-r3.495e7c5d.apk
vendored
Normal file
BIN
rootfs/cache/lua5.2-md5-1.2-r3.495e7c5d.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/lua5.2-posix-33.4.0-r1.d1cd0a9d.apk
vendored
Normal file
BIN
rootfs/cache/lua5.2-posix-33.4.0-r1.d1cd0a9d.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/lua5.2-subprocess-0.0.20141229-r2.84b23acb.apk
vendored
Normal file
BIN
rootfs/cache/lua5.2-subprocess-0.0.20141229-r2.84b23acb.apk
vendored
Normal file
Binary file not shown.
0
rootfs/cache/lua5.3-libs-5.3.5-r2.c5d72bd7.apk
vendored
Executable file → Normal file
0
rootfs/cache/lua5.3-libs-5.3.5-r2.c5d72bd7.apk
vendored
Executable file → Normal file
BIN
rootfs/cache/mc-4.8.22-r0.33871a5c.apk
vendored
BIN
rootfs/cache/mc-4.8.22-r0.33871a5c.apk
vendored
Binary file not shown.
BIN
rootfs/cache/mini_httpd-1.30-r0.72350c6a.apk
vendored
Normal file
BIN
rootfs/cache/mini_httpd-1.30-r0.72350c6a.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/mini_httpd-openrc-1.30-r0.d16a68c5.apk
vendored
Normal file
BIN
rootfs/cache/mini_httpd-openrc-1.30-r0.d16a68c5.apk
vendored
Normal file
Binary file not shown.
BIN
rootfs/cache/nano-4.3-r0.aa270573.apk
vendored
BIN
rootfs/cache/nano-4.3-r0.aa270573.apk
vendored
Binary file not shown.
0
rootfs/cache/nghttp2-libs-1.39.2-r0.91445039.apk
vendored
Executable file → Normal file
0
rootfs/cache/nghttp2-libs-1.39.2-r0.91445039.apk
vendored
Executable file → Normal file
0
rootfs/cache/pcre-8.43-r0.dd42c3f9.apk
vendored
Executable file → Normal file
0
rootfs/cache/pcre-8.43-r0.dd42c3f9.apk
vendored
Executable file → Normal file
0
rootfs/cache/ssl_client-1.30.1-r3.0ea45bbf.apk
vendored
Executable file → Normal file
0
rootfs/cache/ssl_client-1.30.1-r3.0ea45bbf.apk
vendored
Executable file → Normal file
BIN
rootfs/sonoff-flasher.apkovl.tar.gz
Executable file → Normal file
BIN
rootfs/sonoff-flasher.apkovl.tar.gz
Executable file → Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user