Plugwise Smile P1 – Firmware update disabled
Na een lange tijd weer even bezig met de PlugWise Smile P1, toch weer nieuwe dingetjes aan de horizon.
Update disabled?
Ik ga naar de link: http://192.168.x.x/update/firmware en zie staan:
1 2 3 4 5 6 7 8 9 10 11 |
<?xml version="1.0" encoding="ISO-8859-1"?> <update> <firmware> <current> <version>2.0.62</version> </current> <upgrade> <state>update_disabled</state> </upgrade> </firmware> </update> |
Ook in de portal bij status staat geen nieuwe firmware vermeld:
Hoezo “update disabled”?, goed…ik log in met WINSCP en ga naar: /var/pwupgrade/update-definition.txt ,waarin staat:
1 2 3 4 |
version: 2.1.6 src: https://update.plugwise.net/images/smile/2.1.6.img md5sum: f1a524b981bc351000b1abe3708a5f62 description: Na deze update zal uw Smile of Stretch voortaan gebruik maken van de verbeterde Plugwise Cloud diensten. |
Dus…er is wel een nieuwere versie beschikbaar, even inloggen met SSH (na jailbreak) geeft ook
pwupgrade check aan dat er een nieuwe versie beschikbaar is:
Ps. een andere manier om deze firmware te installeren is via de bootlaoder met een UART en netwerk kabeltje.
Nou, dan de nieuwe downloaden met het commando: pwupgrade download , wat blijkt het wordt meteen geïnstalleerd!, het log:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
root@smile:/# pwupgrade download Shutting down services nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:28 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/p1processor/p1_rest.conf:3 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/diagnostic.conf:5 nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:59 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/p1processor/p1_rest.conf:3 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/diagnostic.conf:5 nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:84 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/p1processor/p1_rest.conf:3 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/diagnostic.conf:5 Stopping portal poller...done. /usr/bin/pwupgrade: line 453: /etc/init.d/mercury_poller: not found Stopping checklanstate...Terminated Stopping pwstated...returned: nil err: NoSuchMethodError errd: the method stop is not supported by this server. done. Stopping p1processor...Terminated nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:28 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/p1processor/p1_rest.conf:3 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/diagnostic.conf:5 nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:59 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/p1processor/p1_rest.conf:3 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/diagnostic.conf:5 nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:84 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/p1processor/p1_rest.conf:3 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/diagnostic.conf:5 nginx: [error] open() "/var/run/nginx.pid" failed (2: No such file or directory) nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:28 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/p1processor/p1_rest.conf:3 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/diagnostic.conf:5 nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:59 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/p1processor/p1_rest.conf:3 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/diagnostic.conf:5 nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:84 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/p1processor/p1_rest.conf:3 nginx: [warn] lua_code_cache is off; this will hurt performance in /usr/local/plugwise/rest-interface/modules/diagnostic.conf:5 Drop cache to free some memory Downloading upgrade image file. executing curl -# --cacert /etc/ssl/authorities.cert --cert /etc/ssl/private/curl-cert.pem -o /tmp/pwupgrade//image-2.1.6.bin "https://update.plugwise.net/images/smile/2.1.6.img" ######################################################################## 100.0% rm: can't remove '/tmp/pwupgrade/state.lock': No such file or directory Starting sysupgrade. Saving config files... Sending TERM to remaining processes ... p1logger ntpd checklanstate pwupgrade Terminated root@smile7feba8:/# nginx nginx poller_monit_st sleep syslogd klogd hotplug2 procd ubusd netifd crond ifplugd ifplugd avahi-daemon pwannounce Sending KILL to remaining processes ... pwannounce Switching to ramdisk... mount: mounting /dev/mtdblock6 on /overlay failed: Device or resource busy Performing system upgrade... Unlocking firmware ... root@smile: Appending jffs2 data from /tmp/sysupgrade.tgz to firmware... |
en toen…connectie verbroken, ik ben benieuwd…het hoofd scherm ziet er nog hetzelfde uit:
Maar bij status staat dan firmware v2.1.7, dat is wel raar…
1 2 3 4 5 |
2015-06-25T10:51:04+0000 Checking firmware specific post upgrade script... Performing upgrade (if required)... Upgrading from 2.0.62 to 2.1.7... Upgrade done. |
Wellicht een typefoutje geweest….
Wat specs van de OpenWrt versie:
1 2 3 4 5 6 |
DISTRIB_ID="OpenWrt" DISTRIB_RELEASE="Bleeding Edge" DISTRIB_REVISION="r36570" DISTRIB_CODENAME="barrier_breaker" DISTRIB_TARGET="ramips/rt305x" DISTRIB_DESCRIPTION="OpenWrt Barrier Breaker r36570" |