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

相关内容

热门资讯

2024新版教程!wpk辅助透... 2024新版教程!wpk辅助透视(德扑数据软件)其实真的有挂(详细透明挂教程)1、德扑数据软件系统规...
AI辅助!德扑之星刷数据(透视... AI辅助!德扑之星刷数据(透视)外挂透明挂辅助器安装(有挂存在)-哔哩哔哩1、让任何用户在无需AI插...
教你攻略!德州ai辅助器(德扑... 教你攻略!德州ai辅助器(德扑ai助手)其实真的是有挂(详细透视辅助教程)教你攻略!德州ai辅助器(...
教你攻略辅助!德扑数据分析软件... 教你攻略辅助!德扑数据分析软件(透明)外挂透明挂辅助app(有挂工具)-哔哩哔哩1、德扑数据分析软件...
wpk教程!wpk微扑克有辅助... wpk教程!wpk微扑克有辅助吗(wepoke模拟器)原来确实真的有挂(详细透视辅助教程)1、这是跨...
2024新版总结辅助!德州辅助... 2024新版总结辅助!德州辅助软件线上(透视)外挂透明挂辅助插件(真的有挂)-哔哩哔哩1、下载好德州...
透明挂教程!wepoke软件收... 透明挂教程!wepoke软件收费是真的吗(德州之星辅助)原来真的是有挂(详细辅助挂教程)1)wepo...
2024新版技巧辅助!wepo... 2024新版技巧辅助!wepoke游戏数据有说法吗(透视)外挂透明挂辅助器安装(有挂详情)-哔哩哔哩...
技巧教程!pokerworld... 技巧教程!pokerworld下载(WPK透视辅助)原来真的有挂(详细透明挂教程);1分钟了解详细教...
德州论坛辅助!wpk外挂被实锤... 德州论坛辅助!wpk外挂被实锤(透明)外挂透明挂辅助app(有挂分析)-哔哩哔哩是一款可以让一直输的...