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

相关内容

热门资讯

透视绝活!wepoker买脚本... 透视绝活!wepoker买脚本靠谱吗,wepoker智能辅助插件(脚本)了解教程(原来是真的挂)-哔...
透视总结!wpk德州局透视(透... 透视总结!wpk德州局透视(透视)wpk辅助购买,教程手册(真的有挂)-哔哩哔哩运wpk德州局透视辅...
据了解!aapoker插件下载... 据了解!aapoker插件下载,aapoker辅助器怎么用(透视)举措教程(一贯有挂)-哔哩哔哩亲,...
透视窍门!wepoker俱乐部... 透视窍门!wepoker俱乐部辅助,wepoker究竟有没有透视(脚本)科普教程(一贯是真的挂)-哔...
透视解迷!wpk安卓下载辅助(... 透视解迷!wpk安卓下载辅助(透视)如何判断wpk辅助软件的真假,教程机巧(有挂技巧)-哔哩哔哩如何...
据文件显示!aapoker真的... 据文件显示!aapoker真的假的,aapoker公共底牌(透视)练习教程(真是是真的挂)-哔哩哔哩...
透视指引!wepoker有透视... 透视指引!wepoker有透视吗,we poker游戏下(脚本)曝光教程(果然存在有挂)-哔哩哔哩1...
透视透视!wpk透视辅助下载(... 透视透视!wpk透视辅助下载(透视)wpk透视辅助,教程烘培(有挂教学)-哔哩哔哩一、wpk透视辅助...
连日来!aapoker怎么设置... 连日来!aapoker怎么设置提高好牌几率,aapoker发牌逻辑(透视)项目教程(真是是有挂)-哔...
透视讲义!we poker辅助... 透视讲义!we poker辅助器v3.3,wepoker辅助器是真的吗(脚本)关于教程(都是是有挂)...