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

相关内容

热门资讯

wepoke辅助技巧!wpk德... wepoke辅助技巧!wpk德州透视辅助,wpk被系统针对,wpk教程(从来存在有挂);1、玩家可以...
wepoke智能ai!aapo... wepoke智能ai!aapoker有猫腻,线上wpk德州ai机器人,AI教程(总是真的有挂);1、...
WePoKe透明挂!wpk透视... WePoKe透明挂!wpk透视辅助工具,德州之星软件,2025教程(真是是有挂)1、在wpk透视辅助...
wepokeai机器人!德州微... wepokeai机器人!德州微扑克辅助,wepoke辅助真的假的,AI教程(确实有挂)在进入德州微扑...
wepoke黑科技!wpk辅助... wepoke黑科技!wpk辅助挂,微扑克ai机器人怎么回事,详细教程(确实有挂);1、微扑克ai机器...
wepoke有辅助挂!德扑ai... wepoke有辅助挂!德扑ai智能机器人,微扑克脚本代写,2025新版教程(从来真的有挂);1、玩家...
wepoke辅助挂!aapok... wepoke辅助挂!aapoker发牌机制,aapoker 辅助工具,揭秘教程(原来真的有挂);1、...
WePoKe透明挂!wpk真的... WePoKe透明挂!wpk真的有外 挂,红龙扑克会作假吗,靠谱教程(切实真的是有挂)1、全新机制【w...
WePoKe透视挂!微扑克辅助... WePoKe透视挂!微扑克辅助机器人,wpk俱乐部管理后台,2025新版技巧(果然是真的有挂);1、...
wepoke辅助德之星!德扑之... wepoke辅助德之星!德扑之星ai代打,pokerx人工智能,专业教程(从前是真的有挂)1、该软件...