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

相关内容

热门资讯

透明科技!购买的wpk辅助在哪... 透明科技!购买的wpk辅助在哪里下载,wepoker透视app下载,了解教程(发现有挂)-哔哩哔哩小...
透视关于!wpk俱乐部是真的吗... 透视关于!wpk俱乐部是真的吗,wpk软件是真的吗-好像有辅助教程(哔哩哔哩)1、进入游戏-大厅左侧...
最终!wpk辅助(透视)辅助平... 最终!wpk辅助(透视)辅助平台(有挂实锤)-哔哩哔哩1、完成wpk辅助有辅助插件,帮助玩家取得所有...
来临!wepokerplus万... 来临!wepokerplus万能挂(透视)wepoker有没有辅助-都是是真的有辅助技巧(哔哩哔哩)...
我来分享!hhpoker万能辅... 我来分享!hhpoker万能辅助器,poker master辅助,详情教程(有挂神器)-哔哩哔哩1、...
透视详情!aapoker ai... 透视详情!aapoker ai插件,aapoker发牌逻辑-一直一直总是有辅助神器(哔哩哔哩)1、这...
透视代打!wepoker透视破... 透视代打!wepoker透视破解版(透视)辅助下载(有挂规律)-哔哩哔哩1、wepoker透视破解版...
透视数据!德普之星有辅助软件吗... 透视数据!德普之星有辅助软件吗(透视)辅助插件(确实有挂)-哔哩哔哩1、脚本辅助下载、免费透视脚本等...
一起来探讨!wepoker底牌... 一起来探讨!wepoker底牌透视脚本,购买的wpk辅助在哪里下载,解谜教程(有挂教学)-哔哩哔哩1...
透视了解!wpk私人局辅助是真... 透视了解!wpk私人局辅助是真的吗,微扑克微乐辅助-其实真的有辅助神器(哔哩哔哩)1、下载好正确养号...