This article explains how to reset an X1700B Socket to the factory image using an USB drive.
Note
WARNING! 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.
The X1700B Socket front panel has two USB ports on the front panel, you can use either port to install an image using a USB drive. Only USB 2.0 or USB 1.0 drives can be used. These are the X1700B Socket front panel USB ports.
For X1700 and X1700B Sockets with add-on modules, you must remove the modules during the entire reimaging process.
After the Socket successfully boots, reinsert the add-on module into the Socket.
-
Download the image file.
For more information about getting the image file, see Socket and vSocket Image Files. -
Untar the image (see instructions below).
The image file is in the directory: data\jenkins\workspace\socket\build_socket _Live -
Get a USB drive with at least 8GB of storage space.
This section explains how to burn the Socket image to the USB drive for Windows, macOS, and Linux.
After you untar the image, compare the file hash of the uncompressed DD image file 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
-
Connect the USB drive to your Windows device.
-
Move both the downloaded image and hash files to the same directory, for example
c:\Cato
-
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.
-
Run the following command to compare the file hash of the Socket image:
(Get-FileHash -Algorithm SHA256 .\IMAGE_INSTALL_socket_X1700B_16870_socket-production-16535_v17.0_2023_06_04.dd).Hash -eq (gc .\X1700B-hash.txt).split()[0]
The command returns True when the hashes are the same.
-
Download and install disk imager software, such as Win32 Disk Imager.
-
Write the image to the USB drive. (You may need to show all the files with *.* to see the DD file)
-
Connect the USB drive.
-
Open a terminal window.
-
Identify the new drive using the command
diskutil list
-
Unmount the identified drive using
diskutil unmountDisk diskN
-
Untar the image.
-
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.
-
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_X1700B_16870_socket-production-16535_v17.0_2023_06_04.dd of=/dev/diskN bs=16m
-
Connect the USB drive to your Linux machine
-
Identify which device is your USB /dev/sdb or /dev/sdc
-
Untar the image.
-
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
-
Power off X1700B Socket.
-
For Sockets with add-on modules, remove the entire module from the Socket.
-
Insert the USB flash drive with the image into a USB port.
-
Power on X1700B Socket.
-
Installation starts upon X1700B boot, it should last approximately 5 minutes depending on USB flash drive speed.
-
After installation completion X1700B will be powered off automatically, so this event (power off) designates end of installation.
-
Remove the USB flash drive.
-
IMPORTANT! Disconnect the power cord and then connect it again it to power on the X1700B appliance.
-
While connected to the X1700B terminal and upon completion of its boot process X1700B login prompt is displayed as
Cato Networks Socket X1700B login:
-
For Sockets with add-on modules, re-insert the module into the Socket.
-
Please login to the X1700B using the same user and password.
-
Upon successful login, display should show the following :
Please verify that the Socket serial number field contains a real serial number of an appliance as printed on the appliance sticker. For example:
-
Socket OS fingerprint field is c6f8b61edd8150307f1e1da6612b7acf4009b5c9
-
Socket version is 16.0.15862
-
Socket management interface address is 169.254.100.1
-
CPU and RAM are the same as above
- X1700B-hash.txt144 Bytes
1 comment
Updated article for v17.0 Socket image
Please sign in to leave a comment.