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

相关内容

热门资讯

关于透视!xpoker透视辅助... 关于透视!xpoker透视辅助,拱趴大菠萝机器人(透视)切实是真的有辅助攻略(哔哩哔哩)1、拱趴大菠...
了解透视!智星德州插件怎么下载... 了解透视!智星德州插件怎么下载,来玩app 德州 辅助(透视)果然有辅助技巧(哔哩哔哩)1、下载好智...
分享透视!德州圈脚本,stea... 分享透视!德州圈脚本,steampokermaster辅助(透视)果然一直总是有辅助插件(哔哩哔哩)...
总结透视!约局吧如何查看是否有... 总结透视!约局吧如何查看是否有挂,hardrock作必弊(透视)一直有辅助方法(哔哩哔哩)进入游戏-...
有挂透视!来玩app 德州 辅... 有挂透视!来玩app 德州 辅助,pokemmo辅助器(透视)真是真的有辅助方法(哔哩哔哩)该软件可...
详细透视!pokemmo辅助器... 详细透视!pokemmo辅助器手机版下载,拱趴大菠萝万能辅助器(透视)本来真的是有辅助插件(哔哩哔哩...
揭幕透视!德州透视是真的吗,拱... 揭幕透视!德州透视是真的吗,拱趴大菠萝辅助神器(透视)原来存在有辅助app(哔哩哔哩)1、进入到拱趴...
揭幕透视!werplan透视挂... 揭幕透视!werplan透视挂,德州透视是真的假的(透视)总是真的有辅助技巧(哔哩哔哩)1、超多福利...
解谜透视!sohoopoker... 解谜透视!sohoopoker辅助,红龙poker辅助工具(透视)真是一直都是有辅助攻略(哔哩哔哩)...
总结透视!拱趴大菠萝十三水作必... 总结透视!拱趴大菠萝十三水作必弊,德州辅助工具到底怎么样(透视)本来存在有辅助方法(哔哩哔哩)1、许...