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俱乐部开挂... 1、玩家攻略推荐!wpk俱乐部开挂实锤(透明挂黑科技)可靠教程(2025已更新)(哔哩哔哩)。2、w...
黑科技黑科技(WePoKe)w... 黑科技黑科技(WePoKe)wepoke靠谱吗(黑科技ai)其实有挂(2023已更新)(哔哩哔哩)1...
黑科技游戏(德州之星app辅助... 黑科技游戏(德州之星app辅助器)外挂透明挂辅助器(透视)确实是有挂(有挂秘笈)-哔哩哔哩1、德州之...
必备科技!wpk德州ai辅助器... 您好,wpk德州ai辅助器好用吗这款游戏可以开挂的,确实是有挂的,需要了解加微【136704302】...
黑科技好牌(WePoKe)we... 黑科技好牌(WePoKe)wepoke游戏数据有说法吗(透明挂黑科技)真是是真的有挂(2022已更新...
黑科技教学(云扑克辅助器真假)... 黑科技教学(云扑克辅助器真假)外挂透明挂辅助软件(透视)确实真的有挂(真的有挂)-哔哩哔哩1、云扑克...
带你了解!德扑之星软件真的有辅... 带你了解!德扑之星软件真的有辅吗(透明黑科技)解密教程(2022已更新)(哔哩哔哩)是一款可以让一直...
黑科技免费(WePoKe)po... 黑科技免费(WePoKe)pokermaster有德州吗(透视)本来是有挂(2022已更新)(哔哩哔...
黑科技ai挂(微扑克wpk真的... 黑科技ai挂(微扑克wpk真的有辅助吗)外挂透明挂辅助软件(透视)果然真的有挂(有挂方略)-哔哩哔哩...
解密关于!pokernow怎么... 解密关于!pokernow怎么开挂(软件透明挂)高科技教程(2026已更新)(哔哩哔哩)1、下载好p...