Connect AIOT-ILRA01 to The Things Network

  1. Home
  2. Docs
  3. Connect AIOT-ILRA01 to The Things Network
  4. Restore the pre-built image

Restore the pre-built image

You will need two USB flash drives. The first will be for the AIOT-ILRA01 TTN-ready image, and the second for the Clonezilla boot disk.

First of all, get a copy of the latest image for your gateway. Unzip the directory on a FAT32 formatted USB key.

You will also need to download the latest version of clonezilla to mount our image on your ILRA01. Download the latest AMD64, ZIP version of clonezilla here. Getting clonezilla ready is different depending on what OS you are. For a detailed guide, please visit the official documentation page on how to burn a USB flash drive.

Backup anything you need before you continue, as flashing the TTN-ready image will completely wipe your gateway.

  • Make sure the clonezilla flash drive is plugged in the gateway
  • Make sure your clonezilla flash disk Boot your gateway, if it’s the first time you will automatically be in the BIOS setup configuration, otherwise choose the “Advanced system setup” page on the OS selection list. Go to the “boot” tab, a make sure your clonezilla USB key is set to boot before the hard disk of the gateway. Now you can save and exit.
  • The system will now reboot, and the clonezilla setup screen will appear. Select “Clonezilla Live (To RAM)”. When prompted, select the correct layout for your keyboard.
  • Select “Start Clonezilla”. When prompted, select the first option, “Device-Image”.
  • When prompted select a “local_dev” configuration.
  • Press enter
  • Now you can safely remove the clonezilla flash drive and enter the drive with the TTN-ready image
  • Press CTRL + C as asked
  • Now you can select your newly inserted USB device as the image source (usually sda1).
  • Select the folder where image has been copied
  • Choose BEGINNER mode as it’s the fastest option
  • When prompted, select the “Restore Disk” option
  • Select the folder with the TTN-ready image again
  • SELECT the hard disk of your gateway as the destination
  • You can ask clonezilla to verify the validity of the TTN-ready image you downloaded
  • Ask for a reboot when the mounting is finished
  • All partitions will be now copied. Whenever prompted, just say “y”

The machine will now reboot. Your gateway is now running a fresh installation of ubilinux with all set ready for The Things Network.

Login of Ubilinux is:   user: ubilinux password: ubilinux