This is an old revision of the document!


Flash / backup the OS

Each Unipi Gate device contains Debian-based OS and is supplied with a pre-installed Node-RED software solution by default. The OS can be however reflashed for any other compatible software you wish to install.

Gate

To upload OS into the Unipi Gate through its service interface, you need to access the service mode first. To enable it, follow instructions in this article.

  1. Enter the device's IP address into a web browser. Upon confirmation, you will be connected to the Unipi Gate service interface
  2. In the service interface, drag and drop the archive.swu file extracted from the OS image archive into the Software update dialogue window
  3. The flashing process is indicated by rapid blinking of ACT, TX and RX diodes (demonstration here)
  4. Wait until the device finishes the process. Its progress can be monitored in a dialogue window under the Messages label
  5. Finishing the process is indicated by diodes going off and a reboot of the device
  1. Prepare a USB flash disk in FAT32 format with a capacity of at least 2 GB
  2. Copy the content of the ZIP archive onto the flash disk
  3. Unplug the power supply from the device and insert the flash disk into the device's USB port
  4. Press and hold the SERVICE button on the device's face side
  5. Plug the power supply back. Unipi Gate will automatically start the OS flashing process indicated by rapid blinking of ACT, TX and RX diodes (demonstration here)
  6. You can now release the SERVICE button
  7. Finishing the process is indicated by diodes going off and a reboot of the device

If the USB flash disk is not compatible, Unipi Gate will not start the OS flashing and reboots. In that case, you need to use a different flash disk or the above-mentioned flashing through the service interface.

  1. Prepare a USB flash disk in FAT32 format with a capacity of at least 2 GB
  2. Start the device in the service mode
  3. Insert the flash disk and wait for approximately 5 seconds
  4. In the service interface, click on the Backup to USB flash button located in the Backup dialogue window
  5. Unipi Gate will start creating the OS backup - the process is indicated by rapid blinking of ACT, TX and RX diodes (demonstration here)
  6. Upon finishing the process, a “Updated successfully” prompt will be displayed in the service display and blinking of the LEDs will slow down (demonstration here)
  7. You can now reboot the device using a button on the upper right corner of the web interface
  8. For loading the backup or uploading the OS into a different device of the same product line, follow the guide below

If the USB flash disk is not compatible, Unipi Gate will not start the backup process. In that case, you need to use a different flash disk.

  1. Unplug the power supply from the device and insert the flash disk into the device's USB port
  2. Press and hold the SERVICE button on the device's face side
  3. Plug the power supply back. Unipi Gate will automatically start the OS flashing process indicated by rapid blinking of ACT, TX and RX diodes (demonstration here)
  4. You can now release the SERVICE button
  5. Finishing the process is indicated by diodes going off and a reboot of the device