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可以开透视吗(透视)本来存在有挂,可靠教程(有挂安卓)-哔哩哔哩1、这是跨...
透视数据!智星菠萝有挂吗,we... 透视数据!智星菠萝有挂吗,wepoker辅助器安装包定制,模块教程(有挂透明挂)-哔哩哔哩1、许多玩...
第五分钟解密!wepoker亲... 第五分钟解密!wepoker亲友圈有用吗(透视)一贯是有挂,科技教程(有挂教学)-哔哩哔哩1、wep...
透视神器!wpk透视怎么安装(... 透视神器!wpk透视怎么安装(透视)一贯存在有挂,揭秘攻略(有挂代打)-哔哩哔哩该软件可以轻松地帮助...
透视好友房!htx矩阵wepo... 透视好友房!htx矩阵wepoker辅助,wpk软件是真的吗,大纲教程(详细教程)-哔哩哔哩1、ht...
透视了解!pokemmo脚本手... 透视了解!pokemmo脚本手机版(透视)本来存在有挂,可靠教程(有挂技巧)-哔哩哔哩1、pokem...
十分钟外挂!wepoker有没... 十分钟外挂!wepoker有没有插件(透视)总是是有挂,安装教程(有挂秘籍)-哔哩哔哩1、全新机制【...
透视总结!aapoker怎么控... 透视总结!aapoker怎么控制牌,菠萝辅助器免费版的功能介绍,指南教程(有挂透明挂)-哔哩哔哩1、...
透视线上!wepoker透视最... 透视线上!wepoker透视最简单三个步骤(透视)竟然是有挂,玩家教程(有挂最新版)-哔哩哔哩1、全...
三分钟解密!wepoker有脚... 三分钟解密!wepoker有脚本吗(透视)都是有挂,详细教程(有挂解惑)-哔哩哔哩1、在wepoke...