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透视底牌脚本,wepoker私人局外卦(透视)指南教程(一直是有挂)1、w...
透视揭露!we-poker辅助... 透视揭露!we-poker辅助(透视)wepoker买脚本靠谱吗,教程方式(确实有挂)-哔哩哔哩1....
最新消息!aapoker俱乐部... 最新消息!aapoker俱乐部靠谱吗,wepokerplus开挂(透视)模块教程(确实真的是有挂)1...
透视推荐!hhpkoer辅助器... 透视推荐!hhpkoer辅助器(透视)pokermaster修改器,教程窍要(有挂细节)-哔哩哔哩1...
截至目前!hhpoker德州机... 截至目前!hhpoker德州机器人,wepoker怎么获得好牌(透视)妙招教程(切实是有挂)一、we...
透视揭露!wepoker怎么挂... 透视揭露!wepoker怎么挂飞机(透视)德普之星透视辅助软件激活码,教程操作(有挂工具)-哔哩哔哩...
昨日!aapoker插件下载,... 昨日!aapoker插件下载,智星德州辅助译码插件靠谱吗(透视)方案教程(好像真的是有挂)昨日!aa...
透视开挂!哈糖大菠萝破解器(透... 透视开挂!哈糖大菠萝破解器(透视)wejoker辅助软件视频,教程秘籍(有挂攻略)-哔哩哔哩1、打开...
透视开挂!hhpoker透视码... 透视开挂!hhpoker透视码怎么用(透视)hhpoker智能辅助插件,教程经验(有挂细节)-哔哩哔...
此事迅速冲上热搜!pokemo... 此事迅速冲上热搜!pokemomo辅助工具,约局吧德州真的存在透视吗(透视)教材教程(一贯是有挂)1...