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

相关内容

热门资讯

第2分钟详细!we-poker... 第2分钟详细!we-poker辅助软件教程(透视)切实存在有挂,详细教程(的确有挂)-哔哩哔哩1、w...
透视ai代打!智星菠萝透视,w... 透视ai代打!智星菠萝透视,wepoker祈福有用吗,妙招教程(有挂方法)-哔哩哔哩wepoker祈...
透视黑科技!wepoker好友... 透视黑科技!wepoker好友房开挂(透视)总是存在有挂,AI教程(有挂苹果版)-哔哩哔哩1、wep...
五分钟外挂!云扑克有透视吗(透... 五分钟外挂!云扑克有透视吗(透视)确实真的是有挂,教你教程(证实有挂)-哔哩哔哩1)云扑克有透视吗辅...
透视计算!wepoker公共底... 透视计算!wepoker公共底牌,pokermaster辅助器,策略教程(有挂分享)-哔哩哔哩1、金...
透视神器!hhpoker透视工... 透视神器!hhpoker透视工具(透视)真是存在有挂,扑克教程(有挂透视)-哔哩哔哩1、起透看视 h...
第7分钟揭幕!wepoker轻... 第7分钟揭幕!wepoker轻量版透视系统(透视)一贯真的有挂,微扑克教程(有挂秘诀)-哔哩哔哩1、...
透视规律!wepoker免费透... 透视规律!wepoker免费透视脚本,wejoker辅助机器人,操作教程(有挂技巧)-哔哩哔哩在进入...
透视ai代打!哈糖大菠萝挂法(... 透视ai代打!哈糖大菠萝挂法(透视)原来是真的挂,科技教程(有挂测试)-哔哩哔哩进入游戏-大厅左侧-...
透视科技!拱趴大菠萝有挂吗(透... 透视科技!拱趴大菠萝有挂吗(透视)确实有挂,专业教程(有挂漏洞)-哔哩哔哩1、拱趴大菠萝有挂吗系统规...