Cato Networks Knowledge Base

How to Reset an X1600 Socket (USB Drive)

  • Updated

This article explains how to reset an X1600 Socket to the factory image using an USB drive.

Resetting the Socket to the Factory Default Configuration and Version

Preparing the Socket Image

  1. Download the image file

    For more information about getting the image file, see Socket and vSocket Image Files.

  2. Untar the image (see instructions below).

    After you untar the image, the file is located in the following directory: data\jenkins\workspace\socket\build_socket _Live

  3. Get a USB drive with at least 8GB of storage space.

Burning the Image to the USB Drive

This section explains how to burn the Socket image to the USB drive for Windows, macOS, and Linux.

After you untar the image, compute the file hash of the uncompressed DD image file and then compare it to the Cato verified, correct file hash. This confirms the disk image integrity before writing the Socket firmware to the hard drive.

  • A file with the verified hash is attached to this article

  • Save the file to the same directory as the uncompressed disk image

Burning the Image with Windows

  1. Connect the USB drive to your Windows device.

  2. Move both downloaded files to the same directory, for example c:\Cato

  3. Untar the image, from the elevated Powershell in the same directory as both files, run tar -xf <archive-filename>

    Note

    Note: Common decompression software (such as Winzip, 7zip or Winrar) will corrupt the image, resulting in a file that is ~135MB in size. Extracting the file using the Windows CLI tar command should result in a file size that is larger than 1GB.

  4. Run the following command to compare the file hash of the Socket image:

    (Get-FileHash -Algorithm SHA256 .\IMAGE_INSTALL_socket_X1600_16857_socket-production-16535_v17.0_2023_06_01.dd.Hash -eq (gc .\X1600-hash.txt).split()[0]

    The command returns True when the hashes are the same.

  5. Download and install disk imager software, such as Win32 Disk Imager.

  6. Write the image to the USB drive. (You may need to show all the files with *.* to see the DD file)

Burning the Image with macOS

  1. Connect the USB drive.

  2. Open a terminal window.

  3. Identify the new drive using the command diskutil list

  4. Unmount the identified drive using diskutil unmountDisk diskN

  5. Untar the image.

  6. Run the following command to compare the file hash of the Socket image:

    shasum -a 256 <archive-filename>

    Compare the output of this command with the verified hash above.

  7. Run the following command: dd if=./<file name> of=/dev/diskN bs=16m

    Note: Make sure you write the image on the USB drive and NOT on your hard disk.

    For example dd if=./IMAGE_INSTALL_socket_X1600_16857_socket-production-16535_v17.0_2023_06_01.dd of=/dev/diskN bs=16m

Burning the Image with Linux

  1. Connect the USB drive to your Linux machine

  2. Identify the USB device: /dev/sdb or /dev/sdc.

  3. Untar the image.

  4. Run the following command dd if=./<file name> of=/dev/sdX

    Note: Make sure you write the image on the USB drive and NOT on your hard disk.

    For example dd if=./IMAGE_INSTALL_socket_X1600_16857_socket-production-16535_v17.0_2023_06_01.dd of=/dev/sdX

Installing the Image on the X1600 Socket

After the Socket image is prepared on the USB drive, insert the drive in the Socket. When the Socket boots up, it installs the image and resets to factory default settings.

To install the image on a X1600 Socket:

  1. Power off X1600 Socket.

  2. Insert the USB flash drive that you prepared above into a USB port in the Socket.

  3. Power on X1600 Socket.

  4. Installation starts when the X1600 Socket is booting and generally takes about 5 minutes, depending on USB drive speed.

    During installation, the power LED should turn from amber to green (process is ready).

  5. After the image is installed, the X1600 Socket automatically powers off.

  6. Remove the USB drive.

  7. IMPORTANT! Disconnect the power cord and then connect it again to power on the X1600 appliance.

Verifying the Socket Version

After installing Socket image, you can verify that the process has been successful by using the Socket WebUI to verify the Socket version.

For more about logging in to the Socket WebUI, see Using the Socket WebUI.

Note

Note: If you are logging in to Socket WebUI locally after installing the Socket image, the login username and password are reset to default settings.

To verify the Socket version:

  1. Log in to the Socket WebUI.

  2. Navigate to the About page.

  3. Confirm the Version row is the same version as the image file you downloaded in Socket and vSocket Image Files

    Socket_WebUI_About.png

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.