找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: hiboyhiboyhiboy

[2019-03-05]改华硕[N14U N54U]5G 2G的7620老毛子Padavan固件(私人云储存 aria2 QOS)

   火... [复制链接]
发表于 2016-8-22 16:09 | 显示全部楼层
hiboyhiboy,8月8日的那个老毛子固件,打开openvirtual**后,日志文件里面有比较多的出错信息,看看是怎么回事呀?
Aug 22 12:37:40 openvirtual**-srv[581]: 127.0.0.1:30938 WARNING: Bad encapsulated packet length from peer (18245), which must be > 0 and <= 1547 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
Aug 22 14:21:18 openvirtual**-srv[581]: 127.0.0.1:38001 WARNING: Bad encapsulated packet length from peer (18245), which must be > 0 and <= 1547 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
Aug 22 14:26:05 openvirtual**-srv[581]: 127.0.0.1:38219 WARNING: Bad encapsulated packet length from peer (18245), which must be > 0 and <= 1547 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 16:17 | 显示全部楼层
本帖最后由 Love4Taylor 于 2016-8-22 16:20 编辑

请以root账户执行 若登陆的非root账户请在所有命令前加sudo

vim最基本的使用技巧(有几个前面的是西文冒号)
按 i 之后便可以输入(左下角会显示-- INSERT --,按Esc便可退出输入状态,之后即可执行以下几个命令)
:x 是保存并退出
:q 是退出
:q! 是不保存退出
dd 是删除当前行


Debian系
  1. apt-get install supervisor
复制代码


RedHat系
  1. yum install supervisor
复制代码


如果使用了systemd继续执行
  1. systemctl enable supervisord
复制代码


然后
  1. vim /etc/supervisord.conf
复制代码

查看最后一行

一般来说Centos7是
  1. [include]
  2. files = supervisord.d/*.ini
复制代码


Ubuntu是
  1. [include]
  2. files = /etc/supervisor/conf.d/*.conf
复制代码


根据*.ini或者*.conf 以及路径来继续

例如Centos7
  1. vim /etc/supervisord.d/kcptun.ini
复制代码

Ubuntu则是
  1. vim  /etc/supervisor/conf.d/kcptun.conf
复制代码


注意路径和扩展名(看起来会很麻烦 但是这样方便管理)

配置文件内容为
("/your/path/server_linux_amd64"为你二进制文件路径,$IP为你服务器IP,$Port为你SS端口,&Listen_Port为你KCP监听端口,$password为你KCP密码,其余的参数根据自己情况调整)
  1. [program:kcptun]
  2. command=/your/path/server_linux_amd64 -t "$IP:$Port" -l ":&Listen_Port" --key $Password --mtu 1350 --sndwnd 2048 --rcvwnd 2048 --crypt none --mode fast2 --dscp 0 --datashard 10 --parityshard 3 --nocomp
  3. user=root
  4. autostart = true
  5. autoresart = true
  6. stderr_logfile = /var/log/kcptun_server.log
  7. stdout_logfile = /var/log/kcptun_server.log
  8. startsecs=5
复制代码


使用中查看日志请执行
  1. less /var/log/kcptun_server.log
复制代码

实时日志
  1. tail -f /var/log/kcptun_server.log
复制代码

点评

重载命令: supervisorctl reload ; supervisorctl restart kcptun  发表于 2016-8-23 01:08
Kcptun Server一键安装脚本:https://blog.kuoruan.com/110.html  发表于 2016-8-23 01:07
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 16:27 | 显示全部楼层
感谢分享!!1
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 16:52 | 显示全部楼层
qurongshi 发表于 2016-8-22 15:34
怎么安装8.11号那个文件啊!!讲解下好吗??还有为啥每次都要电脑开下来,PUTTY执行一次路由器代码,才 ...

那个8.11的文件你没必要 自己去折腾了,HIBOY上星期说了昨天周末更新的,但是没更,估计还在弄。
这两天应该马上就要更新固件的了,你等等吧。
我用了几天,一直稳定,没有你说的情况出现。
是你服务器杀掉了kc的进程了。所以要执行一遍

点评

应该不是服务器杀掉.....因为只要我电脑开着PUTTY执行那个命令,不关掉。 我就能一直加速,YOUTUBE也打的开!!!只要我把PUTTY关掉..就没用了  详情 回复 发表于 2016-8-22 19:04
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 17:14 | 显示全部楼层

学习了,万分感谢!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 17:38 | 显示全部楼层
楼主 能说一下ssr在路由器怎么做服务器?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 17:51 | 显示全部楼层
请问virtual**服务器只允许连接一个客户端么?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 19:04 | 显示全部楼层
szkorman 发表于 2016-8-22 16:52
那个8.11的文件你没必要 自己去折腾了,HIBOY上星期说了昨天周末更新的,但是没更,估计还在弄。
这两天 ...

应该不是服务器杀掉.....因为只要我电脑开着PUTTY执行那个命令,不关掉。  我就能一直加速,YOUTUBE也打的开!!!只要我把PUTTY关掉..就没用了

点评

废话 你的会话结束了 进程当然会结束,kcp又不是daemon模式,还是那句话用进程守护  详情 回复 发表于 2016-8-22 19:42
脚本后面加 &  详情 回复 发表于 2016-8-22 19:42
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 19:08 | 显示全部楼层


老大啊,我的路由宝   刷了之后,  不能挖矿啊!  一会就挂了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 19:42 | 显示全部楼层
qurongshi 发表于 2016-8-22 19:04
应该不是服务器杀掉.....因为只要我电脑开着PUTTY执行那个命令,不关掉。  我就能一直加速,YOUTUBE也打 ...

脚本后面加 &  

点评

前面还要加nohup,光&没用,只是后台运行,shell关了进程还是会终止。  详情 回复 发表于 2016-8-23 11:36
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 19:42 | 显示全部楼层
qurongshi 发表于 2016-8-22 19:04
应该不是服务器杀掉.....因为只要我电脑开着PUTTY执行那个命令,不关掉。  我就能一直加速,YOUTUBE也打 ...

废话 你的会话结束了 进程当然会结束,kcp又不是daemon模式,还是那句话用进程守护
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 20:27 | 显示全部楼层
小米Mini已刷,谢谢楼主。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 21:08 | 显示全部楼层
lu478gang 发表于 2016-8-22 10:39
填写一个本地监听端口即可

兄台 能否各加详细一些呢 感谢感谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 21:13 来自手机 | 显示全部楼层
刷2机不错体验
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-22 21:27 | 显示全部楼层
大神,斐讯k2应该刷哪一个版本,谢谢

点评

应该刷 这个:psg1208  详情 回复 发表于 2016-8-23 09:14
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-18 11:23

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表