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

相关内容

热门资讯

WPK透视辅助!wepoker... WPK透视辅助!wepoker有没有挂,wepoker有没有插件(其实是有挂)1、完成wepoker...
wpk透视辅助!智星菠萝有挂吗... wpk透视辅助!智星菠萝有挂吗,wepoker辅助真的假的(本来有挂);1、用户打开应用后不用登录就...
wpk透视辅助!wepoker... wpk透视辅助!wepoker私人辅助器,pokemmo修改器手机版(本来存在有挂)1)pokemm...
wpk透视辅助!hhpoker... wpk透视辅助!hhpoker透视方法,德州局透视脚本免费版下载手机版(原来存在有挂)1、德州局透视...
微扑克透视辅助!wepoker... 微扑克透视辅助!wepoker辅助真的假的,hhpoker怎么开透视(原来真的是有挂)wepoker...
微扑克透视辅助!we-poke... 微扑克透视辅助!we-poker辅助,hhpoker辅助器(一直存在有挂)hhpoker辅助器透视方...
WPK透视辅助!pokemmo... WPK透视辅助!pokemmo手机版修改器,wpk辅助(一贯真的是有挂)小薇(辅助器软件下载)致您一...
微扑克透视辅助!大菠萝手游辅助... 微扑克透视辅助!大菠萝手游辅助,hhpoker底牌透视脚本(好像存在有挂)1、hhpoker底牌透视...
WPK透视辅助!德扑之心免费透... WPK透视辅助!德扑之心免费透视,wpk俱乐部有没有辅助(本来真的是有挂)1、wpk俱乐部有没有辅助...
微扑克透视辅助!哈糖大菠萝挂,... 微扑克透视辅助!哈糖大菠萝挂,impoker辅助(竟然是有挂)1、哈糖大菠萝挂免费辅助多个强度级别选...