Cato Networks Knowledge Base

How to Reset an X1700 Socket (USB Drive)

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

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

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

Identifying the USB Port on the X1700 Socket

The X1700 Socket has two USB ports on the front panel, use the USB2 port on the X1700 Socket to install an image. The following diagram shows which port you can use to reimage the X1700 Socket with a USB drive.

1700_USB_Ports_Callouts.png
  1. USB1 port - Don't use to reimage the X1700 Socket

  2. USB2 port - You can use USB 2.0 flash drives to reimage the X1700 Socket with the USB2 port (Using a USB 3.0 flash drive will cause issues during the installation process)

Resetting the Socket to the Factory Default Configuration and Version

Preparing the Socket Image

  1. Download the image file IMAGE_INSTALL_socket_X1700_12362_production_socket_v13.0_20211205_2022_04_17.dd.tgz

  2. Untar the image (see instructions below).

  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.

  • You can download a file with the verified hash here

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

Note

IMPORTANT: You must use the USB2 port to install the image on the X1700 Socket. You can't install the image with the USB1 port.

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_X1700_12362_production_socket_v13.0_20211205_2022_04_17.dd).Hash -eq 
    (gc .\IMAGE_INSTALL_socket_X1700_12362_production_socket_v13.0_20211205_2022_04_17.dd.tgzsha.256.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 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=./X1700-11-0-5311-dd.tgz of=/dev/diskN bs=16m

Burning the Image with Linux

  1. Connect the USB drive to your Linux machine

  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=./X1700-11-0-5311-dd.tgz of=/dev/sdX

Installing the Image on the X1700 Socket

  1. Power off X1700 appliance.

  2. Insert the USB flash drive that you prepared in section 2 in the USB2 port.

  3. Power on X1700 appliance.

  4. Installation starts upon X1700 boot, it should last around 1.5-2 minutes depending on USB flash drive speed.

  5. After installation completion X1700 will be powered off automatically, so this event (power off) designates end of installation.

  6. Eject the USB flash drive.

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

  8. While connected to the X1700 terminal and upon completion of its boot process X1700 login prompt shall be displayed as

    Cato Networks Socket X1700

    X1700 login:

  9. Please login to the X1700 using the same user and password.

  10. Upon successful login display should show the following information:

Cato Networks Socket X1700

X1700 login:

Password:

____ _ _____ ___ _ _ _ _

/ ___| / \|_ _/ _ \ | \ | | ___| |___ _____ _ __| | _____

| | / _ \ | || | | | | \| |/ _ \ __\ \ /\ / / _ \| '__| |/ / __|

| |___ / ___ \| || |_| | | |\ | __/ |_ \ V V / (_) | | | <\__ \

\____/_/ \_\_| \___/ |_| \_|\___|\__| \_/\_/ \___/|_| |_|\_\___/

____ _ _ __ ___ _____ ___ ___

/ ___| ___ ___| | _____| |_ \ \/ / |___ / _ \ / _ \

\___ \ / _ \ / __| |/ / _ \ __| \ /| | / / | | | | | |

___) | (_) | (__| < __/ |_ / \| | / /| |_| | |_| |

|____/ \___/ \___|_|\_\___|\__| /_/\_\_|/_/ \___/ \___/

Socket CPU: Intel(R) Core(TM) i3-4330 CPU @ 3.50GHz

Socket RAM: 8061892 kB

Socket OS fingerprint: b97abb7fca86a2ecec13dc79dc4c006de6567e16

Socket management interface:

inet 169.254.100.1/16 brd 169.254.255.255 scope global eth8:1

Socket version: 11.0.2107

Socket serial number: XXXXXXXXXXX

Please verify that the Socket serial number field should contain a real serial number of appliance as printed on appliance sticker. For example:

  • Socket OS fingerprint field is b97abb7fca86a2ecec13dc79dc4c006de6567e16

  • Socket version is 11.0.2107

  • Socket management interface address is 169.254.100.1

  • CPU and RAM are the same as above

Was this article helpful?

3 out of 4 found this helpful

Comments

3 comments

  • Comment author
    Yaakov Simon

    Updated article to show that you use the USB2 port to reimage the X1700 Socket

    0
  • Comment author
    Yaakov Simon

    Updated article - only USB 2.0 flash drives are supported to reimage the X1700 Socket

    0
  • Comment author
    Yaakov Simon

    Updated article for v13.0 Socket image

    0

Please sign in to leave a comment.