mellow-io / mellow

Mellow is a rule-based global transparent proxy client for Windows, macOS and Linux. Also a Proxifier alternative.
3.55k stars 469 forks source link

找不到默认网关 #270

Closed sagasm closed 3 years ago

sagasm commented 4 years ago

使用操作系统类型以及版本

win10 x64

使用 Mellow 版本

0.1.19

问题描述

提示找不到默认网关

问题复现步骤

右键菜单点击"连接",提示找不到默认网关

  1. 检查发现mellow-tap0未安装,找到tap-windows-9.24.2-I601-Win10.exe,安装后改名"mellow-tap0". 2.有人提示把以太网的ip地址设置从DHCP改完静态,问题未解决.

相关配置

主机无wifi,有一个正常上外网的以太网连接. 家里有台笔记本有wifi安装及工作正常.

相关日志、截图

[2020-07-21 10:40:51.024] [info] Retrying to get the default gateway. [2020-07-21 10:40:52.054] [info] Retrying to get the default gateway. [2020-07-21 10:40:53.087] [info] Retrying to get the default gateway. [2020-07-21 10:40:54.145] [info] Retrying to get the default gateway. [2020-07-21 10:40:55.204] [info] Retrying to get the default gateway. [2020-07-21 10:41:03.998] [info] Shutting down the core.

无默认网关

sagasm commented 4 years ago

查看源代码发现原因了:

  1. mellow查找默认网关需要windows的wmic.exe文件. 2.把wmic.exe的路径加到环境变量中找不到网关的问题解决.
github-actions[bot] commented 4 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days