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

相关内容

热门资讯

透视解密!wpk辅助哪里买(透... 透视解密!wpk辅助哪里买(透视)wpk有那种辅助吗,教程策略(有挂教学)-哔哩哔哩1、wpk有那种...
透视妙计!wepoker科技辅... 透视妙计!wepoker科技辅助器,wepoker轻量版有透视吗(脚本)分享教程(真是是有挂)-哔哩...
透视了解!wpk有辅助器吗(透... 透视了解!wpk有辅助器吗(透视)wpk辅助,教程学习(有挂工具)-哔哩哔哩小薇(辅助器软件下载)致...
透视窍门!wepoker破解游... 透视窍门!wepoker破解游戏盒子,wepoker私局辅助(脚本)了解教程(一贯真的有挂)-哔哩哔...
透视必备!购买的wpk辅助在哪... 透视必备!购买的wpk辅助在哪里下载(透视)wpk透视辅助方法,教程练习(有挂秘笈)-哔哩哔哩1、完...
透视窍门!wepoker代打辅... 透视窍门!wepoker代打辅助,wepoker正确养号方法(脚本)揭幕教程(果然有挂)-哔哩哔哩1...
透视必备!wpk模拟器(透视)... 透视必备!wpk模拟器(透视)wpk辅助器,教程模板(有挂方式)-哔哩哔哩1、下载好wpk辅助器透视...
透视方式!wepoker免费辅... 透视方式!wepoker免费辅助器,wepoker数据分析工具(脚本)分享教程(确实是有挂)-哔哩哔...
透视教你!wpk辅助是什么(透... 透视教你!wpk辅助是什么(透视)wpk透视插件,教程指南(有挂方略)-哔哩哔哩1、完成wpk辅助是...
透视绝活儿!wepoker透视... 透视绝活儿!wepoker透视辅助下载,wejoker内置辅助(脚本)有挂教程(好像真的有挂)-哔哩...