Comments (12)
注意:
我这里实际测试,添加路由需要14秒,删除路由需要13秒…没�
��特殊需求就别用这个脚本了,实在
太抓狂了…
Original comment by [email protected]
on 21 Feb 2010 at 2:18
from chnroutes.
好的, 按照这个增加一个android专用的生成脚本.
不过, 你这两个脚本大概可以改改.
把第一行换成 #!/system/bin/sh
然后添加一行
alias route="/system/xbin/busybox route"
这样下边的那些命令就不用写得那么长和难看了.
Original comment by [email protected]
on 21 Feb 2010 at 4:47
- Changed state: Accepted
from chnroutes.
@Majority
呵呵,我测试的时候写的,很dirty :-)
Original comment by [email protected]
on 21 Feb 2010 at 5:06
from chnroutes.
我看了一下用于生成for android脚本的python脚本。
awk和grep需要用/system/xbin/busybox grep这样的形式调用
Original comment by [email protected]
on 6 Mar 2010 at 3:07
from chnroutes.
oh, android里的 awk和grep都不是单独命令, 而是由busybox提供的么?
那我加几个alias就可以了
Original comment by [email protected]
on 6 Mar 2010 at 3:29
from chnroutes.
部分ROM里是单独命令,但是部分ROM里只能用busybox提供的,这�
��通用性好一点
Original comment by [email protected]
on 6 Mar 2010 at 3:32
from chnroutes.
alias 是busybox提供的, 还是单独的??
Original comment by [email protected]
on 6 Mar 2010 at 3:37
from chnroutes.
alias是shell
built-in,这个是个shell都支持,倒不用担心这个问题
Original comment by [email protected]
on 6 Mar 2010 at 3:41
from chnroutes.
我搞错了, 我记得也是shell的, 只是刚才which alias看到
/usr/bin里竟然有一个..
Original comment by [email protected]
on 6 Mar 2010 at 3:57
from chnroutes.
囧=。=
Original comment by [email protected]
on 6 Mar 2010 at 4:15
from chnroutes.
哦对了,可以直接在脚本里用$route_net_gateway来获取连接VPN前��
�默认路由
Original comment by [email protected]
on 6 Mar 2010 at 5:50
from chnroutes.
我放了也不执行外部脚本.郁闷得很.另外在我的安卓机子上,��
�面的路由表不能执行.提示设备错误.改成我附件里面的行了.�
��的手机moto defy cm72的系统.
Original comment by [email protected]
on 7 Dec 2012 at 3:01
Attachments:
from chnroutes.
Related Issues (20)
- 淘宝网似乎还是会通过VPN线路链接
- 路由表定义好像有点小问题
- 请问淘宝等走的VPN流量的,如何手动修正?
- VPNGates不能和这个配合使用吗?
- 有些国内网站还是走的海外路线
- 在 Windows 8 中不能? HOT 1
- 运行chnroutes后,ip显示本地IP,但是ping一直是200多M,并且访问国内速度很慢 HOT 1
- 下载不了最新的路由表 HOT 4
- 最近开始无法下载 HOT 2
- chnroutes-dl.appspot.com无法访问的替代方案 HOT 4
- This download page is for chnroutes user who doesn't have python installed.
- 这表好像一点都不全.
- chnroutes能配合Bitvise SSH Client使用吗?谢谢
- 新浪微博走的是 VPN?
- PC端设置好路由分流后共享WIFI给移动端有用吗
- Windows 7下脚本执行错误%%m was unexpected at this time.
- [deleted issue]
- 希望可以增加GTA5的路由表
- 能不能把taobao和baidu放進chnrotes list?
- Android 下 vpnup.sh 需要设置权限吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chnroutes.