如何重置X1500C套接字(USB驱动器)

Prev Next

这篇文章解释了如何使用USB驱动器重置X1500C套接字为工厂图像。

警告!

Cato有3个认证的X1500站点Socket硬件型号(X1500A,X1500B,X1500C)。在安装套接字上的图像之前,请确保确认套接字型号。安装错误型号的图像可能导致套接字停止工作。

有关各种X1500 Socket型号的更多信息,请参见Cato插座重影。

识别 X1500C 套接字型号

X1500C套接字的前面板在后面板上有两个USB端口,可以使用任一端口搭载图像。可以使用USB 2.0或USB 3.0驱动器。这些是X1500C套接字的后面板USB端口。

将套接字重置为工厂默认配置和版本

This is a high-level overview of the steps to reset a Socket to the factory image using a USB drive.

  1. Prepare the image - download and untar it.
  2. Burn the image to the USB drive.
  3. Install the image on the Socket.

Preparing the Socket Image

  1. Download the image file from here.

  2. Untar the image (see instructions below).

    After you untar the image, the file is located in the following directory: live

  3. Get 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.

将X1500C图像刻录到USB驱动器

本节解释如何为Windows、macOS和Linux将套接字图像刻录到USB驱动器。

解压缩图像后,比较未压缩的DD图像文件的文件哈希与Cato验证过的正确文件哈希。在将套接字固件写入硬盘之前,确认磁盘图像完整性。

  • 此文章附带验证哈希的文件。

  • 将文件保存在与未压缩磁盘镜像同一目录中

通过Windows刻录图像

  1. 将USB驱动器连接到您的Windows设备。

  2. 解压缩图像。从与两个文件相同目录中的提高权限 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.

  3. 确保将哈希文件放在与图像文件同一目录中。

  4. 运行以下命令以比较套接字图像的文件哈希:

    (Get-FileHash -Algorithm SHA256 .\IMAGE_INSTALL_socket_X1500C_BR2_21773_gen_image_prod_X1500C_v26.0_2026_01_19.dd).Hash -eq (gc .\X1500C-hash.txt).split()[0]

    当哈希相同时,命令返回True。

  5. 下载并安装磁盘刻录软件,如Win32 Disk Imager。

  6. 将图像写入USB驱动器。(可能需要显示全部文件 *.* 来查看DD文件)

通过macOS刻录图像

  1. 连接USB驱动器。

  2. 打开终端窗口。

  3. 通过命令diskutil list识别新驱动器

  4. 使用diskutil unmountDisk <diskN>卸载识别的驱动器

    <diskN>是上一步中识别的变量,示例输出显示驱动器为disk0:

    diskutil list
    /dev/disk0 (internal, physical)
  5. 解压缩图像(双击文件)。

  6. 运行以下命令以比较套接字图像的文件哈希:

    shasum -a 256 <archive-filename>

    将命令的输出与此文章附带的哈希进行比较。

  7. 运行以下命令:dd if=./<file name> of=/dev/diskN bs=16m

    例如dd if=./IMAGE_INSTALL_socket_X1500C_BR2_21773_gen_image_prod_X1500C_v26.0_2026_01_19.dd of=/dev/diskN bs=16m

    警告:确保将图像写入USB驱动器,而不是硬盘。

通过Linux刻录图像

  1. 将USB驱动器连接到Linux设备

  2. 识别哪一设备是你的USB/dev/sdb或/dev/sdc

  3. 解压缩图像。

  4. 运行以下命令查看图像文件的哈希:

    shasum -a 256 //
  5. 将命令的输出与此文章附带的哈希进行比较。

  6. 运行以下命令以将图像写入USB:

    dd if=./IMAGE_INSTALL_socket_X1500C_BR2_21773_gen_image_prod_X1500C_v26.0_2026_01_19.dd of=/dev/sdX

    注意事项:

    • 对于支持的版本,可以在dd命令中附加status=progress以查看写入USB操作的状态。

    • 确保将映像写入USB驱动器中,而不是硬盘。

在套接字上安装图像

套接字图像准备好在USB驱动器上后,将驱动器插入套接字。当套接字启动时,它会安装图像并恢复出厂默认设置。

注意: 如果Socket当前在Cato管理应用程序中显示为分配给一个站点,请取消从站点分配Socket(查看管理套接字)。然后当新图像安装后,可以再次将套接字分配给站点。

  1. 将USB驱动器连接到套接字的USB端口。

  2. 重新启动套接字(拔掉电源再插入)。

  3. 写入图像到套接字过程可能需要5分钟。完成后,套接字会自动关闭。

  4. 重要! 断开USB驱动器的连接(否则,步骤3将再次发生)。

  5. 启动套接字(拔掉电源再插入)。

  6. 套接字将启动为默认版本和工厂默认配置。

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:

  1. Log in to the Socket WebUI.

    You can use an Ethernet cable to connect the MGMT port on the Socket to the computer.

  2. Navigate to the About page.

  3. Confirm that the Version is the same as the image file you downloaded above.

下面的示例显示的是具有套接字版本17.x的X1500套接字版本:

x1500_sebui_v17.png