设为首页收藏本站

恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
小博无线
楼主: hiboyhiboyhiboy

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

    [复制链接]
 楼主| 发表于 2015-12-7 16:51 | 显示全部楼层
liou8272 发表于 2015-12-7 14:27
Dec  7 13:52:59 syslogd started: BusyBox v1.23.2
Dec  7 13:52:59 RT-N14U: firmware version: 3.4.3.9 ...

我没看到你怎么设置自动切换脚本的,不清楚是不是你配置填错了

而且我没看到自动切换脚本启动时切换搜寻信号信息。估计是配置有误

点评

#!/bin/sh ### Custom user script ### Called on Internet status changed ### $1 - Internet status (0/1) ### $2 - elapsed time (s) from previous state #copyright by hiboy logger -t "di" "互联网状  详情 回复 发表于 2015-12-7 17:21
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2015-12-7 16:52 | 显示全部楼层
r03r03 发表于 2015-12-7 10:12
Dec  7 10:07:44 sh_download: 重新下载:/tmp/videos-32.png
Dec  7 10:07:54 sh_download: 下载不正常: ...

我这边内存安装模式正常

私信发我你购买的SS账号我测试下

点评

SS是没问题的,我用客户端在电脑上面单独使用,可以流畅使用的。就是路由器里面不行。 还有个问题:可以直接刷以前的版本吗?  详情 回复 发表于 2015-12-7 18:24
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-12-7 17:21 | 显示全部楼层
hiboyhiboyhiboy 发表于 2015-12-7 16:51
我没看到你怎么设置自动切换脚本的,不清楚是不是你配置填错了

而且我没看到自动切换脚本启动时切换搜 ...

#!/bin/sh

### Custom user script
### Called on Internet status changed
### $1 - Internet status (0/1)
### $2 - elapsed time (s) from previous state
#copyright by hiboy
logger -t "di" "互联网状态:$1, 经过时间: $2s."

# 【自动切换中继信号】功能 0关闭;填写配置参数启动
ap2g5g="2@4@1@TP-LINK_9@******** 2@4@1@TP-LINK_961F@******** 2@4@1@TP-LINK_BE@****** 2@3@1@TP-LINK_6649@********"
# 0 断线后自动搜寻,大于0则每隔N秒搜寻,直到连上最优先信号。
aptime="40"

# 中继AP配置填写说明:
# 各参数用【@】分割开,如果有多个信号可中继用【 】空格隔开继续填写即可(从左边的参数开始搜寻)
# 单个信号例子:ap2g5g="2@4@1@ASUS@1234567890"
# 多个信号例子:ap2g5g="2@4@1@ASUS@1234567890 2@4@1@ASUS_中文@1234567890@34:bd:f9:1f:d2:b1 2@4@1@ASUS3@1234567890@34:bd:f9:1f:d2:b0"
# 参数说明:
# ①2.4Ghz或5Ghz:"2"=【2.4Ghz】"5"=【5Ghz】
# ②无线AP工作模式:"0"=【AP(桥接被禁用)】"1"=【WDS桥接(AP被禁用)】"2"=【WDS中继(网桥 + AP)】"3"=【AP-Client(AP被禁用)】"4"=【AP-Client + AP】
# ③无线AP-Client角色: "0"=【LAN bridge】"1"=【WAN (Wireless ISP)】
# ④中继AP 的 SSID:"ASUS"
# ⑤中继AP 密码:"1234567890"
# ⑥中继AP 的 MAC地址:"20:76:90:20:B0:F0"【可以不填,不限大小写,但有中文的SSID一定要填写】

aptimes=$1
if [ $((aptimes)) -gt "9" ];then
logger -t "连接AP" "$1秒后,自动搜寻ap"
sleep $1
fi
if [ ! -f /tmp/apc.lock ] && [ "$1" != "1" ] && [ "$ap2g5g" != "0" ] ; then
touch /tmp/apc.lock
ap=`iwconfig | grep 'apcli0' | grep 'ESSID:""' | wc -l`
if [ "$ap" = "1" ] ; then
ap=`iwconfig | grep 'apclii0' | grep 'ESSID:""' | wc -l`
fi
while [ "$ap" = "1" ] || [ "$2" = "t" ] && [ -f /tmp/apc.lock ]
do
for apc in $ap2g5g
do
radio=$(echo $apc | cut -d '@' -f1)

# ApCli 2.4Ghz
if [ "$radio" = "2" ] ; then
rtwlt_mode_x=`nvram get rt_mode_x`
else
rtwlt_mode_x=`nvram get wl_mode_x`
fi
# [ "$rtwlt_mode_x" = "3" ] || [ "$rtwlt_mode_x" = "4" ] &&
if [ -f /tmp/apc.lock ] ; then
rtwlt_mode_x=$(echo $apc | cut -d '@' -f2)
rtwlt_sta_wisp=$(echo $apc | cut -d '@' -f3)
rtwlt_sta_ssid=$(echo $apc | cut -d '@' -f4)
rtwlt_sta_wpa_psk=$(echo $apc | cut -d '@' -f5)
rtwlt_sta_bssid=$(echo $apc | cut -d '@' -f6 | tr 'A-Z' 'a-z')
if [ "$radio" = "2" ] ; then
ap=`iwconfig | grep 'apcli0' | grep ESSID:"$rtwlt_sta_ssid" | wc -l`
if [ "$ap" = "0" ]; then
ap=`iwconfig |sed -n '/apcli0/,/Rate/{/apcli0/n;/Rate/b;p}' | grep $rtwlt_sta_bssid | tr 'A-Z' 'a-z' | wc -l`
fi
else
ap=`iwconfig | grep 'apclii0' | grep ESSID:"$rtwlt_sta_ssid" | wc -l`
if [ "$ap" = "0" ]; then
ap=`iwconfig |sed -n '/apclii0/,/Rate/{/apclii0/n;/Rate/b;p}' | grep $rtwlt_sta_bssid | tr 'A-Z' 'a-z' | wc -l`
fi
fi
if [ "$ap" = "1" ]; then
logger -t "连接AP" "当前是$rtwlt_sta_ssid,停止搜寻"
rm -f /tmp/apc.lock
if [ $((aptimes)) -ge "9" ];then
/etc/storage/inet_state_script.sh $aptime "t" &
sleep 2
logger -t "连接AP" "直到连上最优先信号$(echo $ap2g5g | cut -d ' ' -f1 | cut -d '@' -f4)"
fi
exit
else
logger -t "连接AP" "自动搜寻$rtwlt_sta_ssid"
fi
iwpriv ra0 set SiteSurvey=1
sleep 2
if [ ! -z "$rtwlt_sta_bssid" ] ; then
logger -t "连接AP" "自动搜寻$rtwlt_sta_ssidrtwlt_sta_bssid"
site_survey=$(iwpriv ra0 get_site_survey | grep "$rtwlt_sta_bssid" | tr 'A-Z' 'a-z')
else
site_survey=$(iwpriv ra0 get_site_survey | grep " $rtwlt_sta_ssid " | tr 'A-Z' 'a-z')
fi
if [ -z "$site_survey" ] ; then
logger -t "连接AP" "没找到$rtwlt_sta_ssid ,如果含中文请填写正确的MAC地址"
fi
if [ ! -z "$site_survey" ] ; then
Ch=$(echo $site_survey | awk '{print $1}')
SSID=$(echo $site_survey | awk '{print $2}')
BSSID=$(echo $site_survey | awk '{print $3}')
Security=$(echo $site_survey | awk '{print $4}')
Siganl=$(echo $site_survey | awk '{print $5}')
WMode=$(echo $site_survey | awk '{print $6}')
if [ "$radio" = "2" ] ; then
nvram set rt_channel=$Ch
iwpriv apcli0 set Channel=$Ch
else
nvram set wl_channel=$Ch
iwpriv apclii0 set Channel=$Ch
fi
if [[ $(expr $Security : ".*none*") -gt "1" ]] ; then
rtwlt_sta_auth_mode="open"
rtwlt_sta_wpa_mode="0"
fi
if [[ $(expr $Security : ".*1psk*") -gt "1" ]] ; then
rtwlt_sta_auth_mode="psk"
rtwlt_sta_wpa_mode="1"
fi
if [[ $(expr $Security : ".*2psk*") -gt "1" ]] ; then
rtwlt_sta_auth_mode="psk"
rtwlt_sta_wpa_mode="2"
fi
if [[ $(expr $Security : ".*tkip*") -gt "1" ]] ; then
rtwlt_sta_crypto="tkip"
fi
if [[ $(expr $Security : ".*aes*") -gt "1" ]] ; then
rtwlt_sta_crypto="aes"
fi
if [ "$radio" = "2" ] ; then
nvram set rt_mode_x=$rtwlt_mode_x
nvram set rt_sta_wisp=$rtwlt_sta_wisp
nvram set rt_sta_ssid=$rtwlt_sta_ssid
nvram set rt_sta_auth_mode=$rtwlt_sta_auth_mode
nvram set rt_sta_wpa_mode=$rtwlt_sta_wpa_mode
nvram set rt_sta_crypto=$rtwlt_sta_crypto
nvram set rt_sta_wpa_psk=$rtwlt_sta_wpa_psk
else
nvram set wl_mode_x=$rtwlt_mode_x
nvram set wl_sta_wisp=$rtwlt_sta_wisp
nvram set wl_sta_ssid=$rtwlt_sta_ssid
nvram set wl_sta_auth_mode=$rtwlt_sta_auth_mode
nvram set wl_sta_wpa_mode=$rtwlt_sta_wpa_mode
nvram set wl_sta_crypto=$rtwlt_sta_crypto
nvram set wl_sta_wpa_psk=$rtwlt_sta_wpa_psk
fi
logger -t "连接AP" "$rtwlt_mode_x $rtwlt_sta_wisp $rtwlt_sta_ssid $rtwlt_sta_auth_mode $rtwlt_sta_wpa_mode $rtwlt_sta_crypto $rtwlt_sta_wpa_psk"
nvram commit
#restart_wan
#sleep 10
radio2_restart
sleep 4
if [ "$radio" = "2" ] ; then
#iwpriv apcli0 set ApCliEnable=0
iwpriv apcli0 set ApCliAutoConnect=1
else
#iwpriv apclii0 set ApCliEnable=0
iwpriv apclii0 set ApCliAutoConnect=1
fi
sleep 10
logger -t "连接AP" "【ChCh】【SSIDSSID】【BSSIDBSSID】"
logger -t "连接AP" "【SecuritySecurity】【Siganl(%)Siganl】【WModeWMode】"
if [ "$radio" = "2" ] ; then
ap=`iwconfig | grep 'apcli0' | grep 'ESSID:""' | wc -l`
else
ap=`iwconfig | grep 'apclii0' | grep 'ESSID:""' | wc -l`
fi
if [ "$ap" = "1" ] ; then
logger -t "连接AP" "$ap 无法连接$rtwlt_sta_ssid"
else
logger -t "连接AP" "$ap 已连接上$rtwlt_sta_ssid"
if [ "$rtwlt_sta_ssid" = $(echo $ap2g5g | cut -d ' ' -f1 | cut -d '@' -f4) ] ; then
logger -t "连接AP" "当前是$rtwlt_sta_ssid,停止搜寻"
rm -f /tmp/apc.lock
logger -t "连接AP" "当前连上最优先信号$rtwlt_sta_ssid"
exit
else
rm -f /tmp/apc.lock
if [ $((aptime)) -ge "9" ];then
/etc/storage/inet_state_script.sh $aptime "t" &
sleep 2
logger -t "连接AP" "直到连上最优先信号$(echo $ap2g5g | cut -d ' ' -f1 | cut -d '@' -f4)"
fi
exit
fi
fi
fi
sleep 10
fi
ap=`iwconfig | grep 'apcli0' | grep 'ESSID:""' | wc -l`
if [ "$ap" = "1" ] ; then
ap=`iwconfig | grep 'apclii0' | grep 'ESSID:""' | wc -l`
fi
done
sleep 60
done       
# ApCli 5Ghz
rm -f /tmp/apc.lock
fi
logger -t "连接AP" "脚本完成"
-------------------------------------------------------------------
楼主,这个是配置信息,路由器的密码在这个地方我用*代替了。
期待你的诊断!

点评

正常是自动连接AP的日子是下面这样的,你的没显示【连接AP: 自动搜寻TP-LINK_9】。 当显示日子显示【互联网状态:0】并且【没这个文件/tmp/apc.lock】的时候 才会运行AP搜寻 我这里自建了个TP-LINK_BE测试AP  详情 回复 发表于 2015-12-7 19:12
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-12-7 18:24 | 显示全部楼层
hiboyhiboyhiboy 发表于 2015-12-7 16:52
我这边内存安装模式正常

私信发我你购买的SS账号我测试下

SS是没问题的,我用客户端在电脑上面单独使用,可以流畅使用的。就是路由器里面不行。
还有个问题:可以直接刷以前的版本吗?
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-12-7 19:08 来自手机 | 显示全部楼层
感觉比华硕的快,发热量也少多了
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2015-12-7 19:12 | 显示全部楼层
本帖最后由 hiboyhiboyhiboy 于 2015-12-7 19:17 编辑
liou8272 发表于 2015-12-7 17:21
#!/bin/sh

### Custom user script

正常是自动连接AP的日子是下面这样的,你的没显示【连接AP: 自动搜寻TP-LINK_9】。

当显示日子显示【互联网状态:0】并且【没这个文件/tmp/apc.lock】的时候 才会运行AP搜寻


我这里自建了个TP-LINK_BE测试AP搜寻成功。

如果符合要求还是没运行,可以试试【ap2g5g='****'】这个参数的双引号换成单引号

Dec  7 19:00:07 kernel: !!! APCLI LINK DOWN - IF(apcli0)!!!
Dec  7 19:00:22 di: 互联网状态:0, 经过时间: 6s.
Dec  7 19:00:22 连接AP: 自动搜寻TP-LINK_9
Dec  7 19:00:27 连接AP: 没找到TP-LINK_9 ,如果含中文请填写正确的MAC地址
Dec  7 19:00:37 连接AP: 自动搜寻TP-LINK_961F
Dec  7 19:00:41 连接AP: 没找到TP-LINK_961F ,如果含中文请填写正确的MAC地址
Dec  7 19:00:51 连接AP: 自动搜寻TP-LINK_BE
Dec  7 19:00:53 连接AP: 自动搜寻TP-LINK_BE:3*:*:*:*:*:*
Dec  7 19:00:56 连接AP: 4 1 TP-LINK_BE open 0  1234567890

Dec  7 19:00:57 kernel: br0: port 2(ra0) entered disabled state
Dec  7 19:00:58 kernel: br0: port 2(ra0) entered listening state
Dec  7 19:00:59 DHCP WAN Client: deconfig (apcli0): lease is lost
Dec  7 19:00:59 RT-AC54U: WAN down (apcli0)
Dec  7 19:00:59 dnsmasq[25775]: read /etc/hosts - 3 addresses
Dec  7 19:00:59 dnsmasq[25775]: read /etc/storage/dnsmasq/hosts - 1 addresses
Dec  7 19:00:59 dnsmasq-dhcp[25775]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Dec  7 19:00:59 dnsmasq[25775]: illegal option at line 2 of /tmp/dnsmasq.servers
Dec  7 19:00:59 dnsmasq[25775]: illegal option at line 4 of /tmp/dnsmasq.servers
Dec  7 19:00:59 dnsmasq[25775]: using nameserver 8.8.8.8#53
Dec  7 19:00:59 运行后WAN上/下活动:: WAN动作:【down】,WAN接口名称:【apcli0】
Dec  7 19:00:59 RT-AC54U: Hardware NAT/Routing: Enabled, IPoE/PPPoE offload [WAN]<->[LAN/WLAN]
Dec  7 19:00:59 RT-AC54U: Hardware NAT/Routing: IPv4 UDP flow offload - ON
Dec  7 19:00:59 RT-AC54U: Hardware NAT/Routing: IPv6 routes offload - OFF
Dec  7 19:01:02 kernel: !!! APCLI LINK UP - IF(apcli0) AuthMode(0)=OPEN, WepStatus(1)=NONE !!!
Dec  7 19:01:03 QOS: 最大下载2560 KB/S,最大上传256 KB/S
Dec  7 19:01:03 QOS: QOS没有开启或闪存不足缺模块
Dec  7 19:01:03 防火墙规则: 脚本完成
Dec  7 19:01:03 crond[24556]: crond (busybox 1.23.2) started, log level 8
Dec  7 19:01:03 DHCP WAN Client: starting on apcli0 ...
Dec  7 19:01:03 DHCP WAN Client: bound (apcli0), IP: 192.168.3.79, GW: 192.168.3.1, lease time: 86400
Dec  7 19:01:03 RT-AC54U: WAN up (apcli0)
Dec  7 19:01:03 dnsmasq[25775]: read /etc/hosts - 3 addresses
Dec  7 19:01:03 dnsmasq[25775]: read /etc/storage/dnsmasq/hosts - 1 addresses
Dec  7 19:01:03 dnsmasq-dhcp[25775]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Dec  7 19:01:03 dnsmasq[25775]: illegal option at line 2 of /tmp/dnsmasq.servers
Dec  7 19:01:03 dnsmasq[25775]: illegal option at line 4 of /tmp/dnsmasq.servers
Dec  7 19:01:03 dnsmasq[25775]: using nameserver 192.168.3.1#53
Dec  7 19:01:03 QOS: 最大下载2560 KB/S,最大上传256 KB/S
Dec  7 19:01:03 QOS: QOS没有开启或闪存不足缺模块
Dec  7 19:01:03 crond[24626]: crond (busybox 1.23.2) started, log level 8
Dec  7 19:01:03 防火墙规则: 脚本完成
Dec  7 19:01:03 运行后WAN上/下活动:: WAN动作:【up】,WAN接口名称:【apcli0】

点评

楼主,我把双引号换成单引号了,还是不能运行啊,直接就显示{连接AP:脚本完成}而且【没这个文件/tmp/apc.lock】是什么意思哦?我从来都没有出现过这个信息呢? 下面是最新的日志: Dec 7 13:57:01 syslogd start  详情 回复 发表于 2015-12-7 20:51
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-12-7 20:51 | 显示全部楼层
本帖最后由 liou8272 于 2015-12-7 20:54 编辑
hiboyhiboyhiboy 发表于 2015-12-7 19:12
正常是自动连接AP的日子是下面这样的,你的没显示【连接AP: 自动搜寻TP-LINK_9】。

当显示日子显示【 ...

楼主,我把双引号换成单引号了,还是不能运行啊,直接就显示{连接AP:脚本完成}而且【没这个文件/tmp/apc.lock】是什么意思哦?我从来都没有出现过这个信息呢?要不请楼主重新把配置文件发出来,我看俺是不是哪不小心改错了!非常感谢!
下面是最新的日志:
Dec  7 13:57:01 syslogd started: BusyBox v1.23.2
Dec  7 13:57:01 RT-N14U: firmware version: 3.4.3.9-097-12-6
Dec  7 13:57:01 kernel: klogd started: BusyBox v1.23.2 (2015-12-06 13:39:19 CST)
Dec  7 13:57:01 kernel: Linux version 3.4.110 (padavan@hms) (gcc version 4.4.7 (GCC) ) #1 Sun Dec 6 13:27:21 CST 2015
Dec  7 13:57:01 kernel: MediaTek SoC: MT7620N, RevID: 0206, RAM: SDRAM, XTAL: 20MHz
Dec  7 13:57:01 kernel: CPU/OCP/SYS frequency: 580/116/116 MHz
Dec  7 13:57:01 kernel: CPU revision is: 00019650 (MIPS 24KEc)
Dec  7 13:57:01 kernel: Determined physical RAM map:
Dec  7 13:57:01 kernel:  memory: 02000000 @ 00000000 (usable)
Dec  7 13:57:01 kernel: Zone PFN ranges:
Dec  7 13:57:01 kernel:   Normal   0x00000000 -> 0x00002000
Dec  7 13:57:01 kernel: Movable zone start PFN for each node
Dec  7 13:57:01 kernel: Early memory PFN ranges
Dec  7 13:57:01 kernel:     0: 0x00000000 -> 0x00002000
Dec  7 13:57:01 kernel: On node 0 totalpages: 8192
Dec  7 13:57:01 kernel: free_area_init_node: node 0, pgdat 802b2000, node_mem_map 81000000
Dec  7 13:57:01 kernel:   Normal zone: 64 pages used for memmap
Dec  7 13:57:01 kernel:   Normal zone: 0 pages reserved
Dec  7 13:57:01 kernel:   Normal zone: 8128 pages, LIFO batch:0
Dec  7 13:57:01 kernel: Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Dec  7 13:57:01 kernel: Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Dec  7 13:57:01 kernel: pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Dec  7 13:57:01 kernel: pcpu-alloc: [0] 0
Dec  7 13:57:01 kernel: Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 8128
Dec  7 13:57:01 kernel: Kernel command line: console=ttyS0,57600n8 root=/dev/mtdblock4 rootfstype=squashfs
Dec  7 13:57:01 kernel: PID hash table entries: 128 (order: -3, 512 bytes)
Dec  7 13:57:01 kernel: Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Dec  7 13:57:01 kernel: Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Dec  7 13:57:01 kernel: Writing ErrCtl register=0005b430
Dec  7 13:57:01 kernel: Readback ErrCtl register=0005b430
Dec  7 13:57:01 kernel: Memory: 29428k/32768k available (2426k kernel code, 3340k reserved, 335k data, 180k init, 0k highmem)
Dec  7 13:57:01 kernel: NR_IRQS:40
Dec  7 13:57:01 kernel: console [ttyS0] enabled
Dec  7 13:57:01 kernel: Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
Dec  7 13:57:01 kernel: pid_max: default: 32768 minimum: 301
Dec  7 13:57:01 kernel: Mount-cache hash table entries: 512
Dec  7 13:57:01 kernel: NET: Registered protocol family 16
Dec  7 13:57:01 kernel: bio: create slab <bio-0> at 0
Dec  7 13:57:01 kernel: Switching to clocksource MIPS
Dec  7 13:57:01 kernel: NET: Registered protocol family 2
Dec  7 13:57:01 kernel: IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Dec  7 13:57:01 kernel: TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Dec  7 13:57:01 kernel: TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Dec  7 13:57:01 kernel: TCP: Hash tables configured (established 1024 bind 1024)
Dec  7 13:57:01 kernel: TCP: reno registered
Dec  7 13:57:01 kernel: UDP hash table entries: 256 (order: 0, 4096 bytes)
Dec  7 13:57:01 kernel: NET: Registered protocol family 1
Dec  7 13:57:01 kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Dec  7 13:57:01 kernel: msgmni has been set to 57
Dec  7 13:57:01 kernel: io scheduler noop registered (default)
Dec  7 13:57:01 kernel: Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Dec  7 13:57:01 kernel: serial8250: ttyS0 at MMIO 0x10000c00 (irq = 12) is a 16550A
Dec  7 13:57:01 kernel: Ralink GPIO driver initialized. Number of GPIO: 73, GPIO mode: 005A171D
Dec  7 13:57:01 kernel: loop: module loaded
Dec  7 13:57:01 kernel: Ralink SPI flash driver, SPI clock: 29MHz
Dec  7 13:57:01 kernel: SPI flash chip: MX25L3205D (c2 2016c220) (4096 Kbytes)
Dec  7 13:57:01 kernel: Creating 7 MTD partitions on "raspi":
Dec  7 13:57:01 kernel: 0x000000000000-0x000000030000 : "Bootloader"
Dec  7 13:57:01 kernel: 0x000000030000-0x000000040000 : "Config"
Dec  7 13:57:01 kernel: 0x000000040000-0x000000050000 : "Factory"
Dec  7 13:57:01 kernel: 0x000000050000-0x000000149030 : "Kernel"
Dec  7 13:57:01 kernel: 0x000000149030-0x0000003c0000 : "RootFS"
Dec  7 13:57:01 kernel: 0x0000003c0000-0x000000400000 : "Storage"
Dec  7 13:57:01 kernel: 0x000000050000-0x000000400000 : "Firmware_Stub"
Dec  7 13:57:01 kernel: Ralink APSoC Ethernet Driver v3.2.2 (raeth)
Dec  7 13:57:01 kernel: raeth: PDMA RX ring 256, PDMA TX ring 512. Max packet size 1536
Dec  7 13:57:01 kernel: raeth: NAPI support, weight 32
Dec  7 13:57:01 kernel: raeth: Byte Queue Limits (BQL) support
Dec  7 13:57:01 kernel: PPP generic driver version 2.4.2
Dec  7 13:57:01 kernel: PPP MPPE Compression module registered
Dec  7 13:57:01 kernel: NET: Registered protocol family 24
Dec  7 13:57:01 kernel: PPTP driver version 0.8.5
Dec  7 13:57:01 kernel: nf_conntrack version 0.5.0 (8192 buckets, 16384 max)
Dec  7 13:57:01 kernel: xt_time: kernel timezone is -0000
Dec  7 13:57:01 kernel: Bridge firewalling registered
Dec  7 13:57:01 kernel: gre: GRE over IPv4 demultiplexor driver
Dec  7 13:57:01 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Dec  7 13:57:01 kernel: TCP: cubic registered
Dec  7 13:57:01 kernel: NET: Registered protocol family 10
Dec  7 13:57:01 kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team
Dec  7 13:57:01 kernel: IPv6 over IPv4 tunneling driver
Dec  7 13:57:01 kernel: NET: Registered protocol family 17
Dec  7 13:57:01 kernel: L2TP core driver, V2.0
Dec  7 13:57:01 kernel: PPPoL2TP kernel driver, V2.0
Dec  7 13:57:01 kernel: 8021q: 802.1Q VLAN Support v1.8
Dec  7 13:57:01 kernel: ASUS NVRAM, v0.08. Available space: 61440. Integrity: OK
Dec  7 13:57:01 kernel: VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
Dec  7 13:57:01 kernel: Freeing unused kernel memory: 180k freed
Dec  7 13:57:01 kernel: Algorithmics/MIPS FPU Emulator v1.5
Dec  7 13:57:01 kernel: rt2860v2_ap: module license 'Proprietary' taints kernel.
Dec  7 13:57:01 kernel: APSoC AP Driver version: 2.7.2.0
Dec  7 13:57:01 kernel: raeth: HW IP/TCP/UDP checksum RX/TX offload enabled
Dec  7 13:57:01 kernel: raeth: HW VLAN TX offload enabled
Dec  7 13:57:01 kernel: raeth: HW Scatter/Gather TX offload enabled
Dec  7 13:57:01 kernel: mtk_esw - hw bridge: W|LLLL
Dec  7 13:57:03 kernel: device eth2.1 entered promiscuous mode
Dec  7 13:57:03 kernel: device eth2 entered promiscuous mode
Dec  7 13:57:04 kernel: br0: port 1(eth2.1) entered forwarding state
Dec  7 13:57:05 dnsmasq[183]: started, version 2.75 cachesize 256
Dec  7 13:57:05 dnsmasq[183]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-scripts no-TFTP no-conntrack no-ipset no-auth no-DNSSEC no-loop-detect no-inotify
Dec  7 13:57:05 dnsmasq-dhcp[183]: DHCP, IP range 192.168.22.2 -- 192.168.22.244, lease time 1d
Dec  7 13:57:05 dnsmasq-dhcp[183]: DHCP, sockets bound exclusively to interface br0
Dec  7 13:57:05 dnsmasq[183]: read /etc/hosts - 3 addresses
Dec  7 13:57:05 dnsmasq[183]: read /etc/storage/dnsmasq/hosts - 0 addresses
Dec  7 13:57:05 dnsmasq-dhcp[183]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Dec  7 13:57:05 kernel: Ralink HW NAT v2.52.0 Module Enabled, FoE Size: 16384
Dec  7 13:57:05 RT-N14U: Hardware NAT/Routing: Enabled, IPoE/PPPoE offload [WAN]<->[LAN/WLAN]
Dec  7 13:57:05 RT-N14U: Hardware NAT/Routing: IPv4 UDP flow offload - OFF
Dec  7 13:57:05 RT-N14U: Hardware NAT/Routing: IPv6 routes offload - OFF
Dec  7 13:57:06 kernel: br0: port 1(eth2.1) entered forwarding state
Dec  7 13:57:09 QOS: 最大下载25600 KB/S,最大上传256 KB/S
Dec  7 13:57:09 QOS: QOS没有开启或闪存不足缺模块
Dec  7 13:57:09 crond[268]: crond (busybox 1.23.2) started, log level 8
Dec  7 13:57:09 防火墙规则: 脚本完成
Dec  7 13:57:09 DHCP WAN Client: starting on apcli0 ...
Dec  7 13:57:09 httpd[283]: Server listening port 80 (HTTP).
Dec  7 13:57:09 miniupnpd[289]: version 1.9 starting UPnP-IGD ext if apcli0 BOOTID=1449467829
Dec  7 13:57:09 miniupnpd[289]: HTTP listening on port 9479
Dec  7 13:57:10 自定义脚本2: 脚本完成
Dec  7 13:57:10 自定义脚本3: 脚本完成
Dec  7 13:57:20 自定义脚本0: 脚本完成
Dec  7 13:57:20 dnsmasq[183]: exiting on receipt of SIGTERM
Dec  7 13:57:20 dnsmasq[374]: started, version 2.75 cachesize 256
Dec  7 13:57:20 dnsmasq[374]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-scripts no-TFTP no-conntrack no-ipset no-auth no-DNSSEC no-loop-detect no-inotify
Dec  7 13:57:20 dnsmasq-dhcp[374]: DHCP, IP range 192.168.22.2 -- 192.168.22.244, lease time 1d
Dec  7 13:57:20 dnsmasq-dhcp[374]: DHCP, sockets bound exclusively to interface br0
Dec  7 13:57:20 dnsmasq[374]: read /etc/hosts - 3 addresses
Dec  7 13:57:20 dnsmasq[374]: read /etc/storage/dnsmasq/hosts - 0 addresses
Dec  7 13:57:20 dnsmasq-dhcp[374]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Dec  7 13:57:20 dnsmasq[374]: using nameserver 8.8.8.8#53
Dec  7 13:57:20 di: 互联网状态:20, 经过时间: s.
Dec  7 13:57:20 连接AP: 20秒后,自动搜寻ap
Dec  7 13:57:40 连接AP: 脚本完成
Dec  7 13:57:40 自定义脚本1: 等待联网后开始脚本
Dec  7 13:58:00 自定义脚本1: 等待联网后开始脚本
Dec  7 13:58:20 自定义脚本1: 等待联网后开始脚本
Dec  7 13:58:40 di: 互联网状态:0, 经过时间: 95s.
Dec  7 13:58:40 连接AP: 脚本完成
Dec  7 13:58:40 自定义脚本1: 等待联网超时
Dec  7 13:58:40 运行路由器启动后: 脚本完成

点评

找到原因了,由于我在有5G的路由测试,没发现只有2.4G的路由运行脚本一个错误。 你把AP脚本中,下面的地方改0后,只有2.4G的路由就能用了 ap=`iwconfig | grep 'apcli0' | grep 'ESSID:""' | wc -l` if [ "$ap"  详情 回复 发表于 2015-12-8 11:44
管理页面 - 系统管理 - 控制台 输入 iwconfig 发上来看看网卡信息  详情 回复 发表于 2015-12-7 23:11
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-12-7 21:19 | 显示全部楼层
shileifans 发表于 2015-3-12 21:58
建议大家刷54的,信号强于14

RY1刷哪个54的呢?
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-12-7 22:15 | 显示全部楼层
我的RY1用此固件很稳定!就是功能上还需要慢慢加。自定义Crontab定时任务配置能否加上针对IP定时关网?比如192.168.1.100在晚上2-8点不能访问互联网!   能否加上此功能?谢谢大神!

点评

定时关网: 0 2 * * * stop_wan 0 8 * * * restart_wan 有单IP控制功能: 管理页面 - 防火墙 - MAC访问控制  详情 回复 发表于 2015-12-7 23:03
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-12-7 22:16 来自手机 | 显示全部楼层
请问如何调整发射功率超过100
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2015-12-7 23:03 | 显示全部楼层
dell_cui 发表于 2015-12-7 22:15
我的RY1用此固件很稳定!就是功能上还需要慢慢加。自定义Crontab定时任务配置能否加上针对IP定时关网?比如1 ...

定时关网:
0 2 * * * stop_wan
0 8 * * * restart_wan

有单IP控制功能:
管理页面 - 防火墙 - MAC访问控制
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2015-12-7 23:11 | 显示全部楼层
liou8272 发表于 2015-12-7 20:51
楼主,我把双引号换成单引号了,还是不能运行啊,直接就显示{连接AP:脚本完成}而且【没这个文件/tmp/apc ...

管理页面 - 系统管理 - 控制台

输入 iwconfig

发上来看看网卡信息
你路由是7620的?
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-12-8 00:00 | 显示全部楼层
Dec  7 23:55:17 【按钮②】: SS
Dec  7 23:55:17 【按钮②】: opt缺少/tmp/AiDisk_00/s-s/s-s文件
Dec  7 23:55:17 【按钮②】: 请更新opt文件夹,检查U盘文件和Entware设置
Dec  7 23:55:30 【按钮②】: SS
Dec  7 23:55:30 【按钮②】: opt缺少/tmp/AiDisk_00/s-s/s-s文件
Dec  7 23:55:30 【按钮②】: 请更新opt文件夹,检查U盘文件和Entware设置
Dec  7 23:55:38 NTP Client: Synchronizing time to pool.ntp.org.
Dec  7 23:56:32 NTP Client: Synchronizing time to time.nist.gov.
Dec  7 23:56:59 NTP Client: System time changed, offset: 5.109538s
Dec  7 23:57:37 【按钮②】: SS
Dec  7 23:57:37 【按钮②】: opt缺少/tmp/AiDisk_00/s-s/s-s文件
Dec  7 23:57:37 【按钮②】: 请更新opt文件夹,检查U盘文件和Entware设置
Dec  7 23:59:02 FTP server: daemon is started
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-12-8 08:21 | 显示全部楼层
Dec  8 07:37:26 dnsmasq[15704]: read /etc/hosts - 3 addresses
Dec  8 07:37:26 dnsmasq[15704]: read /etc/storage/dnsmasq/hosts - 0 addresses
Dec  8 07:37:26 dnsmasq-dhcp[15704]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
Dec  8 07:37:26 dnsmasq[15704]: illegal option at line 2 of /tmp/dnsmasq.servers
Dec  8 07:37:26 dnsmasq[15704]: using nameserver 222.246.129.80#53
Dec  8 07:37:26 dnsmasq[15704]: using nameserver 59.51.78.210#53
Dec  8 07:58:37 sh_download: 重新下载:/tmp/videos-32.png
Dec  8 07:58:47 sh_download: 下载不正常:/tmp/videos-32.png


老是提示DNSMASQ里面的两个设置有仍属不,还有SS_DOWNLOAD下载不正常,请问大大,是什么问题
DNSMASQ里面的设置是这样的
# Custom user servers file for dnsmasq
# Example:
# 方案二SS的gfwlist添加例子
server=/.tvb.com/208.67.222.222#443
ipset=/.tvb.com/gfw_black_list

# 特定域名的自定义DNS设置例子:
#server=/mit.ru/izmuroma.ru/10.25.11.30

server=/taobao.org/223.5.5.5

点评

我把SS_DOWNLOAD的下载秒数去掉,没有那么频繁下载不正常了,几小时就1次。你可以参考一下  详情 回复 发表于 2015-12-8 17:48
我的恩山、我的无线 The best wifi forum is right here.
发表于 2015-12-8 10:47 | 显示全部楼层
12-6 菲讯712的16M固件依然不能启动(已经连续三个版本了),8M固件正常,5G灯也可以亮了

点评

刚刚重新上传网盘了,你用breed刷入试试  详情 回复 发表于 2015-12-8 23:53
我今晚回去看看配置项  详情 回复 发表于 2015-12-8 11:28
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛 ( 苏ICP备05084872号-1 )  

GMT+8, 2018-11-14 22:07

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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