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

相关内容

热门资讯

透视指南!拱趴大菠萝有什么挂,... 透视指南!拱趴大菠萝有什么挂,拱趴大菠萝辅助神器(透视)好像是真的脚本挂(哔哩哔哩)拱趴大菠萝有什么...
透视绝活儿!we-poker软... 透视绝活儿!we-poker软件,wepoker辅助软件视频(透视)其实存在有挂(哔哩哔哩)亲,关键...
透视指南!wpk透视辅助,wp... 透视指南!wpk透视辅助,wpk私人局有透视吗(透视)一直是真的脚本教程(哔哩哔哩)1、wpk私人局...
透视经验!agpoker辅助,... 透视经验!agpoker辅助,wepokerplus到底是挂了吗(透视)原来真的是有挂(哔哩哔哩)亲...
透视办法!德普之星私人局辅助器... 透视办法!德普之星私人局辅助器,德普之星辅助器app(透视)其实是有透视软件(哔哩哔哩)暗藏猫腻,小...
透视手筋!pokerrrr2辅... 透视手筋!pokerrrr2辅助,约局吧如何查看是否有挂(透视)一贯是真的挂(哔哩哔哩)1、这是跨平...
透视法门!德扑圈有透视吗,德扑... 透视法门!德扑圈有透视吗,德扑圈有透视吗(透视)切实是真的脚本神器(哔哩哔哩)1、德扑圈有透视吗脚本...
透视练习!wepoker免费脚... 透视练习!wepoker免费脚本弱密码,wepoker底牌透视(透视)一直存在有挂(哔哩哔哩)1、w...
透视举措!aa poker辅助... 透视举措!aa poker辅助,aapoker公共底牌(透视)其实真的是有脚本脚本(哔哩哔哩)1、a...
透视模块!wepoker代打辅... 透视模块!wepoker代打辅助,we poker游戏下(透视)竟然存在有挂(哔哩哔哩)1、wepo...