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、第三分钟了解!wpk安卓下...
九分钟了解!wepoker有没... 九分钟了解!wepoker有没有辅助(脚本)都是有辅助攻略(哔哩哔哩)1、每一步都需要思考,不同水平...
第3分钟了解!hhpoker德... 第3分钟了解!hhpoker德州牛仔视频(脚本)都是是真的辅助方法(哔哩哔哩)1、在hhpoker德...
第五分钟了解!wpk有透视挂吗... 第五分钟了解!wpk有透视挂吗(脚本)一直是真的辅助技巧(哔哩哔哩)亲,关键说明,wpk有透视挂吗透...
第7分钟了解!wepoker插... 第7分钟了解!wepoker插件下载(脚本)确实是真的辅助工具(哔哩哔哩)1、点击下载安装,wepo...
第4分钟了解!uupoker透... 第4分钟了解!uupoker透视(脚本)本来真的有辅助技巧(哔哩哔哩)1、uupoker透视透视辅助...
五分钟了解!wepoker透视... 五分钟了解!wepoker透视脚本免费(脚本)都是真的是有辅助app(哔哩哔哩)1、操作简单,无需w...
第9分钟了解!来玩app 德州... 第9分钟了解!来玩app 德州 辅助(脚本)确实真的是有辅助app(哔哩哔哩)1、许多玩家不知道来玩...
九分钟了解!wepoker私人... 九分钟了解!wepoker私人局开挂视频(脚本)都是是真的辅助脚本(哔哩哔哩)1、九分钟了解!wep...
九分钟了解!pokemmo手机... 九分钟了解!pokemmo手机脚本(脚本)总是真的有辅助app(哔哩哔哩)1、pokemmo手机脚本...