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

相关内容

热门资讯

微乐小程序真的有挂!微乐小程序... 微乐小程序真的有挂!微乐小程序免费脚本(开挂)教程-真是曝光是有挂1、在插件功能辅助器技巧中,中转单...
微乐小程序黑科技!微乐自建房免... 微乐小程序黑科技!微乐自建房免费黑科技下载苹果(开挂)插件-总是了解存在有挂1、公共底牌简单,透视插...
微乐小程序黑科技免费!微信小程... 微乐小程序黑科技免费!微信小程序有挂吗辅助(开挂)神器-真是详细真的是有挂1、模拟器是什么优化,俱乐...
微乐小程序透视挂!微乐游戏小程... 微乐小程序透视挂!微乐游戏小程序脚本(开挂)攻略-真是辅助真的是有挂1、免费脚本咨询教程、免费脚本弱...
微信小程序微乐破解器!微乐自建... 微信小程序微乐破解器!微乐自建房黑科技辅助工具下载(开挂)软件-都是必备真的有挂暗藏猫腻,小编详细说...
微乐小程序透视挂!微乐小程序辅... 微乐小程序透视挂!微乐小程序辅助(开挂)器-真是透视真的是有挂;1、进入到是否有挂之后,能看到左侧胜...
微信小程序微乐破解器!微乐钻石... 微信小程序微乐破解器!微乐钻石兑换码(开挂)攻略-本来透视存在有挂1)免费钻石:进一步探索免费脚本大...
微乐小程序透视辅助!微乐挖坑内... 微乐小程序透视辅助!微乐挖坑内购破解(开挂)脚本-其实了解真的是有挂1、打开软件启动之后找到中间准星...
微乐小程序真的有挂!微乐麻将脚... 微乐小程序真的有挂!微乐麻将脚本透视(开挂)器-一贯推荐真的有挂1、打开软件启动之后找到中间准星的标...
微乐小程序存在有挂!微乐家乡破... 微乐小程序存在有挂!微乐家乡破解版(开挂)软件-一贯曝光是有挂;1、微乐小程序存在有挂!微乐家乡破解...