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)微扑... 一、微扑克怎么提高中牌率简介了解软件请加微:136704302微扑克怎么提高中牌率是一款在线扑克游戏...
推荐十款!wepower透视辅... 推荐十款!wepower透视辅助(透视)外挂透明挂辅助器(2024已更新)(哔哩哔哩);亲,关键说明...
黑科技好牌!wepoke软件透... 黑科技好牌!wepoke软件透明挂怎么弄(透视)确实是真的有挂(2021已更新)(哔哩哔哩)1、游戏...
必备辅助推荐!wepoker辅... 你好,wepoker辅助工具好用吗是真的可以开挂的,很多玩家在这款游戏中打牌都会发现很多用户的牌特别...
玩家必看教程!(wpk线上德州... 玩家必看教程!(wpk线上德州俱乐部)德州之星可能有外挂吗(2026已更新)(哔哩哔哩);人气非常高...
免费测试版!微扑克代打是真的吗... 免费测试版!微扑克代打是真的吗(透视)外挂透明挂辅助软件(2020已更新)(哔哩哔哩);该软件可以轻...
技术分享!wepoker透视辅... 知识提示:你好!wepoker透视辅助软件怎么开挂这款游戏可以开挂的,确实是有挂的,科技了解添加QQ...
黑科技黑科技!wepoke辅助... 黑科技黑科技!wepoke辅助工具的使用教程(透视)确实是有挂(2021已更新)(哔哩哔哩)wepo...
发现玩家(扑克之城)aapok... 自定义aapoker辅助器怎么用系统规律,只需要输入自己想要的开挂功能,一键便可以生成出微扑克专用辅...
黑科技存在!aapoker辅助... 黑科技存在!aapoker辅助使用教程(透视)外挂透明挂辅助神器(2026已更新)(哔哩哔哩);1、...