|
|
@@ -20,7 +20,7 @@
|
|
|
| Windows 维护网段 | `169.254.x.x/16` |
|
|
|
| HTTP 端口 | `48888` |
|
|
|
| UDP 发现端口 | `50000` |
|
|
|
-| 默认管理密码 | `Dieteng2026` |
|
|
|
+| 默认管理密码 | `2026` |
|
|
|
|
|
|
## 2. 使用前准备
|
|
|
|
|
|
@@ -74,7 +74,7 @@ sudo nohup /home/x/nettool-server >/home/x/nettool-server-run.log 2>&1 < /dev/nu
|
|
|
2. 启动参数都是可选项,不填写时使用默认值。
|
|
|
3. `--ip` 可选,用于指定维护地址;填写时必须是 `169.254.0.0/16` 范围内的 IPv4 地址。
|
|
|
4. `--port` 可选,用于指定 HTTP 端口,默认 `48888`。
|
|
|
-5. `--password` 可选,用于指定管理密码,默认 `Dieteng2026`。
|
|
|
+5. `--password` 可选,用于指定管理密码,默认 `2026`。
|
|
|
6. 如果启动时修改了 `--password`,Windows 客户端连接时必须填写相同密码。
|
|
|
7. 如果启动时指定了 `--ip`,该地址需要已存在于 Linux 网口上,否则客户端无法通过该地址连接 Server。
|
|
|
|
|
|
@@ -121,7 +121,7 @@ NetTool 2026.05.15.1134
|
|
|
客户端会要求输入管理密码。默认密码为:
|
|
|
|
|
|
```text
|
|
|
-Dieteng2026
|
|
|
+2026
|
|
|
```
|
|
|
|
|
|
连接成功后会打开“设备信息与网口配置”窗口。
|
|
|
@@ -295,7 +295,7 @@ tail -n 100 /home/x/nettool-server-run.log
|
|
|
在 PowerShell 中执行:
|
|
|
|
|
|
```powershell
|
|
|
-curl.exe -H "X-Admin-Password: Dieteng2026" http://169.254.100.2:48888/api/health
|
|
|
+curl.exe -H "X-Admin-Password: 2026" http://169.254.100.2:48888/api/health
|
|
|
```
|
|
|
|
|
|
正常返回示例:
|