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

相关内容

热门资讯

通报辅助!hhpoker透视脚... 通报辅助!hhpoker透视脚本下载,微信小程序财神十三脚本app,开挂(透视)辅助脚本(有挂辅助)...
细节辅助!hh poker辅助... 细节辅助!hh poker辅助器先试用,牵手游戏辅助,开挂(透视)辅助下载(有挂技巧);牵手游戏辅助...
曝光辅助!pokeplus脚本... 曝光辅助!pokeplus脚本,789大菠萝攻略,开挂(透视)辅助下载(有挂规律);超受欢迎的789...
正品辅助!德州局怎么透视,微信... 正品辅助!德州局怎么透视,微信雀神小程序插件,开挂(透视)辅助工具(有挂方式);微信雀神小程序插件是...
分享辅助!werplan怎么辅... 分享辅助!werplan怎么辅助,欢乐达人透视脚本,开挂(透视)辅助插件(证实有挂);1、很好的欢乐...
必看辅助!拱趴大菠萝辅助方法,... 必看辅助!拱趴大菠萝辅助方法,衢州都莱辅助软件,开挂(透视)辅助脚本(有人有挂);衢州都莱辅助软件中...
关于开挂!约局吧开挂,新上游拼... 关于开挂!约局吧开挂,新上游拼十辅助,开挂(透视)辅助插件(有挂规律);1、完成新上游拼十辅助的残局...
详细开挂!wepoker开辅助... 《详细开挂!wepoker开辅助能查到吗,卡丁互娱辅助器,开挂(透视)辅助软件(详细教程)》 卡丁互...
关于辅助!wepoker好友助... 关于辅助!wepoker好友助力码,浙江游戏厅辅助器,开挂(透视)辅助软件(有挂方法);浙江游戏厅辅...
通报开挂!wepoker透视脚... 通报开挂!wepoker透视脚本免费使用视频,欢乐达人暗宝辅助,开挂(透视)辅助安装(有挂透明挂);...