如何重置X1700 Socket(USB 驱动器)

Prev Next

本文解释如何使用USB驱动器将X1700 Socket重置为出厂镜像。

警告!

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

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

识别X1700 Socket上的USB端口

X1700 Socket在前面板上有两个USB端口,使用X1700 Socket上的USB2端口安装映像。 这是您可以使用USB驱动器重新映像X1700 Socket的端口。

1700_USB_Ports_Callouts.png

  1. USB1端口 - 不要用于重置X1700 Socket

  2. USB2端口 - 您可以使用USB 2.0闪存驱动器通过USB2端口重置X1700 Socket(使用USB 3.0闪存驱动器会在安装过程中引发问题)

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

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.

使用附加功能重置套接字

对于带有附加模块的X1700和X1700B 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.

将映像刻录到USB驱动器

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

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

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

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

重要:

重要: 您必须使用 USB2 端口将映像安装到 X1700 Socket。 您不能使用USB1端口安装映像。

通过Windows刻录图像

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

  2. 将下载的映像文件和哈希文件移动到同一目录中,例如c:\Cato

  3. 解压缩图像。 在与两个文件相同目录的提升的PowerShell提示符下,运行tar -xf <archive-filename>

    x1700_untar_image.png

    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.

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

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

    (Get-FileHash -Algorithm SHA256 .\IMAGE_INSTALL_socket_X1700_18960_production_socket_v21.1_20240919_2024_12_12.dd).Hash -eq (gc .\X1700-hash.txt).split()[0]

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

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

  7. 将图像写入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_X1700_18960_production_socket_v21.1_20240919_2024_12_12.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_X1700_18960_production_socket_v21.1_20240919_2024_12_12.dd of=/dev/sdX

    注意:

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

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

在X1700套接字上安装映像

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

注意:

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

在 X1700 套接字上安装映像:

  1. 关闭X1700套接字。

  2. 对于具有附加模块的 Socket,请从 Socket 中完全移除整个模块。

  3. 将第2部分中准备的USB 闪存驱动器插入 USB2 端口。

  4. 打开 X1700 套接字。

  5. 安装在X1700启动时开始,根据USB闪存驱动器速度,大约持续1.5-2分钟。

  6. 安装完成后,X1700将自动关闭。 因此,当套接字关闭时,新图像已安装在套接字上。

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

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

  9. 对于带有附加模块的 Socket,将模块重新插入 Socket 中。

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.