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透视挂教程的软件,软件加客服确实是有挂的,很多玩家在这款游戏中打牌都会发现很多用...
3分钟了解!智星菠萝可以辅助吗... 3分钟了解!智星菠萝可以辅助吗(透视)竟然是有挂,微扑克教程(有人有挂)-哔哩哔哩1、任何智星菠萝可...
透视神器!wpk透视工作室,h... 透视神器!wpk透视工作室,hhpoker一直输有挂吗,讲义教程(发现有挂)-哔哩哔哩1、操作简单,...
透视透视挂!hhpoker可以... 透视透视挂!hhpoker可以开挂吗(透视)果然有挂,解说技巧(有挂脚本)-哔哩哔哩1、hhpoke...
开挂透视!wepoker有没有... 您好:WePoKer透视软件挂下载这款游戏可以开挂的,确实是有挂的,很多玩家在这款游戏中打牌都会发现...
第八分钟辅助!pokerwor... 第八分钟辅助!pokerworld软件(透视)一直是真的挂,安装教程(有挂工具)-哔哩哔哩1、不需要...
透视攻略!wepoker手机版... 透视攻略!wepoker手机版辅助,wepoker辅助是真的吗,妙招教程(有挂存在)-哔哩哔哩1)w...
透视计算!wpk模拟器多开(透... 透视计算!wpk模拟器多开(透视)都是是有挂,分享教程(有挂插件)-哔哩哔哩1、操作简单,无需注册,...
开挂辅助工具!wepoker开... 开挂辅助工具!wepoker开挂功能,wepoker透视开挂挂,(查到实测外挂辅助工具)是一款可以让...
六分钟解谜!wepoker底牌... 六分钟解谜!wepoker底牌透视脚本(透视)本来是真的挂,安装教程(竟然有挂)-哔哩哔哩1、wep...