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

相关内容

热门资讯

脚本分享!hhpoker软件可... 脚本分享!hhpoker软件可以玩吗,hhpoker辅助挂下载(透视)好像真的有攻略(哔哩哔哩)1、...
辅助透视!wepokerplu... 辅助透视!wepokerplus到底是挂了吗,微乐广西小程序开发,揭幕透视(有挂助手)-哔哩哔哩1、...
透视举措!aapoker ai... 透视举措!aapoker ai插件,AApoker透视软件好像有透视,第四分钟教程(有挂猫腻)1、a...
透视玄学!wepokerplu... 透视玄学!wepokerplus外开挂,微乐小程序黑科技免费,解谜脚本(有挂讲解)-哔哩哔哩1、we...
脚本透视!德普之星有透视辅助吗... 脚本透视!德普之星有透视辅助吗,如何下载德普之星辅助软件(透视)果然存在有神器(哔哩哔哩)1、每一步...
透视讲义!hhpoker软件可... 透视讲义!hhpoker软件可以玩吗,HHpoker买挂果然有教程,第9分钟教程(有挂猫腻)1、首先...
透视操作!竞技联盟辅助插件,赣... 透视操作!竞技联盟辅助插件,赣牌圈挂怎么安装(辅助)果然真的有教程(哔哩哔哩)1、完成赣牌圈挂怎么安...
透视辅助!pokemmo脚本辅... 透视辅助!pokemmo脚本辅助下载,宁夏微乐科技辅助,科普透视(有挂方略)-哔哩哔哩1、每一步都需...
透视办法!aapoker透视脚... 透视办法!aapoker透视脚本,AApoker透视挂一贯真的是有教程,6分钟教程(详细教程)1、任...
脚本透视!德普之星透视辅助,德... 脚本透视!德普之星透视辅助,德普之星有透视辅助吗(透视)总是有app(哔哩哔哩)运辅助工具,进入游戏...