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

相关内容

热门资讯

7分钟辅助器外挂!wepoke... 7分钟辅助器外挂!wepoker手机助手,wepoker辅助器有哪些功能(有挂神器)-哔哩哔哩wep...
据报道!哈糖大菠萝有挂吗5个常... 据报道!哈糖大菠萝有挂吗5个常用方法!果然真的是有开挂辅助攻略(有挂技巧)-哔哩哔哩1)哈糖大菠萝有...
第3分钟辅助器外挂!wepok... 第3分钟辅助器外挂!wepoker私人局俱乐部,wepoker辅助透视软件(竟然有挂)-哔哩哔哩1、...
技巧辅助挂!新超凡辅助器!确实... 技巧辅助挂!新超凡辅助器!确实确实有开挂辅助器(有挂方法)-哔哩哔哩1、下载好新超凡辅助器正确养号方...
6分钟辅助器外挂!购买的wpk... 6分钟辅助器外挂!购买的wpk辅助在哪里下载,wepoker破解游戏盒子(有挂透明挂)-哔哩哔哩1、...
据相关数据显示!微信微乐辅助器... 据相关数据显示!微信微乐辅助器下载!本来确实有开挂辅助挂(有挂技巧)-哔哩哔哩1.微信微乐辅助器下载...
八分钟辅助器外挂!wpk透视辅... 八分钟辅助器外挂!wpk透视辅助,wepoker怎么获得好牌(有挂细节)-哔哩哔哩1、打开软件启动之...
经调查!正版新九游辅助!切实是... 经调查!正版新九游辅助!切实是有开挂辅助教程(有挂存在)-哔哩哔哩1、点击下载安装,正版新九游辅助脚...
第6分钟辅助器外挂!德普之星私... 第6分钟辅助器外挂!德普之星私人局辅助免费,wepoker透视脚本免费下载(真是有挂)-哔哩哔哩1、...
第8分钟辅助器外挂!德普之星透... 第8分钟辅助器外挂!德普之星透视辅助,aapoker安装包怎么使用(存在有挂)-哔哩哔哩小薇(辅助器...