Android系统实现多网共存且能独立上外网
创始人
2025-01-15 15:04:55
0

有些场景下需要多网共存,使用网络聚合进行提升网速。而在Android系统源码上默认是不支持多网同时共存且能独立上外网的。所以需要进行定制修改

修改如下:

1.修改main 表优先级到9999, 作用:eth1 wlan0 访问内网

2.不去teardown 低分数网线

3.修改wifi为70分,以太网为60分,4G为50分

diff --git a/server/RouteController.cpp b/server/RouteController.cpp index ba305e6..d38aec5 100644 --- a/server/RouteController.cpp +++ b/server/RouteController.cpp @@ -721,6 +721,18 @@ int RouteController::configureDummyNetwork() {      return 0;  }   +// Add a new rule to look up the 'main' table, with the same selectors as the "default network" +// rule, but with a lower priority. We will never create routes in the main table; it should only be +// used for directly-connected routes implicitly created by the kernel when adding IP addresses. +// This is necessary, for example, when adding a route through a directly-connected gateway: in +// order to add

相关内容

热门资讯

透视绝活!wepoker软件辅... 透视绝活!wepoker软件辅助程序(透视)开挂脚本软件(哔哩哔哩)1、游戏颠覆性的策略玩法,独创攻...
透视绝活!wepoker养号规... 透视绝活!wepoker养号规律(透视)开挂脚本辅助器(哔哩哔哩)1、操作简单,无需wepoker养...
透视步骤!hh poker透视... 透视步骤!hh poker透视器下载(透视)开挂透视app(哔哩哔哩)1、首先打开hh poker透...
透视演示!we poker辅助... 透视演示!we poker辅助器v3.3(透视)开挂脚本神器(哔哩哔哩)进入游戏-大厅左侧-新手福利...
透视攻略!云扑克有透视吗(透视... 透视攻略!云扑克有透视吗(透视)开挂脚本修改器(哔哩哔哩)1、下载好云扑克有透视吗正确养号方法之后点...
透视学习!aapoker安装包... 透视学习!aapoker安装包怎么使用(透视)开挂脚本下载(哔哩哔哩);1、aapoker安装包怎么...
透视演示!we-poker辅助... 透视演示!we-poker辅助器(透视)开挂脚本辅助器(哔哩哔哩)1.we-poker辅助器 选牌创...
透视总结!德州真人透视脚本(透... 透视总结!德州真人透视脚本(透视)开挂透视辅助器(哔哩哔哩)1、德州真人透视脚本模拟器是什么优化,德...
透视方针!wpk免费辅助(透视... 透视方针!wpk免费辅助(透视)开挂透视工具(哔哩哔哩)1、游戏颠覆性的策略玩法,独创攻略技巧玩法,...
透视技法!hhpoker买挂(... 透视技法!hhpoker买挂(透视)开挂脚本app(哔哩哔哩)1、进入游戏-大厅左侧-新手福利-激活...