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

相关内容

热门资讯

3分钟外挂透视!wepoker... 3分钟外挂透视!wepoker私人局怎么玩,wpk系统是否存在透视挂行为(今日头条)-哔哩哔哩;1、...
指引透视挂!多乐辅助app(辅... 指引透视挂!多乐辅助app(辅助)确实真的有辅助攻略(哔哩哔哩);多乐辅助app脚本下载中分为三种模...
第1分钟外挂透视!wepoke... 第1分钟外挂透视!wepoker轻量版透视,wpk可以透视挂吗(有挂功能)-哔哩哔哩wepoker轻...
策略透视挂!爱来辅助器(辅助)... 策略透视挂!爱来辅助器(辅助)一贯真的是有辅助技巧(哔哩哔哩)运爱来辅助器辅助工具,进入游戏界面。进...
八分钟外挂透视!如何判断wpk... 八分钟外挂透视!如何判断wpk辅助软件的真假,wepoker买脚本靠谱吗(新版有挂)-哔哩哔哩暗藏猫...
练习透视挂!瓜瓜丰城棋牌双剑作... 练习透视挂!瓜瓜丰城棋牌双剑作必弊(辅助)切实是真的有辅助教程(哔哩哔哩)1、首先打开瓜瓜丰城棋牌双...
七分钟外挂透视!wepoker... 七分钟外挂透视!wepoker免费脚本,wepoker俱乐部辅助器(有挂工具)-哔哩哔哩进入游戏-大...
法门透视挂!新道游透视脚本免费... 法门透视挂!新道游透视脚本免费下载(辅助)竟然是真的有辅助神器(哔哩哔哩)1、下载好新道游透视脚本免...
第六分钟外挂透视!wepoke... 第六分钟外挂透视!wepoker模拟器哪个,we poker辅助器v3.3(有挂透明挂)-哔哩哔哩一...
七分钟外挂透视!智星德州插件怎... 七分钟外挂透视!智星德州插件怎么下载,wepoker亲友圈有用吗(有挂透视)-哔哩哔哩1、下载好智星...