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、完成哈狗脚本辅助有辅助插件...
专业讨论!wpk辅助软件(透视... 专业讨论!wpk辅助软件(透视)辅助教程(好像真的有挂)-哔哩哔哩一、游戏安装教程牌型概率发牌机制”...
透视解密!hhpoker作弊实... 透视解密!hhpoker作弊实战视频,hhpoker买挂-好像是真的有辅助技巧(哔哩哔哩)1、操作简...
目前!wepoker怎么设置盖... 目前!wepoker怎么设置盖牌(透视)辅助神器(有挂神器)-哔哩哔哩1、起透看视 wepoker怎...
近日!蛮王大厅透视辅助!本来存... 您好,蛮王大厅透视辅助这款游戏可以开挂的,确实是有挂的,需要了解加去威信【136704302】很多玩...
相较于以往!wpk安卓下载辅助... 相较于以往!wpk安卓下载辅助(透视)辅助透视(好像有挂)-哔哩哔哩1、这是跨平台的轻量版有透视,在...
这一问题亟待解决!wepoke... 这一问题亟待解决!wepoker透视是真的吗(透视)辅助安装(新版有挂)-哔哩哔哩wepoker透视...
透视了解!wpk辅助是什么,w... 透视了解!wpk辅助是什么,wpk俱乐部怎么作弊-一直一直都是有辅助方法(哔哩哔哩)1、首先打开辅助...
长期以来!微信微乐辅助插件!真... 长期以来!微信微乐辅助插件!真是真的是有辅助插件(存在有挂)-哔哩哔哩1、许多玩家不知道微信微乐辅助...
插件辅助挂!wepoker免费... 插件辅助挂!wepoker免费脚本咨询(透视)wepoker透视最简单三个步骤-一直有辅助神器(哔哩...