找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 11694|回复: 18

【2017-11-03】5K-W20 LEDE最新Trunk版固件 集成出国、去广告、BT、Aria2等实用软件

[复制链接]
本帖最后由 zcy85611 于 2017-11-5 10:22 编辑

最近入手了一个5K-W20,由于网上固件选择太少,出于无奈自己编译了一个最新版的LEDE固件。

5K的DTS文件以及集成的软件的源码全部来自于恩山和Github,在此先感谢各位分享出源码的大神。

MT7260A有一个顽疾,就是WIFI流量较大时,非常容易出现 “ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2”

之后WIFI无法连接,必须重启路由器才能恢复,网上出过几个补丁,打上以后并没有实质性解决。


请大家在使用过程中帮助测试,看看这个问题是否在新版中有所改善。
----------------------------------------------------------------------------------------------------------

适配机型:5K-W20
Flash容量:16M(剩余容量2mb左右)
版本号:LEDE Reboot SNAPSHOT r5218-f90f94d2c1
内核版本:4.9.58


默认LAN IP:192.168.3.1
默认密码:无

系统语言
简体中文,繁体中文,英文

主题
原版主题,Tomato主题

下载类
Aria2(RPC端口6800,已集成YAAW界面,路径为/www/aria),Transmission(RPC端口9091,已美化官方RPC界面)

出国类
S-S-R(黑名单模式,自动更新GFW List),china-dns(端口5353,自动更新chnroute列表),Dns-Forwarder(端口5355,配合china-dns提升连接稳定性)
3个软件之间的参数已经配置好,只需要填入正确的S-S-R信息即可出国

广告屏蔽类

Adbyby Plus+

网络类
vsftpd,uHTTPd,NFS服务器,Samba,Unbound,Upnp,动态DNS,QoS

远程监控类
motion,MJPG-streamer

其他
打印机驱动,全部声卡驱动,全部摄像头驱动,Shellinabox(端口4200,远程命令行,比webshell好用)fdisk,ca-certificates,madplayer,usbutils,swap-utils

支持的文件格式
fat32,NTFS,hfs/hfs+,exfat,ext2/3/4,以及其他众多格式

游客,如果您要查看本帖隐藏内容请回复


----------------------------------------------------------------------------------------------------------






本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
沙发,偶也
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

二楼更新说明一下,无线驱动用开源的,打了 999-rt2x00-quene-update.pantch,速度还凑合。

可以看看我的帖子,【2017-10-01】LEDE v17.01.0 最终源码编译的适用于 MT7620A/N 斐讯 FIR300M/FIR302M 的固件

点此下载 999-rt2x00-quene-update.patch

点评

这个补丁我试过,并没有解决问题,不过是有所改善  详情 回复 发表于 2017-11-3 23:58
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

好东西没人看??
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
hello_limin 发表于 2017-11-3 22:47
二楼更新说明一下,无线驱动用开源的,打了 999-rt2x00-quene-update.pantch,速度还凑合。

可以看看我 ...

这个补丁我试过,并没有解决问题,不过是有所改善

点评

你试一试这个补丁999-rt2x00-queue-update.patch,一份放在 linux/target/mips[/backcolor]/patches4.4[/backcolor]/,一份放在 package[/backcolor]/kernel[/backcolor]/mac80211[/backcolor]/patches[/backcolor]/  详情 回复 发表于 2017-11-24 21:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

使用道具 举报

666 大佬给力的样子
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

打印机驱动,全部声卡驱动,全部摄像头驱动
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

进来看看什么样的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个路由器我有,看看能不能当下载机
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

使用道具 举报

来自手机 | 显示全部楼层
谢谢大佬的分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢楼主的分享,学习一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 hello_limin 于 2017-11-24 21:42 编辑
zcy85611 发表于 2017-11-3 23:58
这个补丁我试过,并没有解决问题,不过是有所改善

你试一试这个补丁999-rt2x00-queue-update.patch,一份放在 target/linux/ramips/patches-4.4/,一份放在 package/kernel/mac80211/patches/,效果不好你打我,嘿嘿

  1. --- a/drivers/net/wireless/ralink/rt2x00/rt2800mmio.c        2015-06-16 13:02:30.000000000 +0300
  2. +++ b/drivers/net/wireless/ralink/rt2x00/rt2800mmio.c        2015-09-04 11:50:09.665148666 +0300
  3. @@ -700,7 +700,7 @@ void rt2800mmio_queue_init(struct data
  4.   
  5.           switch (queue->qid) {
  6.           case QID_RX:
  7. -                 queue->limit = 128;
  8. +                 queue->limit = 512;
  9.                   queue->data_size = AGGREGATION_SIZE;
  10.                   queue->desc_size = RXD_DESC_SIZE;
  11.                   queue->winfo_size = rxwi_size;
  12. @@ -711,7 +711,7 @@ void rt2800mmio_queue_init(struct data
  13.           case QID_AC_VI:
  14.           case QID_AC_BE:
  15.           case QID_AC_BK:
  16. -                 queue->limit = 64;
  17. +                 queue->limit = 512;
  18.                   queue->data_size = AGGREGATION_SIZE;
  19.                   queue->desc_size = TXD_DESC_SIZE;
  20.                   queue->winfo_size = txwi_size;

  21. --- a/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c        2015-06-16 13:02:30.000000000 +0300
  22. +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c        2015-09-04 11:47:45.845449209 +0300
  23. @@ -26,6 +26,7 @@
  24.   #include "rt2x00.h"
  25.   #include "rt2x00lib.h"
  26. + #include "rt2x00queue.h"
  27.   
  28.   static int rt2x00mac_tx_rts_cts(struct rt2x00_dev *rt2x00dev,
  29.                                   struct data_queue *queue,
  30. @@ -115,6 +115,26 @@ void rt2x00mac_tx(struct ieee80211
  31.           if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags))
  32.                   goto exit_free_skb;
  33.   
  34. +         /* Dirty hack for Queue overrun protection,
  35. +          * if AC_VO/AC_VI/AC_BE is full, use next queue.
  36. +          * if AC_BK is full use previous queue.
  37. +          */
  38. +         if (qid < 4) {
  39. +                 queue = rt2x00queue_get_tx_queue(rt2x00dev,qid);
  40. +                 if (unlikely(rt2x00queue_full(queue))){
  41. +                         switch(qid){
  42. +                                 case 0: /* QID_AC_VO */
  43. +                                 case 1: /* QID_AC_VI */
  44. +                                 case 2: /* QID_AC_BE */
  45. +                                         qid++;
  46. +                                         break;
  47. +                                 case 3: /* QID_AC_BK */
  48. +                                         qid--;
  49. +                                         break;
  50. +                         }
  51. +                 }
  52. +         }
  53. +         
  54.           /*
  55.            * Use the ATIM queue if appropriate and present.
  56.            */

  57. --- a/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c        2015-03-10 05:37:16.000000000 +0200
  58. +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c        2015-09-04 11:49:37.911446071 +0300
  59. @@ -1211,16 +1211,40 @@ void rt2x00queue_uninitialize(struct rt2x00
  60.   static void rt2x00queue_init(struct rt2x00_dev *rt2x00dev,
  61.                                struct data_queue *queue, enum data_queue_qid qid)
  62.   {
  63. +         /* Use default values for each queue type */
  64. +         unsigned short cwmin = 5, cwmax = 10, aifs = 2, txop = 0;
  65. +         
  66. +         switch (qid) {
  67. +                 case QID_AC_VO:
  68. +                         cwmin = 2;
  69. +                         cwmax = 3;
  70. +                         txop = 47;
  71. +                         break;
  72. +                 case QID_AC_VI:
  73. +                         cwmin = 3;
  74. +                         cwmax = 4;
  75. +                         txop = 94;
  76. +                         break;
  77. +                 case QID_AC_BE:
  78. +                         cwmin = 4;
  79. +                         aifs = 3;
  80. +                         break;
  81. +                 case QID_AC_BK:
  82. +                         cwmin = 4;
  83. +                         aifs = 7;
  84. +                         break;
  85. +         }
  86. +         
  87.           mutex_init(&queue->status_lock);
  88.           spin_lock_init(&queue->tx_lock);
  89.           spin_lock_init(&queue->index_lock);
  90.   
  91.           queue->rt2x00dev = rt2x00dev;
  92.           queue->qid = qid;
  93. -         queue->txop = 0;
  94. -         queue->aifs = 2;
  95. -         queue->cw_min = 5;
  96. -         queue->cw_max = 10;
  97. +         queue->txop = txop;
  98. +         queue->aifs = aifs;
  99. +         queue->cw_min = cwmin;
  100. +         queue->cw_max = cwmax;
  101.   
  102.           rt2x00dev->ops->queue_init(queue);
复制代码


点评

这个补丁我试过,略有改善,但是还是没解决  详情 回复 发表于 2017-11-25 11:51
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

没遇到过你这个问题
我倒是遇到了这个问题
  1. Sat Nov 25 11:12:13 2017 daemon.info odhcpd[1516]: Using a RA lifetime of 0 seconds on br-lan
  2. Sat Nov 25 11:17:15 2017 daemon.info odhcpd[1516]: Using a RA lifetime of 0 seconds on br-lan  
复制代码

日志里一堆这个....
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 04:26

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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