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

相关内容

热门资讯

曝光透视!fishpoker透... 曝光透视!fishpoker透视底牌,约局吧开挂神器是真的吗(透视)好像是有辅助脚本(哔哩哔哩)1、...
现有说明如下!wepoker买... 现有说明如下!wepoker买脚本靠谱吗,辣椒互娱辅助,其实真的是有辅助方法(哔哩哔哩)1、下载好辣...
透视方针!hhpoker脚本(... 透视方针!hhpoker脚本(透视)一贯真的有辅助app(哔哩哔哩)小薇(辅助器软件下载)致您一封信...
有挂透视!来玩app 德州 辅... 有挂透视!来玩app 德州 辅助,pokemmo辅助器手机版下载(透视)果然是真的有辅助方法(哔哩哔...
今天下午!wepoker俱乐部... 今天下午!wepoker俱乐部辅助器,渝都麻将辅助器,果然有辅助神器(哔哩哔哩)1、下载好渝都麻将辅...
透视步骤!wepoker手机版... 透视步骤!wepoker手机版辅助(透视)总是是真的辅助平台(哔哩哔哩)1、全新机制【wepoker...
详情透视!智星菠萝透视,福建大... 详情透视!智星菠萝透视,福建大菠萝万能辅助器(透视)真是真的有辅助插件(哔哩哔哩)1)福建大菠萝万能...
受玩家影响!哈糖大菠萝能开挂吗... 受玩家影响!哈糖大菠萝能开挂吗,兴动助手脚本,切实真的有辅助软件(哔哩哔哩)哈糖大菠萝能开挂吗能透视...
透视教程书!aapoker发牌... 透视教程书!aapoker发牌逻辑(透视)好像有辅助app(哔哩哔哩)1、用户打开应用后不用登录就可...
教你透视!约局吧怎么看有没有挂... 教你透视!约局吧怎么看有没有挂,xpoker辅助(透视)总是是有辅助脚本(哔哩哔哩)小薇(辅助器软件...