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

相关内容

热门资讯

黑科技AI(pokerist)... 黑科技AI(pokerist)外挂透明挂黑科技辅助工具(透视)安装教程(2025已更新)(哔哩哔哩)...
九分钟了解!德州之星透牌器,腾... 九分钟了解!德州之星透牌器,腾讯广东麻将有窍门吗,AI教程(发现有挂)-哔哩哔哩1、上手简单,内置详...
黑科技透明挂(aapoker)... 黑科技透明挂(aapoker)外挂透明挂黑科技辅助软件(透视)新2025版(2026已更新)(哔哩哔...
第二分钟了解!微扑克机器人,中... 第二分钟了解!微扑克机器人,中至乐平两副头有挂吗,线上教程(竟然有挂)-哔哩哔哩1、打开软件启动之后...
黑科技透视(x-poker)外... 黑科技透视(x-poker)外挂透明挂黑科技辅助工具(透视)必备教程(2022已更新)(哔哩哔哩)是...
第8分钟了解!wepoke软件... 第8分钟了解!wepoke软件透明挂的使用教程,山西扣点点外挂是不是真的,介绍教程(真的有挂)-哔哩...
黑科技智能(wpk游戏)外挂透... 1、黑科技智能(wpk游戏)外挂透明挂黑科技辅助器(透视)wpk教程(2021已更新)(哔哩哔哩);...
第一分钟了解!wepokeai... 第一分钟了解!wepokeai插件,来趣麻将十三张,攻略教程(有挂技术)-哔哩哔哩1、任何来趣麻将十...
黑科技智能(AAPOKEr)外... 1、黑科技智能(AAPOKEr)外挂透明挂黑科技辅助插件(透视)必备教程(2024已更新)(哔哩哔哩...
第三分钟了解!wpk有辅助挂吗... 第三分钟了解!wpk有辅助挂吗,大赢家跑得快有外挂吗,2025新版总结(有挂工具)-哔哩哔哩1、进入...