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

Prev Next

本文解释了如何通过USB驱动器将X1700C套接字恢复到出厂映像。

警告!

Cato拥有种X1700站点的认证Socket硬件型号(X1700、X1700B、X1700C)。在安装套接字上的图像之前,请确保确认套接字型号。

有关各种 X1700 Socket 型号的更多信息,请参阅 重新映像 Cato Sockets。

识别X1700C套接字上的USB端口

X1700C套接字前面板有两个USB端口,您可以使用任一端口通过USB驱动器安装映像。可以使用USB 2.0或USB 3.0驱动器。这些是X1700C套接字前面板上的USB端口。

X1700C USB端口.png

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

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.

使用附加功能重置套接字

对于具有附加模块的X1700C套接字,您必须在整个重影过程中移除模块。

套接字成功启动后,将附加模块重新插入套接字。

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.

将映像刻录到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_X1700C_20970_production_socket_v25.0_20250914_2025_11_14.dd).Hash -eq (gc .\X1700C-hash.txt).split()[0]

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

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

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

通过macOS刻录图像

  1. 连接USB驱动器。

  2. 打开终端窗口。

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

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

  5. 解压缩图像(双击文件)。

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

    shasum -a 256 <archive-filename>

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

  7. 运行以下命令以将映像写入USB驱动器:

    dd if=./IMAGE_INSTALL_socket_X1700C_20970_production_socket_v25.0_20250914_2025_11_14.dd of=/dev/diskN bs=16m

    注意事项:

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

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

通过Linux刻录图像

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

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

  3. 解压缩图像。

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

    shasum -a 256 /<文件路径>/<映像文件名>
  5. 将命令的输出与此文章附带的哈希进行比较。

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

    dd if=./IMAGE_INSTALL_socket_X1700C_20970_production_socket_v25.0_20250914_2025_11_14.dd of=/dev/sdX

    注意事项:

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

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

在X1700C套接字上安装映像

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

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

在X1700C套接字上安装映像:

  1. 关闭X1700C套接字。

  2. 对于带有附加模块的套接字,移除套接字中的所有模块。

  3. 插入您在第2节中准备的USB闪存驱动器到一个USB端口中。

  4. 打开X1700C套接字。

  5. 启动时安装开始,时间应约为5分钟,具体取决于USB闪存驱动器的速度。

  6. 安装完成后,X1700C将自动关闭,因此Socket断电时,新映像已安装在Socket上。

  7. 从套接字中移除USB闪存驱动器。

  8. 重要!断开电源线,然后重新连接以启动Socket。

  9. 对于带有附加模块的套接字,请执行以下操作:

    1. 关闭套接字,并插入模块。

    2. 打开X1700C套接字。

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.