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.
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)
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.
-
Download the image file
For more information about getting the image file, see Socket and vSocket Image Files.
-
Untar the image (see instructions below).
After you untar the image, the file is located in the following directory:
live
-
Get a USB drive with at least 8GB. If it is necessary to format the USB drive, use either the exFAT or FAT32 format. When using the FAT32 format, the USB drive should not be larger than 32GB.
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 downloaded 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: 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.
- Make sure to copy the hash file to the same directory as the image file.
-
Run the following command to compare the file hash of the Socket image:
(Get-FileHash -Algorithm SHA256 .\IMAGE_INSTALL_socket_X1500_BR2_18960_production_socket_v21.1_20240919_2024_12_12.dd).Hash -eq (gc .\X1500-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>
<diskN> is a variable which you identify in the previous step, this sample output shows the drive as
disk0
:diskutil list /dev/disk0 (internal, physical)
-
Untar the image (double-click the file).
-
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 the following command:
dd if=./<file name> of=/dev/diskN bs=16m
For example
dd if=./IMAGE_INSTALL_socket_X1500_BR2_18960_production_socket_v21.1_20240919_2024_12_12.dd of=/dev/diskN bs=16m
WARNING: Make sure you write the image on the USB drive and not on your hard disk.
-
Connect the USB drive to your Linux machine
-
Identify the USB device: /dev/sdb or /dev/sdc.
-
Untar the image.
-
Run the following command
dd if=./<file name> of=/dev/sdX
For example
dd if=./IMAGE_INSTALL_socket_X1500_BR2_18960_production_socket_v21.1_20240919_2024_12_12.dd of=/dev/sdX
Notes:
-
For supported versions, you can append
status=progress
to thedd
command to see the status of the write-to-USB operation. -
Make sure you write the image on the USB drive and not on your hard disk.
-
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.
Note
Note: If the Socket is currently shown in the Cato Management Application as assigned to a site, unassign the Socket from the site (see Managing Sockets). Then after the new image is installed, you can assign the Socket to the site again.
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 Accessing 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:
-
Log in to the Socket WebUI.
You can use an Ethernet cable to connect to Socket LAN2 port on the X1500 Socket to the computer.
-
Navigate to the About page.
-
Confirm that the Version is the same as the image file you downloaded above.
The example below shows the version for an X1500 Socket with Socket version 17.x:
- X1500-hash.txt149 Bytes
6 comments
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
Updated article for v13.0 Socket image
Do we have a limitation for using USB 3.0?
If yes, it should be added to the KB.
Updated article for v17.0 Socket image
What is the difference between initializing a socket with an image and initializing it with the F/D button? Which is safer and more accurate?
The Get-Filehash command uses an outdated file name for the image, suggest replacing it with .\IMAGE_INSTALL_socket_X1500_BR2_*.dd or whatever format would be future proof.
Please sign in to leave a comment.