这篇文章解释了如何使用USB驱动器重置X1500 Socket为出厂映像。
警告!
Cato拥有多个经过认证的X1500站点Socket硬件型号。 在安装映像之前,请确认您的Socket型号。
有关各种X1500 Socket型号的更多信息,请参见Cato插座重影。
识别 X1500 套接字型号
X1500、X1500B和X1500C Socket型号各有不同的映像。 确保您 Socket 背板的 PSU 符合下面的图片。
后面板上的 PSU(X1500)

如果您的Socket的PSU与图片不同,请参见如何重置X1500B Socket (USB驱动器)或如何重置X1500C Socket (USB驱动器)。 如果您在Socket上安装了错误的映像,可能会导致Socket停止工作。
将套接字重置为工厂默认配置和版本
This is a high-level overview of the steps to reset a Socket to the factory image using a USB drive.
- Prepare the image - download and untar it.
- Burn the image to the USB drive.
- Install the image on the Socket.
Preparing the Socket Image
Download the image file from here.
Untar the image (see instructions below).
After you untar the image, the file is located in the following directory:
liveGet a USB drive with at least 8GB. If you need to format the USB drive, use either exFAT or FAT32. If you use FAT32, the USB drive must be 32 GB or smaller.
将映像刻录到USB驱动器
本节解释如何为Windows、macOS和Linux将套接字图像刻录到USB驱动器。
解压缩图像后,比较未压缩的DD图像文件的文件哈希与Cato验证过的正确文件哈希。 在将套接字固件写入硬盘之前,确认磁盘图像完整性。
此文章附带验证哈希的文件。
将文件保存在与未压缩磁盘镜像同一目录中
通过Windows刻录图像
将USB驱动器连接到您的Windows设备。
将下载的两个文件移动到同一目录,例如
c:\Cato解压缩图像。 从与两个文件同一目录的提升权限的PowerShell提示符运行
tar -xf <archive-filename>
Important:
Common decompression software (such as WinZip, 7-Zip, or WinRAR) will corrupt the image, resulting in a ~135 MB file. Extracting the file with the Windows CLI tar command should produce a file larger than 1GB.
确保将哈希文件放在与图像文件同一目录中。
运行以下命令以比较套接字图像的文件哈希:
(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]当哈希相同时,命令返回True。
下载并安装磁盘刻录软件,如Win32 Disk Imager。
将图像写入USB驱动器。 (可能需要显示全部文件 *.* 来查看DD文件)
通过macOS刻录图像
连接USB驱动器。
打开终端窗口。
通过命令
diskutil list识别新驱动器使用
diskutil unmountDisk <diskN>卸载识别的驱动器<diskN>是上一步中识别的变量,示例输出显示驱动器为
disk0:diskutil list /dev/disk0 (internal, physical)解压缩图像(双击文件)。
运行以下命令以比较套接字图像的文件哈希:
shasum -a 256 <archive-filename>将命令的输出与此文章附带的哈希进行比较。
运行以下命令:
dd if=./<file name> of=/dev/diskN bs=16m例如
dd if=./IMAGE_INSTALL_socket_X1500_BR2_18960_production_socket_v21.1_20240919_2024_12_12.dd of=/dev/diskN bs=16m警告:确保将图像写入USB驱动器,而不是硬盘。
通过Linux刻录图像
将USB驱动器连接到Linux设备
识别哪一设备是你的USB
/dev/sdb或/dev/sdc解压缩图像。
运行以下命令查看图像文件的哈希:
shasum -a 256 /<文件路径>/<映像文件名>将命令的输出与此文章附带的哈希进行比较。
运行以下命令以将图像写入USB:
dd if=./IMAGE_INSTALL_socket_X1500_BR2_18960_production_socket_v21.1_20240919_2024_12_12.dd of=/dev/sdX注意事项:
对于支持的版本,可以在
dd命令中附加status=progress以查看写入USB操作的状态。确保将映像写入USB驱动器中,而不是硬盘。
在套接字上安装图像
套接字图像准备好在USB驱动器上后,将驱动器插入套接字。 当套接字启动时,它会安装图像并恢复出厂默认设置。
注意:
注意:如果Socket当前显示在Cato管理应用程序中分配给站点,请从站点取消分配Socket(请参阅管理 Sockets)。 然后当新图像安装后,可以再次将套接字分配给站点。
将USB驱动器连接到套接字的USB端口。
重新启动套接字(拔掉电源再插入)。
写入图像到套接字过程可能需要5分钟。 完成后,套接字会自动关闭。
重要! 断开USB驱动器的连接(否则,步骤3将再次发生)。
启动套接字(拔掉电源再插入)。
套接字将启动为默认版本和工厂默认配置。
Verifying the Socket Version
After installing the 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: If you log in to the Socket WebUI locally after installing the Socket image, the username and password are reset to their default values.
To verify the Socket version locally:
Log in to the Socket WebUI.
You can use an Ethernet cable to connect the MGMT port on the Socket to the computer.
Navigate to the About page.
Confirm that the Version is the same as the image file you downloaded above.
下面的示例显示的是具有套接字版本17.x的X1500套接字版本:
