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

相关内容

热门资讯

黑科技苹果版(wepoke透明... 黑科技苹果版(wepoke透明黑科技)wepoke人有挂吗(we-poker)本然真的是有挂(有挂技...
终于清楚"aapok... 终于清楚"aapoker真的有猫腻吗"aapoker有挂(竟然有挂)-哔哩哔哩;1、进入到aapok...
WpK最新黑科技!wpk ai... 自定义系统规律,只需要输入自己想要的开挂功能,一键便可以生成出微扑克专用辅助器,不管你是想分享给你好...
wepoke智能ai!wepo... wepoke智能ai!wepoke计算辅助(WePoKe黑科技)其实是有挂(有挂技术)-哔哩哔哩;1...
黑科技中牌率(wepoke真的... 黑科技中牌率(wepoke真的有挂)wepoke德州扑克ai软件(wePokE)往昔是有挂(真的有挂...
玩家必看科普"aap... 玩家必看科普"aapoker辅助工具ai"aapoker发牌机制(一直真的是有挂)-哔哩哔哩1、全新...
wpK最新黑科技!wpk机器人... wpK最新黑科技!wpk机器人代打(WPK ai辅助)竟然有挂(2022已更新)(哔哩哔哩);是一款...
wepoke辅助插件!wepo... wepoke辅助插件!wepoke透明真的吗(WePoKe黑科技)好像有挂(今日头条)-哔哩哔哩1、...
黑科技肯定(wepoke智能a... 黑科技肯定(wepoke智能ai)wepoke软件透明是真的吗(WepoKe)一向真的有挂(有挂总结...
玩家必备教程"aa ... 玩家必备教程"aa poker有外挂吗"aa扑克德州辅助工具(其实有挂)-哔哩哔哩1、aa扑克德州辅...