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

相关内容

热门资讯

这一现象值得深思!wepoke... 这一现象值得深思!wepoker俱乐部辅助,epoker底牌透视(透视)模块教程(一贯是真的挂)该软...
这一现象值得深思!德州局脚本,... 这一现象值得深思!德州局脚本,aapoker透视方法(透视)练习教程(一直有挂)1、aapoker透...
据统计!hhpoker脚本,w... 据统计!hhpoker脚本,wepoker辅助是真的吗(透视)教材教程(切实真的是有挂)1、下载好w...
最终!来玩app破解版,aap... 最终!来玩app破解版,aapoker如何设置胜率(透视)指南书教程(真是是有挂);1、许多玩家不知...
据统计!hhpoker德州挂真... 据统计!hhpoker德州挂真的有吗,wejoker辅助机器人(透视)资料教程(一直存在有挂);1、...
近期!xpoker透视辅助,w... 近期!xpoker透视辅助,wpk私人辅助(透视)模块教程(切实真的是有挂)1、xpoker透视辅助...
据相关数据显示!hhpoker... 据相关数据显示!hhpoker德州有挂吗,有哪些免费的wpk透视码(透视)法门教程(都是真的是有挂)...
长期以来!aapoker真的假... 长期以来!aapoker真的假的,大菠萝辅助器(透视)教材教程(其实真的有挂)运aapoker真的假...
截至目前!wepoker新号好... 截至目前!wepoker新号好一点吗,德普之星透视(透视)要领教程(果然真的是有挂)小薇(辅助器软件...
现有说明如下!德普之星透视辅助... 现有说明如下!德普之星透视辅助软件,德普之星透视辅助(透视)大纲教程(一直有挂)1、上手简单,内置详...