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

相关内容

热门资讯

针对!微友三代辅助,新上游辅助... 针对!微友三代辅助,新上游辅助,解说技巧(好像是有挂)-哔哩哔哩1、微友三代辅助透视辅助简单,微友三...
透视总结!wepoker游戏安... 您好,wepoker游戏安装教程这款游戏可以开挂的,确实是有挂的,需要了解加去威信【48527505...
透视苹果!pokemmo脚本最... 透视苹果!pokemmo脚本最新版(透视)开挂辅助神器(确实是有挂)-哔哩哔哩1、pokemmo脚本...
推出新举措!微玩盒子网页游戏辅... 推出新举措!微玩盒子网页游戏辅助,贪吃蛇辅助器怎么下载,必备教程(一贯有挂)-哔哩哔哩1、起透看视 ...
透视有挂!wepoker底牌透... 透视有挂!wepoker底牌透视脚本,德普之星辅助器怎么用,绝活教程(真是真的有挂)-哔哩哔哩1、任...
透视靠谱!wepoker辅助是... 透视靠谱!wepoker辅助是真的吗(透视)开挂辅助app(好像真的有挂)-哔哩哔哩1、wepoke...
反观!天道辅助器使用教程,极速... 反观!天道辅助器使用教程,极速暗宝辅助,必胜教程(都是真的是有挂)-哔哩哔哩1、上手简单,内置详细流...
透视规律!德州局怎么透视,hh... 透视规律!德州局怎么透视,hhpoker透视脚本,教材教程(果然有挂)-哔哩哔哩德州局怎么透视辅助器...
透视必胜!来玩德州破解器(透视... 透视必胜!来玩德州破解器(透视)开挂辅助app(其实真的是有挂)-哔哩哔哩1、每一步都需要思考,不同...
不少玩家反映!心悦辅助器,边锋... 不少玩家反映!心悦辅助器,边锋老友内蒙古辅助,力荐教程(果然是真的挂)-哔哩哔哩1、任何边锋老友内蒙...