This commit is contained in:
2025-11-02 14:24:38 +08:00
parent d693e15c96
commit 0ca00eb8eb
5 changed files with 286 additions and 7 deletions
+277
View File
@@ -484,3 +484,280 @@
2025-11-02 13:54:58,861 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log 2025-11-02 13:54:58,861 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 13:55:13,103 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log 2025-11-02 13:55:13,103 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 13:55:42,647 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log 2025-11-02 13:55:42,647 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:01:40,014 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:02:08,967 [ERROR] 获取网卡信息失败: maximum recursion depth exceeded
2025-11-02 14:02:09,142 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:09,323 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:09,480 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:09,637 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:09,832 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:10,018 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:10,212 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:10,407 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:10,604 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:10,798 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:10,993 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:11,195 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:11,382 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:11,577 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:11,788 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:11,982 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:12,176 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:12,379 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:12,576 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:12,777 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:12,979 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:13,183 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:13,385 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:13,572 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:13,773 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:13,960 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:14,165 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:14,353 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:14,561 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:14,751 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:14,959 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:15,184 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:15,371 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:15,588 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:15,791 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:16,003 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:16,196 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:16,397 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:16,594 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:16,804 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:17,004 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:17,209 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:17,420 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:17,590 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:17,788 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:17,998 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:18,205 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:18,422 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:18,635 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:18,850 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:19,059 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:19,284 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:19,487 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:19,699 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:19,906 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:20,117 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:20,319 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:20,526 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:20,687 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:20,861 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:21,018 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:21,114 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:21,338 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:21,453 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:21,577 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:21,683 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:21,796 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:21,922 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:22,027 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:22,155 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:22,275 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:22,387 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:22,520 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:22,619 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:22,755 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:22,875 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:22,995 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:23,116 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:23,243 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:23,453 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:23,679 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:23,805 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:23,948 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:24,051 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:24,290 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:24,398 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:24,548 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:24,667 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:24,793 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:24,917 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:25,049 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:25,169 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:25,304 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:25,418 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:25,551 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:25,671 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:25,815 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:25,942 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:26,061 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:26,203 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:26,323 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:26,466 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:26,596 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:26,736 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:26,849 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:27,000 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:27,096 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:27,255 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:27,375 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:27,470 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:27,614 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:27,747 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:27,881 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:28,013 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:28,136 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:28,251 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:28,394 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:28,544 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:28,669 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:28,813 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:28,964 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:29,089 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:29,235 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:29,369 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:29,511 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:29,630 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:29,787 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:29,930 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:30,071 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:30,185 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:30,327 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:30,468 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:30,575 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:30,717 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:30,851 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:30,987 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:31,113 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:31,259 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:31,384 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:31,513 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:31,646 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:31,760 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:32,830 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:33,286 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:33,482 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:33,685 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:33,857 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:34,062 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:34,295 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:34,496 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:34,689 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:34,846 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:35,033 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:35,200 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:35,296 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:36,346 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:36,578 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:36,776 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:02:36,968 [ERROR] 获取网卡信息失败: 'NoneType' object has no attribute 'get'
2025-11-02 14:06:33,470 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:06:38,413 [INFO] 开始由 Ping 127.0.0.1
2025-11-02 14:06:39,599 [INFO] 停止由 Ping 127.0.0.1
2025-11-02 14:10:35,596 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:10:37,236 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:10:37,236 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:11:42,235 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:11:43,647 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:11:43,647 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:11:49,695 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:11:49,696 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:11:55,684 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:11:55,684 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:13:59,151 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:13:59,151 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:14:06,829 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:14:06,829 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:14:09,077 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:14:09,077 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:15:10,730 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:15:10,730 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:15:11,851 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:15:11,852 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:15:12,466 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:15:12,467 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:15:12,784 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:15:12,785 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:15:12,951 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:15:12,951 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:15:13,146 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:15:13,146 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:15:13,341 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:15:13,342 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:15:13,514 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:15:13,515 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:16:55,880 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:16:57,964 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:16:57,964 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:17:01,865 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:17:01,865 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:17:06,160 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:17:06,160 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:17:11,019 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:17:11,019 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:17:12,480 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:17:12,481 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:17:13,323 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:17:13,323 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:17:13,961 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:17:13,961 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:17:59,847 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:17:59,848 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'ipv4': '192.168.151.244', 'netmask': '255.255.255.0', 'gateway': '192.168.151.1', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}]
2025-11-02 14:18:03,603 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:18:03,604 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'ipv4': '192.168.151.244', 'netmask': '255.255.255.0', 'gateway': '192.168.151.1', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}]
2025-11-02 14:18:05,306 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:18:05,306 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'ipv4': '192.168.151.244', 'netmask': '255.255.255.0', 'gateway': '192.168.151.1', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}]
2025-11-02 14:18:05,970 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:18:05,971 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'ipv4': '192.168.151.244', 'netmask': '255.255.255.0', 'gateway': '192.168.151.1', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}]
2025-11-02 14:18:06,618 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:18:06,619 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'ipv4': '192.168.151.244', 'netmask': '255.255.255.0', 'gateway': '192.168.151.1', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}]
2025-11-02 14:18:12,141 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:18:12,141 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'ipv4': '192.168.151.244', 'netmask': '255.255.255.0', 'gateway': '192.168.151.1', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:18:23,305 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:18:23,305 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '是', 'ipv4': '10.93.90.126', 'netmask': '255.255.255.0', 'gateway': '10.93.90.77', 'dns1': '10.93.90.77', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:19:33,687 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:19:33,688 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'ipv4': '192.168.151.245', 'netmask': '255.255.255.0', 'gateway': '192.168.151.1', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:19:52,232 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:19:52,233 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'ipv4': '192.168.151.245', 'netmask': '255.255.255.0', 'gateway': '192.168.151.1', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:20:52,175 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:21:04,238 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:04,239 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:10,171 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:10,171 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:12,786 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:12,786 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:13,274 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:13,275 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:13,447 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:13,447 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:13,587 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:13,588 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:13,723 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:13,724 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:13,858 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:13,858 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:14,000 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:14,000 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:14,158 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:14,158 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:14,295 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:14,295 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:14,427 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:14,427 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:14,578 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:14,578 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:14,736 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:14,736 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:15,066 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:15,066 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:15,230 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:15,231 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:15,350 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:15,350 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:21:23,911 [INFO] 获取网卡信息完成,共:8个启用网卡
2025-11-02 14:21:23,911 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:22:10,344 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:22:15,005 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:22:15,006 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:22:59,472 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:23:08,701 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:23:18,851 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:23:32,919 [INFO] 日志系统初始化完成,日志文件路径:E:\Git\Network-tools\app.log
2025-11-02 14:23:35,569 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:23:35,570 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
2025-11-02 14:24:02,720 [INFO] 获取网卡信息完成,共:9个启用网卡
2025-11-02 14:24:02,720 [INFO] 所有获取网卡信息:[{'name': '以太网适配器 以太网 3', 'description': 'Intel(R) Ethernet Connection (7) I219-V', 'mac': '48-2A-E3-51-7F-27', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 以太网 6', 'description': 'SAMSUNG Mobile USB Remote NDIS Network Device #2', 'mac': '5E-81-F5-FA-0C-24', 'dhcp_enabled': '是', 'ipv4': '172.24.202.254', 'netmask': '255.255.255.0', 'gateway': '172.24.202.90', 'dns1': '172.24.202.90', 'dns2': ''}, {'name': '未知适配器 本地连接', 'description': 'TAP-Windows Adapter V9', 'mac': '00-FF-A1-B3-0E-6F', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 WLAN', 'description': 'Intel(R) Wireless-AC 9560 160MHz', 'mac': 'D4-D2-52-39-62-EB', 'dhcp_enabled': '否', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 9', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter', 'mac': 'D4-D2-52-39-62-EC', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '无线局域网适配器 本地连接* 10', 'description': 'Microsoft Wi-Fi Direct Virtual Adapter #2', 'mac': 'D6-D2-52-39-62-EB', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}, {'name': '以太网适配器 VMware Network Adapter VMnet1', 'description': 'VMware Virtual Ethernet Adapter for VMnet1', 'mac': '00-50-56-C0-00-01', 'dhcp_enabled': '是', 'ipv4': '192.168.75.1', 'netmask': '255.255.255.0', 'gateway': '192.168.75.254', 'dns1': 'fec0:0:0:ffff::1%1', 'dns2': 'fec0:0:0:ffff::2%1'}, {'name': '以太网适配器 VMware Network Adapter VMnet8', 'description': 'VMware Virtual Ethernet Adapter for VMnet8', 'mac': '00-50-56-C0-00-08', 'dhcp_enabled': '是', 'ipv4': '192.168.11.1', 'netmask': '255.255.255.0', 'gateway': '192.168.11.254', 'dns1': '192.168.11.2', 'dns2': ''}, {'name': '以太网适配器 蓝牙网络连接', 'description': 'Bluetooth Device (Personal Area Network)', 'mac': 'D4-D2-52-39-62-EF', 'dhcp_enabled': '是', 'gateway': '', 'dns1': '', 'dns2': ''}]
+2
View File
@@ -106,6 +106,8 @@ class NetworkManager:
def set_network_info(self, settings): def set_network_info(self, settings):
"""设置指定网卡的网络配置""" """设置指定网卡的网络配置"""
# 自动获取系统编码(例如 'cp936' 中文Windows
system_encoding = locale.getpreferredencoding(False)
try: try:
self.result_box.insert(tk.END, f"尝试将网卡配置修改为:\n") self.result_box.insert(tk.END, f"尝试将网卡配置修改为:\n")
for key, value in settings.items(): for key, value in settings.items():
Binary file not shown.
+7 -7
View File
@@ -19,7 +19,6 @@ class NetworkTab(ttk.Frame, BasicUI):
self.networkconfig = [] self.networkconfig = []
self.build_ui() self.build_ui()
self.netmgr = NetworkManager(self.result_box) self.netmgr = NetworkManager(self.result_box)
self.refresh_allnetwork()
def build_ui(self): def build_ui(self):
self.create_iface_section() self.create_iface_section()
@@ -35,7 +34,8 @@ class NetworkTab(ttk.Frame, BasicUI):
for config in self.networkconfigs: for config in self.networkconfigs:
self.networkname_list.append(config.get("name", "未知网卡")) self.networkname_list.append(config.get("name", "未知网卡"))
self.iface_cb['combobox']['values'] = self.networkname_list self.iface_cb['combobox']['values'] = self.networkname_list
self.iface_cb['var'].set(self.networkname_list[0]) if self.iface_cb['var'].get() == "" :
self.iface_cb['var'].set(self.networkname_list[0])
self.result_box.insert(tk.END, f"获取网卡信息完成,共:{len(self.networkname_list)}个启用网卡\n") self.result_box.insert(tk.END, f"获取网卡信息完成,共:{len(self.networkname_list)}个启用网卡\n")
self.refresh_network_callback() self.refresh_network_callback()
@@ -51,12 +51,12 @@ class NetworkTab(ttk.Frame, BasicUI):
frame = ttk.LabelFrame(self, text="网卡选择", padding=8) frame = ttk.LabelFrame(self, text="网卡选择", padding=8)
frame.pack(side='top', fill='x', padx=10, pady=6) frame.pack(side='top', fill='x', padx=10, pady=6)
self.iface_cb = self.add_combobox(frame, "选择网卡", row=0, col=0, listbox=[], width=40, inivar=-1) self.iface_cb = self.add_combobox(frame, "选择网卡", row=0, col=0, listbox=[], width=42, inivar=-1)
self.iface_cb['combobox'].bind("<<ComboboxSelected>>", lambda e: self.refresh_network_callback()) self.iface_cb['combobox'].bind("<<ComboboxSelected>>", lambda e: self.refresh_network_callback())
self.refresh_btn = self.add_button(frame, "刷新网卡列表", row=0, col=1, width=15, command=self.refresh_allnetwork) self.refresh_btn = self.add_button(frame, "刷新网卡列表", row=0, col=1, width=15, command=self.refresh_allnetwork)
self.description_entry = self.add_input(frame, "网卡名称", row=1, col=0, inivar="", entry_width=40) self.description_entry = self.add_input(frame, "网卡名称", row=1, col=0, inivar="", entry_width=45)
self.description_entry['entry'].config(state='disabled') self.description_entry['entry'].config(state='disabled')
self.mac_entry = self.add_input(frame, "MAC地址", row=1, col=1, inivar="", entry_width=40) self.mac_entry = self.add_input(frame, "MAC地址", row=1, col=1, inivar="", entry_width=35)
self.mac_entry['entry'].config(state='disabled') self.mac_entry['entry'].config(state='disabled')
def create_config_section(self): def create_config_section(self):
@@ -76,7 +76,7 @@ class NetworkTab(ttk.Frame, BasicUI):
frame.pack(side='top', fill='x', padx=10, pady=6) frame.pack(side='top', fill='x', padx=10, pady=6)
self.apply_btn = self.add_button(frame, "应用修改", row=0, col=0, width=10, command=self.apply_btn_callback) self.apply_btn = self.add_button(frame, "应用修改", row=0, col=0, width=10, command=self.apply_btn_callback)
self.refresh_info_btn = self.add_button(frame, "刷新当前信息", row=0, col=2, width=15, command=self.refresh_network_callback) self.refresh_info_btn = self.add_button(frame, "刷新当前信息", row=0, col=2, width=15, command=self.refresh_allnetwork)
def create_output_section(self): def create_output_section(self):
frame = ttk.LabelFrame(self, text="输出信息", padding=6) frame = ttk.LabelFrame(self, text="输出信息", padding=6)
@@ -90,7 +90,7 @@ class NetworkTab(ttk.Frame, BasicUI):
def refresh_network_callback(self): def refresh_network_callback(self):
'''刷新当前网卡信息''' '''刷新当前网卡信息'''
# 刷新所有所有网卡信息 # 刷新所有所有网卡信息
self.refresh_allnetwork() #self.refresh_allnetwork()
# 获取选中的网卡信息 # 获取选中的网卡信息
iface_name = self.iface_cb['var'].get() iface_name = self.iface_cb['var'].get()
config = self.get_network_config(iface_name) config = self.get_network_config(iface_name)