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

相关内容

热门资讯

第2分钟透明挂!wejoker... 第2分钟透明挂!wejoker辅助机器人,德普之星辅助器(透视)攻略教程(发现有挂)暗藏猫腻,小编详...
复盘辅助挂!德州ai代打,微扑... 复盘辅助挂!德州ai代打,微扑克机器人代打俱乐部,2025版教程(新版有挂)-哔哩哔哩;一、微扑克机...
4分钟神器!wpk模拟器是什么... 4分钟神器!wpk模拟器是什么,hhpoker是真的还是假的(透视)透牌教程(有挂规律)1、该软件可...
玩家必看分享!aapoker透... 玩家必看分享!aapoker透明挂使用教程,wepoke是可以软件,插件教程(有挂神器)-哔哩哔哩;...
第五分钟科普!佛手在线有挂吗,... 第五分钟科普!佛手在线有挂吗,红龙poker辅助(透视)分享教程(有挂猫腻)1.佛手在线有挂吗 ai...
推荐一款!德扑之星ai计算,德... 推荐一款!德扑之星ai计算,德扑ai工具,科技教程(有挂功能)-哔哩哔哩;最新版2026是一款经典耐...
第6分钟体悟!wepokerp... 第6分钟体悟!wepokerplus透视脚本免费,aapoker辅助挂(透视)攻略教程(详细教程)1...
我来教大家!wpk职业代打,w... 我来教大家!wpk职业代打,wpk外挂第一视角,透视教程(有挂总结)-哔哩哔哩;wpk外挂第一视角软...
1分钟掌握!wepoker有什... 1分钟掌握!wepoker有什么规律,wepoker有辅助吗(透视)分享教程(有挂详情)1、该软件可...
黑科技游戏!德州之星辅助器多少... 黑科技游戏!德州之星辅助器多少钱,微扑克wpk有挂,教你攻略(有挂方法)-哔哩哔哩;德州之星辅助器多...