Plugwise Smile P1 – Firmware upgrade (SSH)
De smile bleef hangen op firmware v1.2.8, hieronder is een manier om via de SSH de Smile bij te werken.
Voorbeeld firmware naar versie 1.2.12
Log in via de SSH verbinding en geef het commando pwupgrade download , om de meest recente firmware te downloaden:
1 2 3 4 5 6 7 8 9 10 |
Drop cache to free some memory Stop monit Stop portal_poller Stopping portal poller...done. Restarting nginx nginx: [emerg] bind() to 0.0.0.0:80 failed (125: Address already in use) nginx: [emerg] bind() to 0.0.0.0:9000 failed (125: Address already in use) Downloading upgrade image file. executing curl -# --cacert /etc/ssl/GlobalSign.cert --cert /etc/ssl/private/curl-cert.pem -o /tmp/pwupgrade//image-1.2.12.bin "https://update.plugwise.net/images/smile/1.2.12.img" ######################################################################## 100.0% |
Geef dan het commando pwupgrade install , om de firmware te installeren:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Starting sysupgrade. Saving config files... Sending TERM to remaining processes ... uhttpd sh sleep nginx poller_monit_st /sbin/sysupgrade: line 184: can't open /proc/12872/stat: no such file sleep pwupgrade Terminated root@smile:/# ntpd pwstated logger p1logger rcS logger syslogd klogd hotplug2 crond Sending KILL to remaining processes ... pwstated /sbin/sysupgrade: line 186: can't open /proc/2038/stat: no such file /sbin/sysupgrade: line 186: can't open /proc/2037/cmdline: no such file pwstated Switching to ramdisk... Performing system upgrade... Unlocking firmware ... Writing from <stdin> to firmware ... [w] Appending jffs2 data from /tmp/sysupgrade.tgz to firmware... Writing from <stdin> to firmware ... Upgrade completed Rebooting system... |
Voorbeeld firmware naar versie 2.0.62
Log in via de SSH verbinding en geef het commando pwupgrade download , om de meest recente firmware te downloaden:
1 2 3 4 5 6 7 8 9 10 |
Drop cache to free some memory Stop monit Stop portal_poller Stopping portal poller...done. Restarting nginx nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:24 nginx: [warn] lua_code_cache is off; this will hurt performance in /etc/nginx/nginx.conf:24 Downloading upgrade image file. executing curl -# --cacert /etc/ssl/GlobalSign.cert --cert /etc/ssl/private/curl -cert.pem -o /tmp/pwupgrade/image-2.0.62.bin "https://update.plugwise.net/images/smile/2.0.62.img" ######################################################################## 100.0% |
Geef dan het commando pwupgrade install , om de firmware te installeren:
1 2 3 4 5 6 7 8 9 10 11 |
Starting sysupgrade. Saving config files... Sending TERM to remaining processes ... ifplugd ifplugd p1logger pwstated logger ntpd nginx poller_monit_st nginx sleep pwupgrade Terminated root@smile_7feba8:~# syslogd klogd hotplug2 crond Sending KILL to remaining processes ... pwstated Switching to ramdisk... Performing system upgrade... Unlocking firmware ... Writing from <stdin> to firmware ... Appending jffs2 data from /tmp/sysupgrade.tgz to firmware... |
Hier bleef de smile bij mij hangen in putty, maar blijkt ondertussen opnieuw opgestart te zijn…