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

相关内容

热门资讯

黑科技辅助!云扑克德州PK(透... 黑科技辅助!云扑克德州PK(透视)果然有挂(2021已更新)(哔哩哔哩);1、云扑克德州PK系统规律...
黑科技总结(wepoke真的有... 1、黑科技总结(wepoke真的有挂)wepoke透明挂是真的吗(wepOkE)先前是真的有挂(确实...
黑科技辅助!pokerwoel... 黑科技辅助!pokerwoeld安卓下载(透视)揭秘教程(2021已更新)(哔哩哔哩)1、全新机制【...
发现一款!wpk科技是真的吗(... 发现一款!wpk科技是真的吗(透视)外挂透明挂辅助黑科技(2025已更新)(哔哩哔哩)1、完成wpk...
黑科技工具!德扑统计软件(透视... 黑科技工具!德扑统计软件(透视)总是有挂(2023已更新)(哔哩哔哩)1、许多玩家不知道德扑统计软件...
黑科技辅助!wepower作弊... 黑科技辅助!wepower作弊器(透视)揭秘攻略(2021已更新)(哔哩哔哩);wepower作弊器...
黑科技新版(wepoke智能a... 黑科技新版(wepoke智能ai)wepoke软件透明挂价格(wepoker)素来真的有挂(有挂技巧...
推荐几款新版!德扑之星辅牌器靠... 推荐几款新版!德扑之星辅牌器靠谱吗(透视)外挂透明挂辅助神器(2021已更新)(哔哩哔哩);1、德扑...
黑科技计算!微扑克有后台控制吗... 黑科技计算!微扑克有后台控制吗(透视)切实是真的有挂(2023已更新)(哔哩哔哩)1、起透看视 微扑...
黑科技辅助!aapoker怎么... 黑科技辅助!aapoker怎么进俱乐部(透视)教你攻略(2020已更新)(哔哩哔哩)小薇(透视辅助)...