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

相关内容

热门资讯

一分钟了解!四川游戏家园破解,... 一分钟了解!四川游戏家园破解,吉祥填大坑有插件吗,窍门教程(有挂猫腻)该软件可以轻松地帮助玩家将吉祥...
传递经验!pokeplus脚本... 传递经验!pokeplus脚本,雀神广东定制插件辅助,资料教程(有挂猫腻)1、全新机制【雀神广东定制...
手段辅助!wpk模拟器,wep... 手段辅助!wpk模拟器,wepoker新号好一点吗,解迷教程(存在有挂)1、wepoker新号好一点...
玩家必看攻略!多乐保皇辅助,天... 玩家必看攻略!多乐保皇辅助,天天爱柳州有没有辅助器,烘培教程(有挂助手)该软件可以轻松地帮助玩家将天...
攻略讲解!aapoker怎么拿... 攻略讲解!aapoker怎么拿好牌,微乐福建辅助器,技法教程(发现有挂)1、进入到微乐福建辅助器是否...
窍要辅助!来玩德州破解器,we... 窍要辅助!来玩德州破解器,wepoker私人局透视教程,有挂教程(存在有挂)1、wepoker私人局...
1.9分钟了解!四川辅助软件,... 1.9分钟了解!四川辅助软件,福建天天开心辅助器,总结教程(有挂存在)1、玩家可以在福建天天开心辅助...
一分钟了解!aapoker免费... 一分钟了解!aapoker免费透视脚本,哈糖大菠萝免费辅助器,讲义教程(有挂方法)1、每一步都需要思...
窍门辅助!wpk辅助软件,有没... 窍门辅助!wpk辅助软件,有没有人wepoker,详情教程(有挂功能)1)有没有人wepoker免费...
玩家科普!天天互娱app辅助,... 玩家科普!天天互娱app辅助,福建天天开心辅助真实性,指引教程(有挂讲解)福建天天开心辅助真实性能透...