Correct a code change that was introduced in r501 (release 311) when fixing issue 51.
The modification to the manual feeding of Xively with updates via xAP would SEGV if the "now" attribute was not supplied as part of the xAP payload.
I've also amended the wiki to indicate what this "now" field is all about.
Member for
15 years 3 monthsCoincidence
Hi Brett
Just tried to upgrade to 316 and got 23% writing blocks then hung!... had to power off the HAH and now its locked into a boot-loop and I can't get into it...is it bricked?...
Elliot
Member for
15 years 1 monthHang ups
Funnily enough when I upgraded from 314 to 315 mine also hung up when writing blocks. Fortunately I was able to recover it with the RGWrepair app
Member for
15 years 3 monthsRepair
Hi Allan
Guess I'll give that a go then.....ta!
Elliot
Member for
16 years 10 monthsOh. Thats bad. If you had a
Oh. Thats bad. If you had a serial console cable you could see what it was up too. Maybe the image is getting too large. I don't know.
I ran an md5sum on my local file and the one I uploaded to check if it was corrupted on transfer, but everything checks out. I'm also running 316 flashed from the same image I transfer.
I always flash my own box with the image I upload. I'm running 316 ok.
Brett
Member for
15 years 3 monthsMust be me
Hi Brett - you're up late....
Must be me - I've got a load of stuff just sitting on the HAH and a couple of txt/data loggers that I manually delete each evening (is there a way I could automate that?... I'd want to move a xxx.dat file from /etc/plugboard to my local server across the network...I've no idea how to script and automate that! Could it be done in lua? then I could mod it and see how it works?).... guess I forgot to pare down the fluff before I tried the update...anyway I'm going to have a go with the repair app...
thanks for debugging the problem...
Elliot
Member for
15 years 3 monthsRepair
Hi Allan
Just tried RGWrepair and my PC couldn't see the HAH - does the network link have to be configured for a different IP address, I seem to remember 10.0.0.1 being mentioned - anyway any help on configuring the HAH would be appreciated - like, how do you do a factory reset?...I can't find that in the wiki anywhere...help!
Elliot
Found it - its just power off/unplug/hold the 1 button in/plug ig - power on/wait 10 seconds...3 red lights....already doing that!...bugger
Member for
15 years 1 monthNetwork
Elliot
I'm not sure that this can be done on a network. I think you just have to plug a patch cable into an Ethernet port and do the power on while holding down "button 1" procedure to put the box into reflash mode. Then select an image to restore.
I'm pretty sure that the wiki instructions on breaking into the box are what I used. I flashed the 287 firmware onto the box and then successfully upgraded from there.
Allan
P.S.
I upgraded my standby box without any problems so it's not necessarily something fundamental with the image, though I'm now a bit nervous about upgrading again. (Don't want grief from SWMBO because the heating goes belly up!)
Member for
17 years316 good for me
Just applied the 316 update. All smooth. I always reboot my HAH ahead of updating - clears out any old processes (my 'uptime' was several months).
On the rgwrepair, I've never tried this on a network - always just connected the Livebox directly to a laptop with a standard Cat5 cable. Best to temporarily disable laptop firewall when flashing.
Derek.
Member for
15 years 1 monthTriple success
For what it's worth, I just updated all 3 of my boxes to 316 without a hitch. The one which hung yesterday had quite a long up time so maybe that was the problem because although I did back it up immediately before the update :-) I didn't reboot it.
Allan
Member for
15 years 3 monthsRe-Flash
Hi All
I'm not trying to re-flash the HAH over the network!...I'm using the standard RJ45 cable from the PC direct to the Yellow port on the HAH...I'll give it another go...
Elliot
EDIT: Tried all combo's of switch press / run as Administrator / prayer and the outcome is the same... I connect the ethernet ports, run the fixer app on the PC, press button one and hold while power on, get the three lights on the HAH, release button one, the fixer app is in 'wait for programming mode' but after 60+ seconds the HAH rolls into its power on loop then the fixer app times out...HAH still merrily in its power up loop!!!!any ideas?
Would a swap in of an Eprom from another hub work?
E
Member for
17 yearsSerial console cable
As Brett mentioned, it's a lot easier to see what's happening at bootup time if you have a serial console cable attached. I can lend you one of these if you want to give it a try. Don't think that there are socketed devices on the Livebox PCB, so swapping individual parts not really viable.
If you think your box is bricked, it's annoying but not the end of the world. Liveboxes can still be had on eBay - if you watch out you can secure one for around £7 including P&P.
Derek.
Member for
15 years 3 monthsSerial Console Cable
Thanks Derek - what connectors does the console cable have and where does it plug into the livebox?
The reason I want to resurect this particular livebox is that its the pre-built one I got originally and its got the LCD, RF xmit and other stuff already connected!
Anyway if I dont have/can't make a console cable I'd like to take you up on your offer...i've still got your email address....ta!
Elliot
Member for
17 yearsSerial port connection
The console cable plugs into the MMJ socket on the Livebox (the same one as the HAH PCB connector plugs into). If you don't have an MMJ crimp tool, it's a bit tricky to make up a cable - you also need a max3232 chip. Best I just send you a pre-built cable to use.
I'll dig this out tonight and pop it in the post tomorrow.
Cheers,
Derek.
Member for
16 years 10 monthsElliot,Your livebox won't be
Elliot,
Your livebox won't be bricked as flashing does not alter the bootstrapping firmware.
You just have not set things up correctly to flash it.
The fact that you get the 3 LEDS lit up means its waiting for a server to talk to it with new firmware.
This is timing out as you have not set things up correctly so it drops out of programming mode and goes back into is booting loop cycle.
I always flash mine over the network with Linux box and a TFTP server, this works everytime, I found using windows very hit and miss. There are instructions for both Ubuntu and Fedora/CentOS distro's.
http://www.dbzoo.com/livebox/firmware#tftpd_for_ubuntu
UPDATE: People have had problem using RGWREPAIR and win7 - often using win XP will resolve it.
ref: /content/cant-get-programming-mode
Brett
Member for
15 years 3 monthsRe-Flash
Thanks Derek...looking forward to playing with the cable...
Thanks Brett ... trying to source a set of XP CD's as I've absolutely no idea about Linux!
Got a spare HAH up and running on 316 and all the posting now works a treat with no drop-outs...
Any ideas on automating a file transfer from the HAH to a LAN server?
Elliot
Member for
16 years 10 monthsThe easiest way to get
The easiest way to get diskspace onto your livebox is to NFS mount it from a Linux box, this is what I do when I'm testing stuff on the livebox itself to save reflashing and/or chewing up precious flash space with R/W cycles.
Ah that right you said you have no idea about Linux. See the problem :)
Brett
Member for
15 years 3 monthsLack of Linux
Hi Brett
Yes I'm hobbled by only having a basic knowledge of Windows/Office/VB - the only time I ever see anything different is when I'm LUAing and PUTTYing on the HAHbox, and I'm struggling with that (as you know - thanks for the assistance)!
I guess I'll have to bite the bullet at some stage and delve into that murky, arcane pool that is Linux, but I doubt if you'd have the patience with me!
I'll have a dabble in the web and see what I can find on mounting in Windows - but don't hold out much hope!...
Thanks for any/all the help.....
Elliot
EDIT: Had a look and now I need your recommendation - which flavour of Linux to go for, please.......Ubuntu or one of the others?...EJ
EDIT EDIT: Would a HP Compaq t5135 Thin Client VIA Eden 64M run a suitable version of Linux?
Member for
15 years 1 monthAlmost certainly it would run
Almost certainly it would run a suitable version of linux, but a Rasperry Pi probably does too. Maybe even try using a virtual machine version of a distro to see if you can access the box via your network. Then you won't have to buy any hardware.
Member for
15 years 7 monthsAnother option for windows
Another option for windows transfer would be to setup an ftp server on your windows box and setup Cron to copy relevant files across at a times schedule.
ive done something similar in the past to my NAS drive.
Garry
Member for
15 years 3 monthsVirtual machine
Alan -- OK... I'm willing to give it a try - any recommendations on what S/W to use?.....EJ
Garry -- Almost ditto above... can you lay it out with which S/W to use, please...EJ
Member for
16 years 10 monthsEJ check out
EJ check out https://www.virtualbox.org/
For a distro pretty much any linux distro will do all the kids are using Ubuntu these days personally I prefer CentOS.
Brettt
Member for
15 years 1 monthYes I use Virtualbox and
Yes I use Virtualbox and Ubuntu (though I don't think I qualify as a kid anymore :-( ) but for just getting some basic linux experience and the ability to use some basic linux commands you could use something like DSL (Damn Small Linux) or Puppy linux.
Both are small and would just let you have a go. DSL is command line only and Puppy has a GUI.
Having said all this I'd like to lay my cards on the table and state that I'm a tinkerer and not an expert!
Edit : Actually I think current versions of DSL May have a GUI too.
Member for
15 years 3 monthsTake this off thread
Hi Allan...
Can you email me on ejj 'at' lineone.net so I can badger you for help setting up VirtualBox...I think I've cluttered up this thread enough with off topic stuff!!!!
I'll just say - I've got VirtualBox on a Win7 PC and I click new, set up a Virtual XP session then click Start and a small window opens up on the desktop but nothing happens when I right-Ctrl/mouse click or type into it!!! then a progress bar message comes up saying 'Creating process for virtual machine "XP" (GUI/Qt) .. (1/2)' - and it hangs.... I have to shut down the process to clear the desktop...any ideas?
Elliot
EDIT: Loaded an XP appliance and can now see XP - next problem how to get it to see the network adaptor...EJ
Member for
15 years 3 monthsRepair
Repaired using XP on a VM and RGWrepair......now to get the HAH back!