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

相关内容

热门资讯

4分钟辅助!hhpoker免费... 4分钟辅助!hhpoker免费透视脚本,德州透视脚本(透视)透牌教程(今日头条)1、完成hhpoke...
玩家亲测!(Wepoke专用)... 玩家亲测!(Wepoke专用)外挂软件透明挂辅助器安装!(gg扑克软件)2025新版教程(2025已...
2024版总结!wepower... 2024版总结!wepower可以设置德州,德州ai人工智能软件免费,玩家教你(有挂辅助)-哔哩哔哩...
四分钟体悟!hhpoker德州... 四分钟体悟!hhpoker德州透视挂,wepoker怎么设置盖牌(透视)软件教程(有挂教程)四分钟体...
透视辅助!(AAPOKeR)外... 透视辅助!(AAPOKeR)外挂透明挂ai辅助助手!(WEPOKE)透视教程(2023已更新)(哔哩...
第三方插件!aapoker有胜... 第三方插件!aapoker有胜率保护,微扑克必胜技巧,必备教程(有挂头条)-哔哩哔哩,aapoker...
七分钟私人局!wepoker私... 七分钟私人局!wepoker私人局透视插件,wepoker辅助器怎么弄(透视)普及教程(新版有挂)1...
透视计算!(aapoker后台... 透视计算!(aapoker后台)外挂透明挂ai代打辅助科技!(wepoke有挂)实用技巧(2024已...
一分钟了解!wpk辅助插件,德... 一分钟了解!wpk辅助插件,德扑之星ai软件,德州教程(证实有挂)-哔哩哔哩;1、这是跨平台的德扑之...
一分钟透视!werplan怎么... 一分钟透视!werplan怎么透视挂,智星德州菠萝安装(透视)详细教程(有挂教学)1)智星德州菠萝安...