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

相关内容

热门资讯

透视窍门!aapoker透视脚... 透视窍门!aapoker透视脚本(透视)一直真的是有辅助安装(哔哩哔哩)aapoker透视脚本脚本下...
教你透视!拱趴大菠萝挂,soh... 教你透视!拱趴大菠萝挂,sohoo poker辅助(透视)真是有辅助插件(哔哩哔哩)1、完成拱趴大菠...
透视指南书!wepoker插件... 透视指南书!wepoker插件下载(透视)其实有辅助辅助器(哔哩哔哩)所有人都在同一条线上,像星星一...
教你透视!菠萝德州透视脚本,p... 教你透视!菠萝德州透视脚本,pokemmo手机辅助软件(透视)确实一直都是有辅助软件(哔哩哔哩)1、...
透视妙计!htx矩阵wepok... 透视妙计!htx矩阵wepoker辅助(透视)原来真的是有辅助app(哔哩哔哩)1、金币登录送、破产...
透视诀窍!hhpoker可以开... 透视诀窍!hhpoker可以开挂吗(透视)切实有辅助神器(哔哩哔哩)1、下载好hhpoker可以开挂...
了解透视!pokerworld... 了解透视!pokerworld软件,hardrock透视工具(透视)果然存在有辅助插件(哔哩哔哩)1...
透视手册!wpk私人局有透视吗... 透视手册!wpk私人局有透视吗(透视)真是真的是有辅助app(哔哩哔哩)1、wpk私人局有透视吗免费...
分享透视!pokemmo辅助器... 分享透视!pokemmo辅助器脚本下载,pokerrrr2辅助(透视)总是是真的有辅助神器(哔哩哔哩...
透视操作!aapoker辅助器... 透视操作!aapoker辅助器是真的吗(透视)都是是真的辅助工具(哔哩哔哩)亲,关键说明,aapok...