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最新黑科技)wpk德州ai辅助神器(wPk)一直真的有挂(有挂技术)-哔哩哔哩运w...
wepoke智能ai(WepO... 【福星临门,好运相随】;wepoke智能ai(WepOke)wepoke辅助软件靠谱吗(黑科技透明黑...
黑科技脚本(wpk最新黑科技)... 黑科技脚本(wpk最新黑科技)wpk胜率跟号有关系么(wpK)都是真的有挂(有挂功能)-哔哩哔哩;1...
黑科技规律!wepoker有外... 黑科技规律!wepoker有外挂吗(微扑克真的有挂)一贯真的有挂(有挂透明黑科技)-哔哩哔哩;1、w...
wepoke真的有挂(wepo... wepoke真的有挂(wepower)用ai外挂打德州有用吗(黑科技辅助插件)往昔有挂(有挂轻量版)...
黑科技好友房(wpk最新黑科技... 黑科技好友房(wpk最新黑科技)wpk真的有辅助吗(wPK)真是真的是有挂(有挂头条)-哔哩哔哩1、...
黑科技存在!aa扑克德州辅助工... 黑科技存在!aa扑克德州辅助工具(wepoke真的有挂)其实真的有挂(有挂ai辅助)-哔哩哔哩;该软...
黑科技能赢(wpk ai辅助)... 黑科技能赢(wpk ai辅助)wpk辅助挂(WPk)都是存在有挂(有挂规律)-哔哩哔哩;wpk辅助挂...
wepoke智能ai(wepo... wepoke智能ai(wepoKE)wepoke有规律吗(黑科技智能ai)总是真的有挂(有挂后台)-...
黑科技工具(wpk ai辅助)... 黑科技工具(wpk ai辅助)wpk有ai吗(Wpk)真是存在有挂(有挂透视)-哔哩哔哩1、进入到w...