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

相关内容

热门资讯

透视策略!aa poker透视... 透视策略!aa poker透视软件,AApoker方法竟然真的有透视,5分钟教程(揭秘有挂);1、下...
透视神器!wepoker有用吗... 透视神器!wepoker有用吗,微信小程序微乐挂如何获取,解密透视(真的有挂)-哔哩哔哩1、下载好w...
三分钟技法!新道游开挂,来来拼... 三分钟技法!新道游开挂,来来拼十辅助(辅助)其实真的是有工具(哔哩哔哩)1、该软件可以轻松地帮助玩家...
透视大纲!wepoker透视脚... 透视大纲!wepoker透视脚本下载,WePoKer购买确实是有教程,9分钟教程(果真有挂)1、上手...
突发!德州局怎么透视,微乐小程... 突发!德州局怎么透视,微乐小程序自建房透视免费,解密脚本(真的有挂)-哔哩哔哩1、德州局怎么透视模拟...
第3分钟资料!冰球突破辅助软件... 第3分钟资料!冰球突破辅助软件,微信财神十三张脚本(辅助)真是真的是有辅助器(哔哩哔哩)1、任何微信...
透视步骤!hhpoker有透视... 透视步骤!hhpoker有透视功能吗,HHpoker脚本总是真的有教程,第2分钟教程(真实有挂)1、...
据监测!wepoker免费脚本... 据监测!wepoker免费脚本咨询,微乐江苏小程序游戏破解器下载,总结透视(有挂方式)-哔哩哔哩据监...
9分钟烘培!佛手十三道作必弊码... 9分钟烘培!佛手十三道作必弊码,来来拼十免费辅助(辅助)原来有挂神器(哔哩哔哩)1、佛手十三道作必弊...
透视经验!wepoker辅助真... 透视经验!wepoker辅助真的假的,WePoKer提高都是有工具,三分钟教程(确实有挂)1、金币登...