Upgrading HeaterMeter & LinkMeter


 

Andrew Meimann

TVWBB Member
I have a LinkMeter with a V3.2 HeaterMeter board. I built this last spring and have not upgraded since. This morning I upgraded HeaterMeter through the LinkMeter web interface. HeaterMeter upgraded successfully and the LCD shows the correct temps of 4 different probes. After the upgrade the web interface lost all of the settings in the configuration page and the home screen does not show any information. It is also painfully slow to open the web interface now. I decided to try to upgrade LinkMeter and am have having some issues. When I try to upgrade using PuTTY and following the instructions in the wiki I get the following:

root@ACMLinkMeter:~# sysupgrade http://capnbry.net/linkmeter/snapshots/trunk/lin
kmeter-brcm47xx-squashfs.trx
Saving config files...
Sending TERM to remaining processes ... dnsmasq ntpd syslogd klogd hotplug2 lua
Sending KILL to remaining processes ...
Switching to ramdisk...
Performing system upgrade...
wget: bad address 'capnbry.net'
wget: bad address 'capnbry.net'
Could not get image header, file too small (0 bytes)
Image check failed.
Upgrade completed
Rebooting system...


After the reboot the web interface is still painfully slow to access, and it does not show any information from HeaterMeter (which still works fine). Can someone point me in the right direction? Thanks
 
Thanks Evan. I removed HeaterMeter and the web interface returned to being responsive. I tried your command and then the previous command still with no luck.


root@ACMLinkMeter:~# sysupgrade http://24.73.193.140/linkmeter/snapshots/trunk/l
inkmeter-brcm47xx-squashfs.trx
wget: server returned error: HTTP/1.1 404 Not Found
wget: server returned error: HTTP/1.1 404 Not Found
Invalid image type. Please use only .trx files
Image check 'platform_check_image' failed.
root@ACMLinkMeter:~# sysupgrade http://capnbry.net/linkmeter/snapshots/trunk/lin
kmeter-brcm47xx-squashfs.trx
Saving config files...
Sending TERM to remaining processes ... dnsmasq ntpd syslogd klogd hotplug2 lua
Sending KILL to remaining processes ...
Switching to ramdisk...
Performing system upgrade...
wget: bad address 'capnbry.net'
wget: bad address 'capnbry.net'
Could not get image header, file too small (0 bytes)
Image check failed.
Upgrade completed
Rebooting system...
 
Are you connected to the internet? Try to ping google.

ping www.google.com

dave

Thanks Evan. I removed HeaterMeter and the web interface returned to being responsive. I tried your command and then the previous command still with no luck.


root@ACMLinkMeter:~# sysupgrade http://24.73.193.140/linkmeter/snapshots/trunk/l
inkmeter-brcm47xx-squashfs.trx
wget: server returned error: HTTP/1.1 404 Not Found
wget: server returned error: HTTP/1.1 404 Not Found
Invalid image type. Please use only .trx files
Image check 'platform_check_image' failed.
root@ACMLinkMeter:~# sysupgrade http://capnbry.net/linkmeter/snapshots/trunk/lin
kmeter-brcm47xx-squashfs.trx
Saving config files...
Sending TERM to remaining processes ... dnsmasq ntpd syslogd klogd hotplug2 lua
Sending KILL to remaining processes ...
Switching to ramdisk...
Performing system upgrade...
wget: bad address 'capnbry.net'
wget: bad address 'capnbry.net'
Could not get image header, file too small (0 bytes)
Image check failed.
Upgrade completed
Rebooting system...
 
^^ Agreed. Also, make sure if you are pasting the info in that it is not breaking the update line into 2 lines.
 
Pinging Google looks OK. Also I haven't been pasting into PuTTY, I type it all out.

root@ACMLinkMeter:~# ping www.google.com
PING www.google.com (74.125.227.116): 56 data bytes
64 bytes from 74.125.227.116: seq=0 ttl=51 time=80.885 ms
64 bytes from 74.125.227.116: seq=1 ttl=51 time=74.798 ms
64 bytes from 74.125.227.116: seq=2 ttl=51 time=70.557 ms
64 bytes from 74.125.227.116: seq=3 ttl=51 time=72.064 ms
64 bytes from 74.125.227.116: seq=4 ttl=51 time=70.040 ms
64 bytes from 74.125.227.116: seq=5 ttl=51 time=77.771 ms
64 bytes from 74.125.227.116: seq=6 ttl=51 time=72.005 ms
64 bytes from 74.125.227.116: seq=7 ttl=51 time=85.790 ms
64 bytes from 74.125.227.116: seq=8 ttl=51 time=82.661 ms
 
Bryan,

Is there any reason why this upgrade should not work? Do you have any thoughts on why after HeaterMeter updated it slows the web interface down almost to the point where it isn't usable? Thanks
 
Sorry I've been out of town and don't know my password to be able to post here. The reason it isn't working after you upgraded the HeaterMeter firmware is because the protocol is incompatible with what the linkmeterd is expecting. It is the wrong baud rate and the old linkmeterd doesn't understand the checksums at the end of every line either.

You should just be able to upgrade the linkmeter package (I think this is the right command line):
opkg upgrade http://capnbry.net/linkmeter/snapshots/trunk/packages/linkmeter_2_brcm47xx.ipk

If it complains about being the same version number, maybe remove the old linkmeter package first, then opkg install the new one. If you are able to just upgrade it, you'll need to change the baud in /etc/config/lucid from 115200 to 38400.
 
Thanks Bryan. I tried upgrading just the package and couldn't get that to work either. I ended up having to use TFTP and the BIN file to re install instead of upgrade. Everything seems to be working now.
 
Yeah I don't get it. It seems that your LinkMeter was unable to resolve capnbry.net. Maybe I'm blacklisted! Glad you got it sorted out though.
 

 

Back
Top