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

相关内容

热门资讯

黑科技辅助(wepokeai代... 黑科技辅助(wepokeai代打逻辑)外挂透明挂辅助插件(透视)原来是真的有挂(有挂分析)-哔哩哔哩...
热点讨论!德州扑克线上ai代打... 热点讨论!德州扑克线上ai代打(ai代打)解说技巧(2022已更新)(哔哩哔哩)是一款可以让一直输的...
黑科技挂黑科技(WePoKe)... 黑科技挂黑科技(WePoKe)wepoke最新下载地址(透明挂)原来存在有挂(2024已更新)(哔哩...
黑科技软件(wepoke游戏辅... 黑科技软件(wepoke游戏辅助工具)外挂透明挂辅助助手(透视)果然存在有挂(有挂讲解)-哔哩哔哩1...
必看攻略!!来玩德州app外挂... 必看攻略!!来玩德州app外挂(ai辅助)2025教程(2024已更新)(哔哩哔哩)来玩德州app外...
黑科技工具(WePoKe)we... 黑科技工具(WePoKe)wepoke软件透明挂(智能ai)切实是真的有挂(2026已更新)(哔哩哔...
黑科技ai(德扑线上有机器人吗... 黑科技ai(德扑线上有机器人吗)外挂透明挂辅助工具(透视)本来是真的有挂(有挂方法)-哔哩哔哩1)德...
研究成果!wepoke系统(透... 研究成果!wepoke系统(透视)教你攻略(2026已更新)(哔哩哔哩),您好,wepoke系统这款...
黑科技模拟器(WePoKe)a... 黑科技模拟器(WePoKe)aapoker透明挂下载(辅助挂)其实真的有挂(2021已更新)(哔哩哔...
黑科技有挂(德扑之星软件要花钱... 黑科技有挂(德扑之星软件要花钱吗)外挂透明挂辅助挂(透视)都是是真的有挂(有人有挂)-哔哩哔哩德扑之...