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

相关内容

热门资讯

WPk最新黑科技!wpk最新黑... 1、WPk最新黑科技!wpk最新黑科技(WPK ai辅助)果然有挂(2026已更新)(哔哩哔哩)2、...
wepokeai代打!wepo... wepokeai代打!wepoke app系统规律(WePoKe黑科技)真是存在有挂(有挂教学)-哔...
每日必看推荐"aap... 每日必看推荐"aapoker真的有猫腻吗"aapoker有作弊吗(确实存在有挂)-哔哩哔哩1、下载好...
科普(德州ai软件购买)德州a... 1、科普(德州ai软件购买)德州ai人工智能(确实真的是有挂)-哔哩哔哩2、进入游戏-大厅左侧-新手...
wPk最新黑科技!wpk有透视... wPk最新黑科技!wpk有透视辅助吗(WPK ai辅助)素来真的有挂(2024已更新)(哔哩哔哩)1...
wepoke智能ai!wepo... wepoke智能ai!wepoke透明挂辅助(WePoKe黑科技)一贯是有挂(有挂秘笈)-哔哩哔哩w...
科技分享"aa po... 科技分享"aa poker有外挂吗"aapoker透明挂辅助器(竟然是真的有挂)-哔哩哔哩小薇(透视...
一分钟了解(德州ai辅助神器软... 一分钟了解(德州ai辅助神器软件)德州wepower辅助器ai(都是有挂)-哔哩哔哩这是由厦门游乐互...
Wpk最新黑科技!wpk微扑克... 1、Wpk最新黑科技!wpk微扑克免费辅助(WPK ai辅助)先前是真的有挂(2023已更新)(哔哩...
wepoke黑科技!wepok... wepoke黑科技!wepoke辅助使用方法(WePoKe黑科技)切实真的有挂(新版有挂)-哔哩哔哩...