3.4 Troubleshooting

Operational problems

If something during the operation goes wrong, one of the following solutions might help.

Autoupgrade to latest release fails

If the automatic installation via the web gui fails, the following can be done:

ssh -l root (only support for hmac-sha1 and hmac-md5)

cd /www/autonta

./update_system.lua -b -k -d -i -w

(but first without -i and for example with -c. Also -h has some interesting options, like -o)

If this fails, try using a ‘wget’ of the correct .bin image to / tmp (matching the hardware used) and a sysupgrade (standard OpenWRT-command).

For example:

sysupgrade -c ./sidn_valibox_gl-ar150_beta-2017-07-05-1537.bin
  • -c means: attempt to preserve all changed files in /etc/
  • -n means: complete reflash
  • without options is: ‘retaine some things’ (TODO: which?)

Finally, there is the ‘recovery’ option, depending on the type of device.

In het geval van de GL-iNet kun je bij het aanzetten (dus zodra hij stroom heeft) de resetknop ingedrukt houden. Nadat de rode LED 5 keer heeft geknipperd laat je reset los, en het apparaat boot in recovery-mode, met een fixed ip op de WAN-poort. Plug daar een laptop aan met een ander IP uit, en je kunt via een browser een volledig nieuwe image uploaden.

In the case of a GL-iNet, you can press and hold the reset button when switching on (ie as soon as it has power). After the red LED has blinked 5 times, release the reset, and boot the device in recovery mode, with a fixed IP address on the WAN port. Plug in a laptop with a different IP addresss from, and you can upload a completely new image via a browser.