Cato Networks Knowledge Base

How to Reset an X1500 Socket (USB Drive)

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

Note

WARNING! Cato has two certified Socket hardware models for x1500 sites (x1500 and x1500B). Make sure that you identify the exact Socket model before installing the image on the Socket.

For more information about the two X1500 Socket models, see Overview of Reimaging Cato Sockets.

Identifying the X1500 Socket Model

There are separate images for the X1500 and X1500B Socket models. Make sure that the PSU for the back panel of your Socket matches the picture below.

  • PSU on the back panel (X1500)

    X1500_back_panel.png

If the PSU for your Socket is different than the picture, please see How to Reset an X1500B Socket (USB Drive). If you install the X1500B image on an X1500 Socket, you can cause the Socket to stop working.

Resetting the Socket to the Factory Default Configuration and Version

Preparing the Socket Image

  1. Download the image file IMAGE_INSTALL_socket_X1500_BR2_16422_socket_16303_production_17_image_v17.0_2023_03_16_ws.dd.tgz

  2. Untar the image.
    The image file is in the directory: data\jenkins\workspace\socket\build_socket _Live

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

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. 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.

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

    (Get-FileHash -Algorithm SHA256 .\IMAGE_INSTALL_socket_X1500_BR2_16422_socket_16303_production_17_image_v17.0_2023_03_16_ws.dd).Hash -eq (gc .\X1500-hash.txt).split()[0]

    The command returns True when the hashes are the same.

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

  5. 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 this command dd if=./<file name> of=/dev/diskN bs=16m (WARNING: MAKE SURE YOU WRITE THE IMAGE ON THE USB DRIVE AND NOT ON YOUR HARD DISK)

    For example dd if=./IMAGE_INSTALL_socket_X1500_BR2_16422_socket_16303_production_17_image_v17.0_2023_03_16_ws.dd.tgz of=/dev/diskN bs=16m

Burning the Image with Linux

  1. Connect the USB drive to your Linux device.

  2. Identify which device is your USB /dev/sdb or /dev/sdc

  3. Untar the image.

  4. Run this command dd if=./<file name> of=/dev/sdX (WARNING: MAKE SURE YOU WRITE THE IMAGE ON USB AND NOT ON YOUR HARD-DISK)

    For example dd if=./IMAGE_INSTALL_socket_X1500_BR2_16422_socket_16303_production_17_image_v17.0_2023_03_16_ws.dd of=/dev/sdX

Installing the Image on the Socket

Was this article helpful?

15 out of 17 found this helpful

Comments

4 comments

  • Comment author
    Michael Ortega
    • Edited

    If using a MAC to perform the socket reset and factory default process, step 5 variation with the below command will show you active progress as well (no need to issue CONTROL T repeatedly to check progress):

    sudo dd if=./x1500_install_2018-10-02_15-09-07.dd | pv | sudo dd of=/dev/diskN bs=16m

    -1
  • Comment author
    Yaakov Simon

    Updated article for v13.0 Socket image

    0
  • Comment author
    Mordechai Nidam

    Do we have a limitation for using USB 3.0?

    If yes, it should be added to the KB.

    0
  • Comment author
    Saar Samuel Ben Kiki

    Updated article for v17.0 Socket image

    0

Please sign in to leave a comment.