#!/bin/sh echo -e HTTP/1.0 200 OK\\r\\n\\c echo -e Server: lumenera sh nph-cgi\\r\\n\\c echo -e Content-Type: text/html\\r\\n\\c echo -e Cache-Control: no-cache\\r\\n\\c echo -e Pragma: no-cache\\r\\n\\c echo -e \\r\\n\\c version=`l version | sed 's:Lumenera/explorer2::'` if test `luether get mem_free` -lt 3000 ; then echo '' echo '' echo 'Update Firmware' echo '' echo '' echo '' echo '' echo "" echo '
' echo '

Current Firmware:

' echo "

${version}

" echo "

boot version: `l get boot_version`

" echo '

There is not enough free memory on the camera to complete the upgrade. Rebooting the camera will free enough memory for the upgrade.

' echo '' echo '' else echo '' echo '' echo 'Update Firmware' echo '' echo '' echo '' echo '' echo '' echo '
' echo "

Back to Admin Mode

" echo '

Current Firmware:

' echo "

${version}

" echo "

boot version: `l get boot_version`

" echo '
' echo '

New Firmware:

' echo '' echo '
' echo '' echo '' echo '' echo '
' echo '
' echo '

Upgrade Instructions:

' echo '
    ' echo '
  1. Click the "Browse..." button to find the location of the firmware ".tgz" file. Select the bootloader upgrade file on your computer: boot-upgrade-bbbb.tgzm where bbbb is the 4-digit firmware build number.

  2. ' echo '
  3. Click the "Update Firmware" button. When the update completes, click on the "Done" button.

  4. ' echo '
  5. Return to Admin Mode and click on the Reboot Camera link to restart your camera.

  6. ' echo '
  7. After the camera reboots, upgrade again, this time selecting the main firmware package: upgrade--v.v.v.v-bbbb.tgz, where v.v.v.v. is the firmware version number and bbbb is the 4-digit firmware build number.

    After you click on the "Update Firmware" button, several messages will be displayed to show the progress of the upgrade.

  8. ' echo "
  9. After the upgrade completes, the camera will reboot. After the reboot, navigate to the camera's Admin Mode in a web browser. Click on the Watchdog link. Make sure that the Watchdog Enable and HTTP check boxes are selected. Click on the Save Settings link to store any change to this setting.

  10. " echo '
' echo '
' echo '' echo '' fi