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、打开软件...
第5分钟插件!微信小程序游戏辅... 第5分钟插件!微信小程序游戏辅助器,微乐小程序黑科技,积累教程(有挂app)-哔哩哔哩1、微信小程序...
透视存在!微乐小程序挂哪里,微... 透视存在!微乐小程序挂哪里,微乐小程序黑科技,窍门教程(有挂app)-哔哩哔哩运微乐小程序挂哪里辅助...
五分钟辅助!微信微乐辅助器免费... 五分钟辅助!微信微乐辅助器免费安装,微乐小程序黑科技,积累教程(有挂app)-哔哩哔哩1、游戏颠覆性...
透视安装!微乐自建房辅助多少钱... 透视安装!微乐自建房辅助多少钱一个月,微乐小程序免费黑科技,绝活教程(有挂插件)-哔哩哔哩1、许多玩...
9分钟脚本!微乐小程序辅助开挂... 9分钟脚本!微乐小程序辅助开挂,微乐小程序免费黑科技,项目教程(有挂下载)-哔哩哔哩1、操作简单,无...
透视苹果版!微信微乐游戏辅助脚... 透视苹果版!微信微乐游戏辅助脚本,微乐小程序黑科技,指引教程(有挂修改器)-哔哩哔哩微信微乐游戏辅助...
第4分钟辅助!微信微乐自建房脚... 第4分钟辅助!微信微乐自建房脚本免费下载,微乐小程序黑科技,攻略教程(有挂工具)-哔哩哔哩1、微信微...
透视插件!微乐小程序辅助工具,... 透视插件!微乐小程序辅助工具,微乐小程序免费黑科技,讲义教程(有挂安装)-哔哩哔哩;1、微乐小程序免...
第6分钟脚本!微乐小程序免费黑... 第6分钟脚本!微乐小程序免费黑科技是真的吗,微乐小程序黑科技,积累教程(有挂安装)-哔哩哔哩1、点击...