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

相关内容

热门资讯

方法辅助挂!aapoker辅助... 方法辅助挂!aapoker辅助是可以,用ai外挂打德州有用,安装教程(揭秘有挂)-哔哩哔哩;用ai外...
第2分钟领会!约局吧透视挂下载... 第2分钟领会!约局吧透视挂下载,wepoker免费透视脚本(透视)我来教教你(有挂辅助)1、点击下载...
插件辅助挂!wpk有辅助挂,德... 插件辅助挂!wpk有辅助挂,德扑之星ai代打真假,必胜教程(详细教程)-哔哩哔哩;致您一封信;亲爱德...
一分钟指导!aapoker免费... 一分钟指导!aapoker免费透视脚本,wpk透视表(透视)详细教程(有挂方法)aapoker免费透...
实测发现!wepoke ai,... 实测发现!wepoke ai,aapoker有挂,2025版教程(有挂教程)-哔哩哔哩;是一款可以让...
第5分钟体悟!智星德州菠萝透视... 第5分钟体悟!智星德州菠萝透视插件工具,wepoker透视脚本(透视)攻略教程(有挂细节)第5分钟体...
推荐十款!we-poker辅助... 推荐十款!we-poker辅助软件演示,wpk德州ai机器人,透明教程(真实有挂)-哔哩哔哩;亲,有...
一分钟辅助挂!wpk透视表,w... 一分钟辅助挂!wpk透视表,wepoker有辅助器吗(透视)总结教程(真实有挂)1、金币登录送、破产...
技巧辅助挂!wopoker轻量... 技巧辅助挂!wopoker轻量版外挂,微扑克wpk透视辅助,AI教程(有挂辅助)-哔哩哔哩;微扑克w...
3分钟领会!竞技联盟破解版最新... 3分钟领会!竞技联盟破解版最新版,wpk透视工作室(透视)专业教程(有挂实锤)1、不需要AI权限,帮...