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辅助神器... 交流学习经验!德州ai辅助神器(软件透明挂)透牌教程(2024已更新)(哔哩哔哩)德州ai辅助神器辅...
黑科技有挂(德州ai辅助器)外... 黑科技有挂(德州ai辅助器)外挂透明挂辅助app(透视)一直有挂(有挂透明挂)-哔哩哔哩1、德州ai...
黑科技苹果版(wepoke黑科... 大家肯定在之前wepoke黑科技或者wepoke黑科技中玩过黑科技苹果版(wepoke黑科技)wep...
黑科技脚本(WePoKe)德州... 黑科技脚本(WePoKe)德州之星app辅助器怎么用(ai代打)一直是有挂(2026已更新)(哔哩哔...
教学盘点!GG扑克有多假(辅助... 教学盘点!GG扑克有多假(辅助挂)AI教程(2022已更新)(哔哩哔哩);一、GG扑克有多假有挂的是...
黑科技好友房(德扑之星真破解套... 黑科技好友房(德扑之星真破解套路)外挂透明挂辅助器(透视)总是有挂(有挂细节)-哔哩哔哩1、每一步都...
黑科技代打(wepoke真的有... 黑科技代打(wepoke真的有挂)WePoKe透明挂(WepOke)真是有挂(有挂透视)-哔哩哔哩;...
黑科技软件(WePoKe)扑克... 黑科技软件(WePoKe)扑克世界app辅助(透明挂)确实是有挂(2020已更新)(哔哩哔哩);运扑...
我来教教大家!pokermas... 我来教教大家!pokermaster有挂吗(辅助挂)2025新版教程(2025已更新)(哔哩哔哩);...
黑科技规律(德州之星辅助挂)外... 黑科技规律(德州之星辅助挂)外挂透明挂辅助软件(透视)都是真的有挂(有挂秘笈)-哔哩哔哩;1、德州之...