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

相关内容

热门资讯

科普!全民比鸡手游辅助,aap... 科普!全民比鸡手游辅助,aapoker怎么开辅助器,总结教程(有挂实锤)-哔哩哔哩1、下载好全民比鸡...
教你透视!wepoker有没有... 教你透视!wepoker有没有挂,hhpoker辅助软件是真的么,教材教程(有挂方式)-哔哩哔哩所有...
记者发布!指尖四川辅助破解版苹... 记者发布!指尖四川辅助破解版苹果,wepoker软件靠谱么,资料教程(存在有挂)-哔哩哔哩1、完成指...
了解透视!wepoker透视脚... 了解透视!wepoker透视脚本视频,德州来玩辅助器,课程教程(有挂秘籍)-哔哩哔哩1、上手简单,内...
避坑细节!泸州大二新手攻略,w... 避坑细节!泸州大二新手攻略,wepoker-h5下载,要领教程(有挂神器)-哔哩哔哩1、许多玩家不知...
辅助透视!hhpoker辅助靠... 辅助透视!hhpoker辅助靠谱吗,hhpoker免费辅助器,课程教程(有挂攻略)-哔哩哔哩1、任何...
盘点一款!!福建天天开心辅助器... 盘点一款!!福建天天开心辅助器真的假的,wepoker手机插件,绝活教程(有挂技巧)-哔哩哔哩1、金...
曝光透视!wepoker私人局... 曝光透视!wepoker私人局怎么玩,cloudpoker作必弊,课程教程(有挂教程)-哔哩哔哩1、...
六分钟了解!hhpoker作笔... 六分钟了解!hhpoker作笔实战视频,竞技联盟辅助插件,教程书教程(有挂猫腻)-哔哩哔哩1、该软件...
解谜透视!德普之星有透视辅助吗... 解谜透视!德普之星有透视辅助吗,wepoker怎么挂底牌,模块教程(有挂教程)-哔哩哔哩1、用户打开...