This article explains how to reset an X1500B 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.
In May 2022, Cato introduced a second hardware model for the x1500 Socket. The new hardware model is referred as X1500B and it uses a different image than the X1500 Socket.
There are two ways to identify the X1500B model, the PSU (power supply unit) port on the back panel, and the sticker on the underside of the Socket.
-
PSU on the back panel
-
Sticker on the underside
If you install the X1500 image on an X1500B 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:
V17
-
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.
-
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_X1500B_BR2_16386_socket_16303_production_17_image_v17.0_2023_03_12_ws.dd).Hash -eq (gc .\X1500B-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_X1500B_BR2_16856_socket_16303_production_17_image_v17.0_2023_03_12_ws.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 which device is your USB /dev/sdb or /dev/sdc
-
Untar the image.
-
Run the following command to write the image to the USB:
dd if=./IMAGE_INSTALL_socket_X1500B_BR2_16386_socket_16303_production_17_image_v17.0_2023_03_12_ws.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 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:
-
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:
- X1500B-hash.txt150 Bytes
3 comments
Updated article for v13.0 Socket image
Updated article for v17.0 Socket image
Updated article for v19.0 Socket image and hash file.
Please sign in to leave a comment.