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

相关内容

热门资讯

黑科技教程"微扑克a... 黑科技教程"微扑克ai胜率!外挂透明挂辅助系统(黑科技)辅助教程"真是真的有挂1、很好的工具软件,可...
黑科技辅助"wpk德... 黑科技辅助"wpk德州ai辅助神器!外挂透明挂辅助神器(黑科技)透牌教程"确实有挂1、玩家可以在wp...
黑科技玄学"wepo... 黑科技玄学"wepoke一定有挂!外挂透明挂辅助下载(黑科技)教你教程"好像真的是有挂;1)wepo...
黑科技规律"aapo... 黑科技规律"aapoker辅助工具存在吗!外挂透明挂辅助挂(黑科技)德州论坛"果然是有挂1、aapo...
黑科技脚本"德扑之星... 黑科技脚本"德扑之星数据解析!外挂透明挂辅助助手(黑科技)玩家教你"果然存在有挂;1、很好的工具软件...
黑科技真的"wepo... 黑科技真的"wepoke软件靠谱吗!外挂透明挂辅助工具(黑科技)2025新版教程"本来真的有挂wep...
黑科技有挂"云扑克辅... 黑科技有挂"云扑克辅助挂!外挂透明挂辅助软件(黑科技)专业教程"本来真的是有挂;1、云扑克辅助挂系统...
黑科技辅助"wepo... 黑科技辅助"wepoke中牌率!外挂透明挂辅助脚本(黑科技)AI教程"本来有挂;wepoke中牌率辅...
黑科技能赢"wepo... 黑科技能赢"wepower有外挂!外挂透明挂辅助系统(黑科技)攻略方法"好像真的是有挂1、实时wep...
黑科技免费"德州ai... 黑科技免费"德州ai辅助神器!外挂透明挂辅助器(黑科技)玩家教程"其实有挂;1、用户打开应用后不用登...