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透视挂是真的吗(透视)介绍教程(竟然有挂)1、上手简单,内置详细流程视...
十分钟透视!德州之星app安卓... 十分钟透视!德州之星app安卓版(透明挂黑科技)外挂透明挂辅助软件(2026已更新)(哔哩哔哩);1...
大家学习交流!aapoker辅... 大家学习交流!aapoker辅助是可以,wpk ai,扑克教程(存在有挂)-哔哩哔哩;aapoker...
黑科技计算!(WPK外挂)外挂... 《黑科技计算!(WPK外挂)外挂辅助挂!(德扑线上)微扑克教程(2025已更新)(哔哩哔哩)》 德扑...
5分钟俱乐部!aapoker透... 5分钟俱乐部!aapoker透视脚本,wepoker透视版下载(透视)透牌教程(有挂规律)5分钟俱乐...
两分钟领会!德州之星有辅助挂吗... 两分钟领会!德州之星有辅助挂吗(透明挂黑科技)外挂透明挂辅助智能(2021已更新)(哔哩哔哩);德州...
科普!智星德州菠萝外挂,wep... 科普!智星德州菠萝外挂,wepower让系统发好牌,软件教程(有挂规律)-哔哩哔哩;致您一封信;亲爱...
一分钟揭秘!(pokerrrr... 一分钟揭秘!(pokerrrr2挂)外挂透明挂ai代打辅助科技!(wepoke计算)扑克教程(202...
6分钟辅助!竞技联盟透视,we... 6分钟辅助!竞技联盟透视,wepoker手机助手(透视)wepoke教程(有挂方式)wepoker手...
两分钟私人局!wpk微扑克有辅... 【福星临门,好运相随】;两分钟私人局!wpk微扑克有辅助吗(透明挂黑科技)外挂透明挂辅助机器人(20...