Code Monkey home page Code Monkey logo

rt-n56u's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rt-n56u's Issues

请问可以添加ADBYBY和V2ray吗?

请问可以添加这两个功能吗?我用你的源码给B70适配。界面清爽,就是功能少了一些。另外,小白不懂如何提交B70代码上来。顺便请教一下

K2P能否编译一版最新5.0.4无线驱动

主路由K2P+旁路由N1的组合,主要功能是轻量级NAS和去广告。
一直用您的702版本,稳定精简,最喜欢固件去掉了下拉菜单的日志。
习惯以后不喜欢其他人的下拉菜单式的日志选项,觉得多余。
最近MTK的5.0.4无线驱动似乎对苹果手机比较友好,大神能否适配一版最新无线驱动的呀?比较期待。

wing trojan的用法

在路由器启动后执行:
wing start trojan
在防火墙规则启动后执行:
wing resume

现在浏览器可以打开谷歌,但是Telegram打不开,是不是要做什么代理设置?

另外咨询下是全部网站都走代理了还是gfwlist列表的走?bt下载的流量会走呢?

ipset add gfwlist 8.8.4.4 这个看说明是黑名单?没有理解是什么意思,要打开吗?

共享文件无法打开问题

Samba网络共享成功开启,但手机和电视盒子无法播放共享的视频(PC可以访问并播放),照片也同样无法打开,但用PC访问就没有问题,K2P路由,只加了USB

2022.04.20/B70.trx wing start url client

wing start url client
无法启用socks5模式,有时候需要PC连接socks5。

wing status
tail: can't open '/tmp/wing.log': No such file or dierectory
tail: no files

高速组合模式,油管速度慢或者开头卡住,小娱CPU无负载。

目前小娱做主路由,K2P做AP.使用高速组合模式,XYC1+玩客云>AWS,SOCKS5 服务运行在玩客云上。使用都是08.29固件。
电脑走路由,油管的速度会很慢或者出现开头卡住无法播放,小娱的CPU也没有负载。
如果电脑直接将系统代理指向玩客云的SOCKS,油管轻松20w。
盼解惑回复。

xy-c1的0420,transmission打不开了

transmission\config\settings.json
/usr/bin/transmission-daemon: can't load library 'libstdc++.so.6'
这个错误和我编译h大的一模一样的,上一版本还是能打开的

newifi3的2.4G问题

默认是g/n模式,网络信息显示是b/g,即使改为n only还是显示b/g,看 hanwckf固件更新日志有换过驱动,不知道是显示不正确还是真的只工作在b/g模式。大神有能力修复修复吗?

web能打开,app不能

gfw 设置了wing ip ,防火墙wing resume

web能打开,但是推忑,tel电都不能正常连接

红米2100日志内核提示

红米2100 路由AP模式
Aug 13 04:47:12 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 05:47:13 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 06:47:14 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 07:47:15 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 08:47:16 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 09:47:17 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 10:47:18 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 11:47:19 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 12:47:20 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 16:47:24 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 17:47:25 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 18:47:26 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 20:47:28 kernel: Replay Counter Different in group msg 2 of 2-way handshake!

每一个小时就会提示一次,非常准时。
出现这个提示时,ping值会变高。

来自 125.39.52.26 的回复: 字节=32 时间=16ms TTL=55
来自 125.39.52.26 的回复: 字节=32 时间=16ms TTL=55
来自 125.39.52.26 的回复: 字节=32 时间=15ms TTL=55
来自 125.39.52.26 的回复: 字节=32 时间=102ms TTL=55
来自 125.39.52.26 的回复: 字节=32 时间=16ms TTL=55
来自 125.39.52.26 的回复: 字节=32 时间=17ms TTL=55

下面的不清楚
Aug 13 12:47:23 kernel: dev_rx_ctrl_frm(): Cannot found WCID of BAR packet!
Aug 13 13:00:32 kernel: flush result = ffffff
Aug 13 13:00:32 kernel: check pse fid Q7:set_get_fid, q_idx:7 empty!!
Aug 13 13:00:32 kernel: flush result = ffffff
Aug 13 13:00:32 kernel: check pse fid Q7:set_get_fid, q_idx:7 empty!!
Aug 13 13:47:21 kernel: Replay Counter Different in group msg 2 of 2-way handshake!
Aug 13 15:47:27 kernel: dev_rx_ctrl_frm(): Cannot found WCID of BAR packet!

型号修改

首先感谢大佬做的精细固件,精简细致当之无愧。非常喜欢,家里的小娱和k2p都是用你的固件。
在此提出一点小小的疑问。

1.固件升级中产品型号能否修改?本人C5,算是自己的强迫症吧!不能改也无伤大雅。
image

xy刷上之后ssh端口是10240

刷好之后发现SSH一直连不上,通过WEB控制台看到 sshd_config 里的端口是10240, 这个端口是固件里默认改的吗?

SSR能否改造成OPENWRT的

如题
现在Hanck固件的太纯净导致SSR功能不够强大 ,只有单独SS, 与SSR , 没有V2RAY ,如果能增加就太好了.
谢谢!
很喜欢你的固件,今天更新路由+AP,DHCP分配问题 困扰我好久 找下终于解决了

Can these compile warnings be fixed?

I see some warnings during compiling, and I wonder if these warnings can be fixed.

For example:

scripts/kconfig/confdata.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:705:19: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  705 |  sprintf(newname, "%s%s", dirname, basename);
      |                   ^~~~~~
scripts/kconfig/confdata.c:705:19: note: assuming directive output of 7 bytes
scripts/kconfig/confdata.c:705:2: note: ‘sprintf’ output 1 or more bytes (assuming 4104) into a destination of size 4097
  705 |  sprintf(newname, "%s%s", dirname, basename);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/kconfig/confdata.c:708:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  708 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
      |                    ^~~~~~~~~~~~~~~~~
scripts/kconfig/confdata.c:708:3: note: ‘sprintf’ output between 13 and 4119 bytes into a destination of size 4097
  708 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ralink/mt7615_ap/../mt7615/embedded/ap/ap_cfg.c: In function 'RTMPAPSetInformation':
drivers/net/wireless/ralink/mt7615_ap/../mt7615/embedded/ap/ap_cfg.c:4613:3: warning: 'cfg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   os_alloc_mem(cfg, (UCHAR **)&cfg, wrq->u.data.length);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ralink/mt7615_ap/../mt7615/embedded/ap/ap_cfg.c:4641:3: warning: 'cfg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   os_alloc_mem(cfg, (UCHAR **)&cfg, wrq->u.data.length);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ralink/mt7615_ap/../mt7615/embedded/ap/ap_cfg.c:4667:3: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
   os_alloc_mem(val, (UCHAR **)&val, wrq->u.data.length);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ralink/mt7615_ap/../mt7615/embedded/ap/ap_cfg.c:4690:3: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
   os_alloc_mem(val, (UCHAR **)&val, wrq->u.data.length);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ralink/mt7615_ap/../mt7615/embedded/ap/ap_cfg.c:4715:3: warning: 'cfg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   os_alloc_mem(cfg, (UCHAR **)&cfg, wrq->u.data.length);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ralink/mt7615_ap/../mt7615/embedded/ap/ap_cfg.c:4743:3: warning: 'cfg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   os_alloc_mem(cfg, (UCHAR **)&cfg, wrq->u.data.length);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ralink/mt7615_ap/../mt7615/embedded/ap/ap_cfg.c:4771:3: warning: 'cfg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   os_alloc_mem(cfg, (UCHAR **)&cfg, wrq->u.data.length);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ralink/mt7615_ap/../mt7615/embedded/ap/ap_cfg.c:4799:3: warning: 'cfg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   os_alloc_mem(cfg, (UCHAR **)&cfg, wrq->u.data.length);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ralink/mt7615_ap/../mt7615/embedded/ap/ap_cfg.c:4991:3: warning: 'Buf' may be used uninitialized in this function [-Wmaybe-uninitialized]
   os_alloc_mem(Buf, (UCHAR **)&Buf, wrq->u.data.length);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ralink/mt7615_ap/../mt7615/txpwr/single_sku.c: In function 'SKUTxPwrOffsetGet':
drivers/net/wireless/ralink/mt7615_ap/../mt7615/txpwr/single_sku.c:1839:85: warning: array subscript is below array bounds [-Warray-bounds]
  cPowerOffset = (fgSE) ? (pAd->CommonCfg.cTxPowerCompBackup[ucBandIdx][ucRateOffset][ucNSS - 1]) : (pAd->CommonCfg.cTxPowerCompBackup[ucBandIdx][ucRateOffset][3]);
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
net/netfilter/nf_conntrack_rtsp.c: In function 'help':
net/netfilter/nf_conntrack_rtsp.c:474:2: warning: enumeration value 'IP_CT_DIR_MAX' not handled in switch [-Wswitch]
  switch (CTINFO2DIR(ctinfo)) {
  ^~~~~~
./ldso/include/dl-syscall.h: In function '_dl_pread':
./ldso/include/dl-syscall.h:169:69: warning: right shift count >= width of type [-Wshift-count-overflow]
  return __syscall_pread(fd, buf, count, 0, __LONG_LONG_PAIR((offset >> 32), (offset & 0xffffffff)));
                                                                     ^
./include/endian.h:52:39: note: in definition of macro '__LONG_LONG_PAIR'
 # define __LONG_LONG_PAIR(HI, LO) LO, HI
                                       ^~
In file included from ldso/ldso/ldso.c:45:0:
ldso/ldso/mips/elfinterp.c: In function '_dl_parse_relocation_information':
ldso/ldso/mips/elfinterp.c:234:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
        if (!tls_tpnt)
        ^~
ldso/ldso/mips/elfinterp.c:237:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     switch (reloc_type) {
     ^~~~~~
In file included from ldso/ldso/ldso.c:86:0:
ldso/ldso/dl-startup.c: In function '_dl_start':
ldso/ldso/dl-startup.c:313:13: warning: variable 'strtab' set but not used [-Wunused-but-set-variable]
       char *strtab;
             ^~~~~~
In file included from libc/misc/fnmatch/fnmatch.c:235:0:
libc/misc/fnmatch/fnmatch_loop.c: In function 'internal_fnmatch':
libc/misc/fnmatch/fnmatch_loop.c:207:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
      CHAR *p_init = p;
                     ^
libc/misc/fnmatch/fnmatch_loop.c:208:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
      CHAR *n_init = n;
                     ^
libc/stdio/_fpmaxtostr.c:153:2: warning: floating constant exceeds range of 'long double' [-Woverflow]
  0x1.0p1024L,
  ^~~~~~~~~~~
libc/string/generic/strlen.c: In function 'strlen':
libc/string/generic/strlen.c:62:34: warning: result of '2130640638 << 16' requires 48 bits to represent, but 'long int' only has 32 bits [-Wshift-overflow=]
       magic_bits = ((0x7efefefeL << 16) << 16) | 0xfefefeffL;
                                  ^~
libc/string/generic/strlen.c:62:41: warning: result of '-16908288 << 16' requires 42 bits to represent, but 'long int' only has 32 bits [-Wshift-overflow=]
       magic_bits = ((0x7efefefeL << 16) << 16) | 0xfefefeffL;
                                         ^~
libc/string/generic/strlen.c:31:31: warning: variable 'magic_bits' set but not used [-Wunused-but-set-variable]
   unsigned long int longword, magic_bits, himagic, lomagic;
                               ^~~~~~~~~~
libc/string/generic/strchrnul.c: In function 'strchrnul':
libc/string/generic/strchrnul.c:65:40: warning: result of '2130640638 << 16' requires 48 bits to represent, but 'long int' only has 32 bits [-Wshift-overflow=]
     case 8: magic_bits = ((0x7efefefeL << 16) << 16) | 0xfefefeffL; break;
                                        ^~
libc/string/generic/strchrnul.c:65:47: warning: result of '-16908288 << 16' requires 42 bits to represent, but 'long int' only has 32 bits [-Wshift-overflow=]
     case 8: magic_bits = ((0x7efefefeL << 16) << 16) | 0xfefefeffL; break;
                                               ^~
libc/string/generic/strchr.c: In function 'strchr':
libc/string/generic/strchr.c:66:40: warning: result of '2130640638 << 16' requires 48 bits to represent, but 'long int' only has 32 bits [-Wshift-overflow=]
     case 8: magic_bits = ((0x7efefefeL << 16) << 16) | 0xfefefeffL; break;
                                        ^~
libc/string/generic/strchr.c:66:47: warning: result of '-16908288 << 16' requires 42 bits to represent, but 'long int' only has 32 bits [-Wshift-overflow=]
     case 8: magic_bits = ((0x7efefefeL << 16) << 16) | 0xfefefeffL; break;
                                               ^~
./ldso/include/dl-syscall.h: In function '_dl_pread':
./ldso/include/dl-syscall.h:169:69: warning: right shift count >= width of type [-Wshift-count-overflow]
  return __syscall_pread(fd, buf, count, 0, __LONG_LONG_PAIR((offset >> 32), (offset & 0xffffffff)));
                                                                     ^
./include/endian.h:52:39: note: in definition of macro '__LONG_LONG_PAIR'
 # define __LONG_LONG_PAIR(HI, LO) LO, HI
                                       ^~
  CC libc/misc/internals/__uClibc_main.oS
  CC libc/misc/pthread/tsd.os
  CC libc/stdlib/system.oS
  CC ldso/libdl/libdl.oS
In file included from ./include/bits/waitstatus.h:72:0,
                 from ./include/stdlib.h:44,
                 from ./ldso/include/ldso.h:33,
                 from ldso/libdl/libdl.c:40:
./ldso/include/dl-syscall.h: In function '_dl_pread':
./ldso/include/dl-syscall.h:169:69: warning: right shift count >= width of type [-Wshift-count-overflow]
  return __syscall_pread(fd, buf, count, 0, __LONG_LONG_PAIR((offset >> 32), (offset & 0xffffffff)));
                                                                     ^
./include/endian.h:52:39: note: in definition of macro '__LONG_LONG_PAIR'
 # define __LONG_LONG_PAIR(HI, LO) LO, HI
                                       ^~
libpthread/nptl/init.c: In function '__pthread_initialize_minimal_internal':
libpthread/nptl/init.c:187:7: warning: unused variable 'res' [-Wunused-variable]
   int res = INTERNAL_SYSCALL (set_robust_list, err, 2, &pd->robust_head,
       ^~~
libpthread/nptl/allocatestack.c: In function 'allocate_stack':
libpthread/nptl/allocatestack.c:602:6: warning: label 'mprot_error' defined but not used [-Wunused-label]
      mprot_error:
      ^~~~~~~~~~~
libpthread/nptl/allocatestack.c: In function 'setxid_signal_thread':
libpthread/nptl/allocatestack.c:939:7: warning: variable 'val' set but not used [-Wunused-but-set-variable]
   int val;
       ^~~
./ldso/include/dl-syscall.h: In function '_dl_pread':
./ldso/include/dl-syscall.h:169:69: warning: right shift count >= width of type [-Wshift-count-overflow]
  return __syscall_pread(fd, buf, count, 0, __LONG_LONG_PAIR((offset >> 32), (offset & 0xffffffff)));
                                                                     ^
./include/endian.h:52:39: note: in definition of macro '__LONG_LONG_PAIR'
 # define __LONG_LONG_PAIR(HI, LO) LO, HI
                                       ^~
  CC libc/stdlib/atexit.os
  CC libc/stdlib/system.os
  CC ldso/libdl/libdl.os
In file included from ./include/bits/waitstatus.h:72:0,
                 from ./include/stdlib.h:44,
                 from ./ldso/include/ldso.h:33,
                 from ldso/libdl/libdl.c:40:
./ldso/include/dl-syscall.h: In function '_dl_pread':
./ldso/include/dl-syscall.h:169:69: warning: right shift count >= width of type [-Wshift-count-overflow]
  return __syscall_pread(fd, buf, count, 0, __LONG_LONG_PAIR((offset >> 32), (offset & 0xffffffff)));
                                                                     ^
./include/endian.h:52:39: note: in definition of macro '__LONG_LONG_PAIR'
 # define __LONG_LONG_PAIR(HI, LO) LO, HI
                                       ^~
In file included from ldso/libdl/libdl.c:126:0:
./ldso/ldso/mips/elfinterp.c: In function '_dl_parse_relocation_information':
./ldso/ldso/mips/elfinterp.c:234:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
        if (!tls_tpnt)
        ^~
./ldso/ldso/mips/elfinterp.c:237:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     switch (reloc_type) {
     ^~~~~~
libpthread/nptl/init.c: In function '__pthread_initialize_minimal_internal':
libpthread/nptl/init.c:187:7: warning: unused variable 'res' [-Wunused-variable]
   int res = INTERNAL_SYSCALL (set_robust_list, err, 2, &pd->robust_head,
       ^~~

请教如何整合两位作者的dns插件?

您好, 想整合hanwckf /ss <提供Google nest需要的DNS走代理>和chongshengB/smartdns <加速正常DNS>,请问需要依次参考源码对照改哪几个文件,希望可以提供个思路,不胜感激。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.