找回密码
 立即注册

QQ登录

只需一步,快速开始

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

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

   火... [复制链接]
发表于 2019-2-9 15:46 | 显示全部楼层
怎么开启v2瑞

点评

搭建web环境里面的v2ray开关打开,把客户端配置拷贝到最下面的配置里面就可以了  详情 回复 发表于 2019-2-15 16:43
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-9 15:51 | 显示全部楼层
老大,试了下openvirtual**只能udp连接,tcp就被拒绝是什么情况。要怎么搞?

点评

……发现是不支持ipv6,因为用的是tcp both,用单ipv4就可以了  详情 回复 发表于 2019-2-9 20:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-9 20:39 | 显示全部楼层
千万千万 发表于 2019-2-9 15:51
老大,试了下openvirtual**只能udp连接,tcp就被拒绝是什么情况。要怎么搞?

……发现是不支持ipv6,因为用的是tcp both,用单ipv4就可以了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-9 23:38 | 显示全部楼层
刷了最新的固件,启动verysync,但无法使用。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-10 02:00 | 显示全部楼层
本帖最后由 量子跃迁 于 2019-2-11 01:51 编辑

K2的LED一直是红的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-10 22:46 | 显示全部楼层
#!/bin/sh
#脚本功能,踢出信号较好的2.4g设备使之连接到5g,如果踢出后没有连到5g,则加入踢出白名单
curl 127.0.0.1/Main_WStatus2g_Content.asp | grep 'M  \-[0-9][0-9]' > /tmp/2gmaclistt
#不确定5g支持设备踢出阈值40,支持5g踢出设备踢出阈值48
awk '$9>-40 {print $1}' /tmp/2gmaclistt > /tmp/2gmaclistmin
awk '$9>-48 {print $1}' /tmp/2gmaclistt > /tmp/2gmaclist
touch /etc/storage/mac2g.txt
touch /etc/storage/mac5g.txt

awk 'NR==FNR{a[$0]++} NR>FNR&&a[$0]' /etc/storage/mac2g.txt /tmp/2gmaclist > /tmp/2gmacsame.txt
if [ -s /tmp/2gmacsame.txt ] ; then
        awk 'NR==FNR{a[$0]++} NR>FNR&&!a[$0]' /tmp/2gmacsame.txt /tmp/2gmaclist > /tmp/2gmacuniq.txt
else
        cat /tmp/2gmaclist > /tmp/2gmacuniq.txt
fi

awk 'NR==FNR{a[$0]++} NR>FNR&&a[$0]' /etc/storage/mac5g.txt /tmp/2gmacuniq.txt > /tmp/25gmackill.txt

if [ -s /tmp/25gmackill.txt ] ; then
    awk 'NR==FNR{a[$0]++} NR>FNR&&!a[$0]' /tmp/25gmackill.txt /tmp/2gmacuniq.txt > /tmp/2gmactest.txt
else
        cat /tmp/2gmacuniq.txt > /tmp/2gmactest.txt
fi
awk 'NR==FNR{a[$0]++} NR>FNR&&a[$0]' /tmp/2gmactest.txt /tmp/2gmaclistmin > /tmp/2gmackill.txt
while read line
do
echo $line
iwpriv ra0 set DisConnectSta=$line
iwpriv ra0 set DisConnectSta=$line
logger -t "【test2g】" "$line被踢掉"
done < /tmp/2gmackill.txt
while read line
do
echo $line
iwpriv ra0 set DisConnectSta=$line
logger -t "【剔除25g】" "$line被踢掉"
done < /tmp/25gmackill.txt

curl 127.0.0.1/Main_WStatus_Content.asp | grep 'M  \-[0-9][0-9]' > /tmp/5gmaclistt
awk '{print $1}' /tmp/5gmaclistt > /tmp/5gmaclist

awk 'NR==FNR{a[$0]++} NR>FNR&&a[$0]' /etc/storage/mac5g.txt /tmp/5gmaclist > /tmp/5gmacsame.txt
if [ -s /tmp/5gmacsame.txt ] ; then
    awk 'NR==FNR{a[$0]++} NR>FNR&&!a[$0]' /tmp/5gmacsame.txt /tmp/5gmaclist > /tmp/5gmacuniq.txt
else
        cat /tmp/5gmaclist > /tmp/5gmacuniq.txt
fi

cat /tmp/5gmacuniq.txt >> /etc/storage/mac5g.txt
awk 'NR==FNR{a[$0]++} NR>FNR&&a[$0]' /tmp/5gmacuniq.txt /tmp/2gmackill.txt > /tmp/25gmac.txt
if [ -s /tmp/25gmac.txt ] ; then
    awk 'NR==FNR{a[$0]++} NR>FNR&&!a[$0]' /tmp/25gmac.txt /tmp/2gmackill.txt >> /etc/storage/mac2g.txt
else
        cat /tmp/2gmackill.txt >> /etc/storage/mac2g.txt
fi
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-11 14:23 | 显示全部楼层
我这个米3 的刷完有的手机WiFi经常断开,有的手机又不会,网线别的倒是还好,这个能怎么解决吗

点评

这个是wifi兼容的锅 https://screenshots.firefox.com/wVizOMMZNt8RJWyc/192.168.123.1  详情 回复 发表于 2019-2-13 15:16
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-11 16:31 | 显示全部楼层
#!/bin/sh
#copyright by hiboy modify by rufengsuixing
#只检测脚本更新打印在控制台不更新
source /etc/storage/script/init.sh
#nvramshow=`nvram showall | grep '=' | grep script | awk '{print gensub(/'"'"'/,"'"'"'\"'"'"'\"'"'"'","g",$0);}'| awk '{print gensub(/=/,"='\''",1,$0)"'\'';";}'` && eval $nvramshow
upscript_enable=`nvram get upscript_enable`
scriptt=`nvram get scriptt`
scripto=`nvram get scripto`
[ "$ACTION" = "upscript" ] && upscript_enable=1

file_o_check () {
#获取script的sh*文件MD5
eval $(md5sum `/usr/bin/find /etc/storage/script/ -perm '-u+x' -name '*.sh' | sort -r` | awk '{print $2"_o="$1;}' | awk -F '/' '{print $NF;}' | sed 's/\.sh//g')
}

file_t_check () {
#获取最新script的sh*文件MD5
rm -f /tmp/scriptsh.txt
wgetcurl.sh "/tmp/scriptsh.txt" "$hiboyscript/scriptsh.txt" "$hiboyscript2/scriptsh.txt"
if [ -s /tmp/scriptsh.txt ] ; then
        source /tmp/scriptsh.txt
        nvram set scriptt="$scriptt"
        nvram set scripto="2019-1-21"
        scriptt=`nvram get scriptt`
        scripto=`nvram get scripto`
fi
}

file_check () {
mkdir -p /tmp/script
while read line
do
c_line=`echo $line |grep -v "#" |grep -v 'scriptt='`
file_name=${line%%=*}
if [ ! -z "$c_line" ] && [ ! -z "$file_name" ] ; then
        MD5_TMP=`eval echo '$'${file_name}`
        MD5_ORI=`eval echo '$'$file_name"_o"`
        if [ ! -s /etc/storage/script/$file_name.sh ] || [ "$MD5_TMP"x != "$MD5_ORI"x ] ; then
                logger -t "【script】" "/etc/storage/script/$file_name.sh 脚本需要更新!$hiboyscript/script/$file_name.sh"
        fi
fi
done < /tmp/scriptsh.txt
}

start_upscript_daydayup () {

logger -t "【script】" "脚本检查更新"
file_t_check
if [ -s /tmp/scriptsh.txt ] ; then
        if  [ "$scriptt"x != "$scripto"x ] ; then
                logger -t "【script】" "脚本需要更新, 自动下载更新"
                nvram set scripto="$scriptt"
                file_o_check
                cd /etc/storage/script/
                rm -f ./.upscript_daydayup
                mkdir -p /tmp/script
                while read line
                do
                c_line=`echo $line |grep -v "#" |grep -v 'scriptt='`
                file_name=${line%%=*}
                if [ ! -z "$c_line" ] && [ ! -z "$file_name" ] ; then
                        echo "$hiboyscript/script/$file_name.sh" >> ./.upscript_daydayup
                        echo "\|$hiboyscript2/script/$file_name.sh" >> ./.upscript_daydayup
                fi
                done < /tmp/scriptsh.txt
                daydayup ./.upscript_daydayup >> /tmp/syslog.log &
        fi
else
        [ "$upscript_enable" != "1" ] && return
        logger -t "【script】" "脚本检查更新失败"
fi
}

start_upscript () {
logger -t "【script】" "脚本检查更新"
file_t_check
if [ -s /tmp/scriptsh.txt ] ; then
        if [ "$scriptt"x != "$scripto"x ] ; then
                logger -t "【script】" "脚本需要更新, 自动下载更新"
                nvram set scripto="$scriptt"
                file_o_check
                file_check
                logger -t "【script】" "脚本更新完成"
        fi
else
        [ "$upscript_enable" != "1" ] && return
        logger -t "【script】" "脚本检查更新失败"
fi
}

check_opt () {
[ ! -d /opt/etc/init.d ] && return
[ ! -f /tmp/scriptsh.txt ] && file_t_check
for initopt in `ls -p /opt/etc/init.d`
do
if [ ! -z `grep "$(echo $initopt | sed 's/\.sh//g')" /tmp/scriptsh.txt)` ] ; then
        cp -f /etc/storage/script/$initopt /opt/etc/init.d/$initopt
fi

done

}

case $ACTION in
check_opt)
        check_opt
        ;;
start)
        #hash daydayup 2>/dev/null && start_upscript_daydayup
        #hash daydayup 2>/dev/null || start_upscript
        start_upscript
        check_opt
        ;;
*)
        #hash daydayup 2>/dev/null && start_upscript_daydayup
        #hash daydayup 2>/dev/null || start_upscript
        start_upscript
        check_opt
        ;;
esac
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-11 17:05 | 显示全部楼层
本帖最后由 rufengsuixing 于 2019-2-13 14:55 编辑

smartdns安装方法(软件未开源)
下载 https://github.com/pymumu/smartd ... 6-0014.mipselsf.ipk
/opt/etc/opkg.conf 加入行 arch mipselsf 170
opkg install smartdns.1.2019.01.26-0014.mipselsf.ipk
修改/opt/etc/smartdns/smartdns.conf 进行配置,如果替代dnsmasq的ipset和host,需要修改ss脚本
替换Sh19_china-dns.sh这行eval "$china-dns_path -p $china-dns_port -s $china-dns_dnss -l /opt/app/china-dns/china-dns_iplist.txt -c /etc/storage/china_ip_list.txt $usage $cmd_log" &
为/opt/usr/sbin/smartdns -c /opt/etc/smartdns/smartdns.conf
使用china-dns页面进行设置端口和配置文件一样
结束
附送脚本
#!/bin/sh
#smartdns host广告过滤配置文件更新,需要conf-file /opt/etc/smartdns/adblock.conf
#屏蔽的域名会返回soa而不是127.0.0.1,不会让浏览器试图连接
wgetcurl.sh /tmp/adblock1.conf https://raw.githubusercontent.com/vokins/yhosts/master/hosts
grep -E "^(127|0)" /tmp/adblock1.conf | awk '{print "address /"$2"/#"}' > /tmp/adblock.conf
rm /opt/etc/smartdns/adblock.conf
mv /tmp/adblock.conf /opt/etc/smartdns/adblock.conf
/etc/storage/script/Sh19_china-dns.sh start
rm /tmp/adblock1.conf

点评

下载好ipk文件放哪  详情 回复 发表于 2019-2-24 18:58
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-11 17:30 | 显示全部楼层
牛啊,我的哥
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-11 20:16 来自手机 | 显示全部楼层
谢谢楼主的分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-12 10:00 | 显示全部楼层
感谢楼主一直的更新!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-12 12:28 | 显示全部楼层
希望大佬能修下矿渣3上的小毛病
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-12 12:40 | 显示全部楼层
你好,我的路由器是小米3g,固件刷的最新版本,今天在路由器里搭建了个网站,选的只可以内网访问,但是我测试了下通过外网也是可以访问的。还有个问题,就是通过路由器拨号获取的ip的80端口也能访问路由器管理页面,问题是我并没有开启允许外网访问的那个开关,请问该如何解决,谢谢。

点评

请问,小米3G路由器用哪个固件?  详情 回复 发表于 2019-2-16 16:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-2-12 15:47 | 显示全部楼层
本帖最后由 sam1021 于 2019-2-12 15:56 编辑

各位大神這是什麼原因 新年過後回家 上不了網




Feb 12 15:42:17 【SS】:  SS 服务器 67.***** 【1090】 检测到问题, 1
Feb 12 15:42:17 dnsmasq[27682]: exiting on receipt of SIGTERM
Feb 12 15:42:17 dnsmasq[28945]: started, version 2.80 cachesize 1024
Feb 12 15:42:17 dnsmasq[28945]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify no-dumpfile
Feb 12 15:42:17 dnsmasq[28945]: warning: ignoring resolv-file flag because no-resolv is set
Feb 12 15:42:17 dnsmasq-dhcp[28945]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Feb 12 15:42:17 dnsmasq-dhcp[28945]: DHCP, sockets bound exclusively to interface br0
Feb 12 15:42:17 dnsmasq[28945]: using 5044 more nameservers
Feb 12 15:42:17 dnsmasq[28945]: read /etc/hosts - 4 addresses
Feb 12 15:42:17 dnsmasq[28945]: read /etc/storage/dnsmasq/hosts - 0 addresses
Feb 12 15:42:17 dnsmasq-dhcp[28945]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Feb 12 15:42:17 dnsmasq[28945]: using 5045 more nameservers
Feb 12 15:43:58 【SS】:  SS 服务器 67.***** 【1090】 检测到问题, 2
Feb 12 15:43:58 dnsmasq[28945]: exiting on receipt of SIGTERM
Feb 12 15:43:58 dnsmasq[29215]: started, version 2.80 cachesize 1024
Feb 12 15:43:58 dnsmasq[29215]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify no-dumpfile
Feb 12 15:43:58 dnsmasq[29215]: warning: ignoring resolv-file flag because no-resolv is set
Feb 12 15:43:58 dnsmasq-dhcp[29215]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Feb 12 15:43:58 dnsmasq-dhcp[29215]: DHCP, sockets bound exclusively to interface br0
Feb 12 15:43:58 dnsmasq[29215]: using 5044 more nameservers
Feb 12 15:43:58 dnsmasq[29215]: read /etc/hosts - 4 addresses
Feb 12 15:43:58 dnsmasq[29215]: read /etc/storage/dnsmasq/hosts - 0 addresses
Feb 12 15:43:58 dnsmasq-dhcp[29215]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Feb 12 15:43:58 dnsmasq[29215]: using 5045 more nameservers
Feb 12 15:45:39 【SS】:  SS 服务器 67.*****【1090】 检测到问题, 3
Feb 12 15:45:39 dnsmasq[29215]: exiting on receipt of SIGTERM
Feb 12 15:45:39 dnsmasq[29514]: started, version 2.80 cachesize 1024
Feb 12 15:45:39 dnsmasq[29514]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify no-dumpfile
Feb 12 15:45:39 dnsmasq[29514]: warning: ignoring resolv-file flag because no-resolv is set
Feb 12 15:45:39 dnsmasq-dhcp[29514]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Feb 12 15:45:39 dnsmasq-dhcp[29514]: DHCP, sockets bound exclusively to interface br0
Feb 12 15:45:39 dnsmasq[29514]: using 5044 more nameservers
Feb 12 15:45:39 dnsmasq[29514]: read /etc/hosts - 4 addresses
Feb 12 15:45:39 dnsmasq[29514]: read /etc/storage/dnsmasq/hosts - 0 addresses
Feb 12 15:45:39 dnsmasq-dhcp[29514]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Feb 12 15:45:39 dnsmasq[29514]: using 5045 more nameservers
Feb 12 15:47:20 【SS】:  SS 服务器 67.***** 【1090】 检测到问题, 4
Feb 12 15:47:20 dnsmasq[29514]: exiting on receipt of SIGTERM
Feb 12 15:47:20 dnsmasq[29783]: started, version 2.80 cachesize 1024
Feb 12 15:47:20 dnsmasq[29783]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify no-dumpfile
Feb 12 15:47:20 dnsmasq[29783]: warning: ignoring resolv-file flag because no-resolv is set
Feb 12 15:47:20 dnsmasq-dhcp[29783]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Feb 12 15:47:20 dnsmasq-dhcp[29783]: DHCP, sockets bound exclusively to interface br0
Feb 12 15:47:20 dnsmasq[29783]: using 5044 more nameservers
Feb 12 15:47:20 dnsmasq[29783]: read /etc/hosts - 4 addresses
Feb 12 15:47:20 dnsmasq[29783]: read /etc/storage/dnsmasq/hosts - 0 addresses
Feb 12 15:47:20 dnsmasq-dhcp[29783]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Feb 12 15:47:20 dnsmasq[29783]: using 5045 more nameservers
Feb 12 15:49:01 【SS】:  SS 服务器 67.***** 【1090】 检测到问题, 5
Feb 12 15:49:01 dnsmasq[29783]: exiting on receipt of SIGTERM
Feb 12 15:49:01 dnsmasq[30063]: started, version 2.80 cachesize 1024
Feb 12 15:49:01 dnsmasq[30063]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify no-dumpfile
Feb 12 15:49:01 dnsmasq[30063]: warning: ignoring resolv-file flag because no-resolv is set
Feb 12 15:49:01 dnsmasq-dhcp[30063]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
Feb 12 15:49:01 dnsmasq-dhcp[30063]: DHCP, sockets bound exclusively to interface br0
Feb 12 15:49:01 dnsmasq[30063]: using 5044 more nameservers
Feb 12 15:49:01 dnsmasq[30063]: read /etc/hosts - 4 addresses
Feb 12 15:49:01 dnsmasq[30063]: read /etc/storage/dnsmasq/hosts - 0 addresses
Feb 12 15:49:01 dnsmasq-dhcp[30063]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Feb 12 15:49:01 dnsmasq[30063]: using 5045 more nameservers

本帖子中包含更多资源

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

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-20 10:55

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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