[technique] Routeurs ZBT arrivés.

Ludovic Pouzenc ludovic at pouzenc.fr
Lun 13 Aou 19:14:35 CEST 2018


Salut,

J'ai reçu 10 routeurs ZBT WE3526.

Le routeur que j'ai déballé a un OpenWRT Barrier Breaker modifié flashé 
d'origine. Le bloc alim est avec une fiche à l'américaine et un 
adaptateur universel compact est fourni (mais ça fait con). C'est 12V 
2A. Les voyants sont visibles mais sans logos. Ça sent fort le plastique 
neuf. Ça synchro au giga sur mon PC. Il y a un cordon 100mbits 4 fils 
fourni (WTF ?).

Tests à faire. Premières commandes lancées + screenshots joints. Le 
numéro de série du routeur semble contenir une date : 201706160118.

-- 
Ludovic Pouzenc
www.pouzenc.fr

This is GNU/Linux land. In silent nights you can hear the Windows 
machines rebooting.


-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: Capture d'écran de 2018-08-13 18-35-08.png
Type: image/png
Taille: 23307 octets
Desc: non disponible
URL: <http://lists.tetaneutral.net/pipermail/technique/attachments/20180813/a421cd6d/attachment.png>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: Capture d'écran de 2018-08-13 18-35-37.png
Type: image/png
Taille: 79518 octets
Desc: non disponible
URL: <http://lists.tetaneutral.net/pipermail/technique/attachments/20180813/a421cd6d/attachment-0001.png>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: Capture d'écran de 2018-08-13 19-06-10.png
Type: image/png
Taille: 116534 octets
Desc: non disponible
URL: <http://lists.tetaneutral.net/pipermail/technique/attachments/20180813/a421cd6d/attachment-0002.png>
-------------- section suivante --------------
lpouzenc at lud-MN1:/media/DATA/lpouzenc$ ssh root at 192.168.1.1
root at 192.168.1.1's password: 


BusyBox v1.22.1 (2015-11-20 13:18:32 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Barrier Breaker, unknown)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root at OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    9.4M    444.0K      9.0M   5% /
/dev/root                 5.0M      5.0M         0 100% /rom
tmpfs                   251.5M    280.0K    251.3M   0% /tmp
/dev/mtdblock6            9.4M    444.0K      9.0M   5% /overlay
overlayfs:/overlay        9.4M    444.0K      9.0M   5% /
tmpfs                   512.0K         0    512.0K   0% /dev

root at OpenWrt:~# free -m
             total         used         free       shared      buffers
Mem:        515124        46176       468948            0         4132
-/+ buffers:              42044       473080
Swap:            0            0            0

root at OpenWrt:~# cat /proc/cmdline
console=ttyS1,115200n8 root=/dev/mtdblock5 rootfstype=squashfs,jffs2

root at OpenWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 01000000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 00fb0000 00010000 "firmware"
mtd5: 00e6eca6 00010000 "rootfs"
mtd6: 00970000 00010000 "rootfs_data"

root at OpenWrt:~# time md5sum /dev/mtd?
ecee399a873b9369397fedee840fd41a  /dev/mtd0
88aa7d6edf59a10280f67f75e3b25578  /dev/mtd1
fbccd196f2a1777b2c83d371267580e4  /dev/mtd2
9ac6c49293448b11383189ef84028923  /dev/mtd3
206cf1d460d3c572f9bfe9c653cdfcea  /dev/mtd4
5b552c6c5e0a83ab9e3028ead1b41b56  /dev/mtd5
8230d7147fcfd1ed4df04d644d63537d  /dev/mtd6
real	0m 28.29s
user	0m 1.30s
sys	0m 26.98s
root at OpenWrt:~# 

root at OpenWrt:~# cat /proc/version 
Linux version 3.10.14 (zbt123 at zbt-server) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #62 SMP Thu Nov 24 16:49:22 CST 2016
root at OpenWrt:~# uname -a
Linux OpenWrt 3.10.14 #62 SMP Thu Nov 24 16:49:22 CST 2016 mips GNU/Linux
root at OpenWrt:~# 

root at OpenWrt:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock6 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)

root at OpenWrt:/sys# ifconfig
br-lan    Link encap:Ethernet  HWaddr 78:A3:51:30:19:8E  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fdcc:61e1:759f::1/60 Scope:Global
          inet6 addr: fe80::7aa3:51ff:fe30:198e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3315 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3309 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:238119 (232.5 KiB)  TX bytes:569300 (555.9 KiB)

eth0      Link encap:Ethernet  HWaddr 78:A3:51:30:19:8E  
          inet6 addr: fe80::7aa3:51ff:fe30:198e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5615 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3602 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1396748 (1.3 MiB)  TX bytes:631275 (616.4 KiB)
          Interrupt:3 

eth0.1    Link encap:Ethernet  HWaddr 78:A3:51:30:19:8E  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3315 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3309 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:238119 (232.5 KiB)  TX bytes:569300 (555.9 KiB)

eth0.2    Link encap:Ethernet  HWaddr 78:A3:51:30:19:8F  
          inet addr:192.168.1.52  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 2a02:8420:6754:af01:7aa3:51ff:fe30:198f/64 Scope:Global
          inet6 addr: fe80::7aa3:51ff:fe30:198f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2300 errors:0 dropped:4 overruns:0 frame:0
          TX packets:285 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1057559 (1.0 MiB)  TX bytes:45870 (44.7 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2039 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2039 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:140361 (137.0 KiB)  TX bytes:140361 (137.0 KiB)

ra0       Link encap:Ethernet  HWaddr 78:A3:51:30:19:8C  
          inet6 addr: fe80::7aa3:51ff:fe30:198c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:25 

rai0      Link encap:Ethernet  HWaddr 78:A3:51:30:19:8D  
          inet6 addr: fe80::7aa3:51ff:fe30:198d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:24 

root at OpenWrt:/sys# 

root at OpenWrt:~# cat /proc/cpuinfo 
system type		: MT7621
machine			: Unknown
processor		: 0
cpu model		: MIPS 1004Kc V2.15
BogoMIPS		: 583.68
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp mt
shadow register sets	: 1
kscratch registers	: 0
core			: 0
VPE			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

processor		: 1
cpu model		: MIPS 1004Kc V2.15
BogoMIPS		: 583.68
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp mt
shadow register sets	: 1
kscratch registers	: 0
core			: 0
VPE			: 1
VCED exceptions		: not available
VCEI exceptions		: not available

processor		: 2
cpu model		: MIPS 1004Kc V2.15
BogoMIPS		: 583.68
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp mt
shadow register sets	: 1
kscratch registers	: 0
core			: 1
VPE			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

processor		: 3
cpu model		: MIPS 1004Kc V2.15
BogoMIPS		: 583.68
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp mt
shadow register sets	: 1
kscratch registers	: 0
core			: 1
VPE			: 1
VCED exceptions		: not available
VCEI exceptions		: not available


root at OpenWrt:~# lsmod 
act_mirred              2816  0 
act_skbedit             1936  0 
ahci                   10904  0 
cdc_wdm                10053  0 
cls_flow                5760  0 
cls_fw                  3808  0 
cls_route               5856  0 
cls_tcindex             4304  0 
cls_u32                 6528  0 
crc16                    999  1 ext4
crc_ccitt               1003  1 ppp_async
crypto_hash            10378  2 ext4
dwc2                   51788  1 dwc2_platform
dwc2_platform           1344  0 
em_u32                   576  0 
ext4                  345481  0 
fat                    50767  1 vfat
gre                     2178  1 ip_gre
ide_core               50349  1 ide_pci_generic
ide_pci_generic         2032  0 
ifb                     3296  0 
ip6_tables             10177  3 ip6table_raw
ip6t_REJECT             2544  2 
ip6table_filter          640  1 
ip6table_mangle         1056  1 
ip6table_raw             608  1 
ip_gre                  8128  0 
ip_tables               9981  4 iptable_nat
ip_tunnel              11419  1 ip_gre
ipt_ECN                 1408  0 
ipt_MASQUERADE          1216  1 
ipt_REJECT              1888  2 
iptable_filter           688  1 
iptable_mangle           960  1 
iptable_nat             1760  1 
iptable_raw              656  1 
jbd2                   65596  1 ext4
libahci                18427  1 ahci
libata                135005  2 ahci
lockd                  57660  2 nfsv3
mbcache                 5213  1 ext4
mmc_block              22513  0 
mt7603e              1271601  1 
mt76x2e              1273391  1 
nf_conntrack           49531 18 iptable_nat
nf_conntrack_ftp        5344  1 nf_nat_ftp
nf_conntrack_ipv4       5156 11 
nf_conntrack_ipv6       6288  3 
nf_conntrack_irc        2960  1 nf_nat_irc
nf_defrag_ipv4           774  1 nf_conntrack_ipv4
nf_defrag_ipv6         13665  1 nf_conntrack_ipv6
nf_nat                 10591  8 iptable_nat
nf_nat_ftp              1280  0 
nf_nat_ipv4             2654  1 iptable_nat
nf_nat_irc               992  0 
nfs                   122563  1 nfsv3
nfsv3                  17608  0 
nls_cp437               4416  0 
nls_cp850               3648  0 
nls_iso8859_1           2880  0 
nls_utf8                 864  0 
ntfs                  100163  0 
option                 19728  0 
ppp_async               7520  0 
ppp_generic            23170  3 pppoe
pppoe                   9360  0 
pppox                   1354  1 pppoe
ralink_wdt              1898  0 
sch_hfsc               14896  0 
sch_ingress              960  0 
sd_mod                 28032  0 
sg                     22240  0 
slhc                    4603  1 ppp_generic
sunrpc                168532  3 nfsv3
ts_bm                   1408  0 
ts_fsm                  2528  0 
ts_kmp                  1328  0 
tun                    16719  0 
usb_common              1144  1 usbcore
usb_storage            38232  0 
usb_wwan                5052  1 option
usbcore               125881  8 option
usbnet                 19919  0 
usbserial              21351  2 option
vfat                    8784  0 
x_tables               12645 47 ipt_MASQUERADE
xhci_hcd               88575  0 
xt_CLASSIFY              576  0 
xt_CT                   2832  0 
xt_DSCP                 1488  0 
xt_HL                   1328  0 
xt_LOG                 10192  0 
xt_NETMAP               1216  0 
xt_REDIRECT             1120  0 
xt_TCPMSS               2832  2 
xt_addrtype             2192  0 
xt_comment               496 63 
xt_connbytes            1600  0 
xt_connlimit            2816  0 
xt_connmark             1088  3 
xt_conntrack            2240 10 
xt_dscp                  976  0 
xt_ecn                  1296  0 
xt_helper                896  0 
xt_hl                    784  0 
xt_layer7              10164  0 
xt_length                688  1 
xt_limit                1136 20 
xt_mac                   624  0 
xt_mark                  672 28 
xt_multiport            1200 10 
xt_nat                  1184  0 
xt_owner                 704  0 
xt_pkttype               608  0 
xt_quota                 800  0 
xt_recent               6976  0 
xt_state                 720  0 
xt_statistic             896  0 
xt_string                816  0 
xt_tcpmss                992  0 
xt_tcpudp               1712 20 
xt_time                 1712  0 

root at OpenWrt:~# opkg list
8021xd - 1
ated - 1
base-files - 156-unknown
block-mount - 2014-06-22-e0430f5c62f367e5a8e02755412977b02c3fc45e
btnd - 1
busybox - 1.22.1-3
chat - 2.4.7-2
comgt - 0.32-23
curl - 7.38.0-1
ddns-scripts - 1.0.0-23
dnsmasq - 2.71-4
dropbear - 2014.63-2
eth_mac - 1
firewall - 2014-09-19
fstools - 2014-06-22-e0430f5c62f367e5a8e02755412977b02c3fc45e
gpio - 1
ip6tables - 1.4.21-1
iptables - 1.4.21-1
iptables-mod-conntrack-extra - 1.4.21-1
iptables-mod-extra - 1.4.21-1
iptables-mod-filter - 1.4.21-1
iptables-mod-ipopt - 1.4.21-1
iptables-mod-nat-extra - 1.4.21-1
iw - 3.15-1
iwinfo - 44
jshn - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
kernel - 3.10.14-p112871-1-56e530fbc956403a345be0dc82572197
kmod-ata-ahci - 3.10.14-p112871-1
kmod-ata-core - 3.10.14-p112871-1
kmod-cfg80211 - 3.10.14-p112871+2014-05-22-1
kmod-crypto-core - 3.10.14-p112871-1
kmod-crypto-hash - 3.10.14-p112871-1
kmod-dnsresolver - 3.10.14-p112871-1
kmod-fs-ext4 - 3.10.14-p112871-1
kmod-fs-nfs - 3.10.14-p112871-1
kmod-fs-nfs-common - 3.10.14-p112871-1
kmod-fs-ntfs - 3.10.14-p112871-1
kmod-fs-vfat - 3.10.14-p112871-1
kmod-gre - 3.10.14-p112871-1
kmod-hw_wdg - 3.10.14-p112871-1
kmod-ide-core - 3.10.14-p112871-1
kmod-ide-generic - 3.10.14-p112871-1
kmod-ifb - 3.10.14-p112871-1
kmod-ip6tables - 3.10.14-p112871-1
kmod-ipt-conntrack - 3.10.14-p112871-1
kmod-ipt-conntrack-extra - 3.10.14-p112871-1
kmod-ipt-core - 3.10.14-p112871-1
kmod-ipt-extra - 3.10.14-p112871-1
kmod-ipt-filter - 3.10.14-p112871-1
kmod-ipt-ipopt - 3.10.14-p112871-1
kmod-ipt-nat - 3.10.14-p112871-1
kmod-ipt-nat-extra - 3.10.14-p112871-1
kmod-ipt-nathelper - 3.10.14-p112871-1
kmod-iptunnel - 3.10.14-p112871-1
kmod-ipv6 - 3.10.14-p112871-1
kmod-lib-crc-ccitt - 3.10.14-p112871-1
kmod-lib-crc16 - 3.10.14-p112871-1
kmod-lib-textsearch - 3.10.14-p112871-1
kmod-mii - 3.10.14-p112871-1
kmod-mmc - 3.10.14-p112871-1
kmod-mt7603e - 3.10.14-p112871+p4rev-112670-1
kmod-mt76x2e - 3.10.14-p112871+p4rev-113843-1
kmod-mtk-mmc - 3.10.14-p112871-1
kmod-nls-base - 3.10.14-p112871-1
kmod-nls-cp437 - 3.10.14-p112871-1
kmod-nls-cp850 - 3.10.14-p112871-1
kmod-nls-iso8859-1 - 3.10.14-p112871-1
kmod-nls-utf8 - 3.10.14-p112871-1
kmod-ppp - 3.10.14-p112871-1
kmod-pppoe - 3.10.14-p112871-1
kmod-pppox - 3.10.14-p112871-1
kmod-pptp - 3.10.14-p112871-1
kmod-rdm - 3.10.14-p112871-1
kmod-sched-connmark - 3.10.14-p112871-1
kmod-sched-core - 3.10.14-p112871-1
kmod-scsi-core - 3.10.14-p112871-1
kmod-scsi-generic - 3.10.14-p112871-1
kmod-slhc - 3.10.14-p112871-1
kmod-tun - 3.10.14-p112871-1
kmod-usb-core - 3.10.14-p112871-1
kmod-usb-dwc2 - 3.10.14-p112871-1
kmod-usb-net - 3.10.14-p112871-1
kmod-usb-serial - 3.10.14-p112871-1
kmod-usb-serial-option - 3.10.14-p112871-1
kmod-usb-serial-wwan - 3.10.14-p112871-1
kmod-usb-storage - 3.10.14-p112871-1
kmod-usb-wdm - 3.10.14-p112871-1
kmod-usb3 - 3.10.14-p112871-1
libblobmsg-json - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
libc - 0.9.33.2-1
libcurl - 7.38.0-1
libgcc - 4.8-linaro-1
libip4tc - 1.4.21-1
libip6tc - 1.4.21-1
libiwinfo - 44
libiwinfo-lua - 44
libjson-c - 0.11-2
libjson-script - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
liblua - 5.1.5-1
libnl-tiny - 0.1-3
libopenssl - 1.0.1j-1
libpcre - 8.35-2
libpolarssl - 1.3.8-2
libpthread - 0.9.33.2-1
librt - 0.9.33.2-1
libubox - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
libubus - 2014-09-17-4c4f35cf2230d70b9ddd87638ca911e8a563f2f3
libubus-lua - 2014-09-17-4c4f35cf2230d70b9ddd87638ca911e8a563f2f3
libuci - 2014-04-11.1-1
libuci-lua - 2014-04-11.1-1
libxtables - 1.4.21-1
lua - 5.1.5-1
luci - unknown-1
luci-app-ddns - 0.12+git-15.037.36195-f1e2a26-1
luci-app-firewall - unknown-1
luci-app-qos - unknown-1
luci-app-samba - 0.12+git-15.037.36195-f1e2a26-1
luci-base - unknown-1
luci-i18n-chinese - unknown-1
luci-i18n-english - unknown-1
luci-lib-nixio - unknown-1
luci-mod-admin-full - unknown-1
luci-proto-3g - unknown-1
luci-proto-ppp - unknown-1
luci-theme-bootstrap - unknown-1
mii_mgr - 1
mtd - 20
netifd - 2014-09-08.1-46c569989f984226916fec28dd8ef152a664043e
odhcp6c - 2014-12-10-722226c4f1d45c8bf4ac9189523738abcf7d648f
odhcpd - 2014-09-25-a6e2953843eaf6c93764f9feef10466e7a84ec85
opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
ppp - 2.4.7-2
ppp-mod-pppoe - 2.4.7-2
procd - 2014-09-15-c1a558f7d0c1e6c1ffa5a47d557a7b45205eef1d
qos-scripts - 1.2.1-6
reg - 1
samba36-server - 3.6.24-1
switch - 1
tc - 3.15.0-1
ubox - 2014-09-16-5c45b560bc8c9e13682269ed963a8a4a65959518
ubus - 2014-09-17-4c4f35cf2230d70b9ddd87638ca911e8a563f2f3
ubusd - 2014-09-17-4c4f35cf2230d70b9ddd87638ca911e8a563f2f3
uci - 2014-04-11.1-1
uci2dat - 1
uhttpd - 2014-10-27-fd8e5e379c23c5fbcec3e76894b839233df09067
uhttpd-mod-ubus - 2014-10-27-fd8e5e379c23c5fbcec3e76894b839233df09067
watchdog - 1
wireless-tools - 29-5
zlib - 1.2.8-1

root at OpenWrt:/sys# dmesg
[    0.000000] Linux version 3.10.14 (zbt123 at zbt-server) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #62 SMP Thu Nov 24 16:49:22 CST 2016
[    0.000000] 
[    0.000000]  The CPU feqenuce set to 880 MHz
[    0.000000] GCMP present
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] Software DMA cache coherency
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 1c000000 @ 00000000 (usable)
[    0.000000]  memory: 04000000 @ 20000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x1fffffff]
[    0.000000]   HighMem  [mem 0x20000000-0x23ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x1bffffff]
[    0.000000]   node   0: [mem 0x20000000-0x23ffffff]
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat 8038bf40, node_mem_map 81000000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 114688 pages, LIFO batch:31
[    0.000000]   HighMem zone: 128 pages used for memmap
[    0.000000]   HighMem zone: 16384 pages, LIFO batch:3
[    0.000000] Detected 3 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] PERCPU: Embedded 7 pages/cpu @81484000 s6656 r8192 d13824 u32768
[    0.000000] pcpu-alloc: s6656 r8192 d13824 u32768 alloc=8*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS1,115200n8 root=/dev/mtdblock5 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Writing ErrCtl register=0001c810
[    0.000000] Readback ErrCtl register=0001c810
[    0.000000] Memory: 514920k/458752k available (2912k kernel code, 9368k reserved, 717k data, 204k init, 65536k highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] console [ttyS1] enabled
[    0.108000] Calibrating delay loop... 577.53 BogoMIPS (lpj=1155072)
[    0.140000] pid_max: default: 32768 minimum: 301
[    0.144000] Mount-cache hash table entries: 512
[    0.148000] launch: starting cpu1
[    0.152000] launch: cpu1 gone!
[    0.152000] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.152000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.152000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.152000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.184000] Synchronize counters for CPU 1: done.
[    0.192000] launch: starting cpu2
[    0.196000] launch: cpu2 gone!
[    0.196000] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.196000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.196000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.196000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.228000] Synchronize counters for CPU 2: done.
[    0.236000] launch: starting cpu3
[    0.236000] launch: cpu3 gone!
[    0.236000] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.236000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.236000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.236000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.264000] Synchronize counters for CPU 3: done.
[    0.272000] Brought up 4 CPUs
[    0.276000] NET: Registered protocol family 16
[    0.576000] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.580000] PCIE PHY initialize
[    0.580000] ***** Xtal 40MHz *****
[    0.584000] start MT7621 PCIe register access
[    1.176000] RALINK_RSTCTRL = 7000000
[    1.180000] RALINK_CLKCFG1 = 77ffeff8
[    1.180000] 
[    1.180000] *************** MT7621 PCIe RC mode *************
[    1.676000] PCIE0 no card, disable it(RST&CLK)
[    1.680000] pcie_link status = 0x6
[    1.680000] RALINK_RSTCTRL= 6000000
[    1.684000] *** Configure Device number setting of Virtual PCI-PCI bridge ***
[    1.688000] RALINK_PCI_PCICFG_ADDR = 21007f2 -> 10207f2
[    1.692000] PCIE1 enabled
[    1.692000] PCIE2 enabled
[    1.696000] interrupt enable status: 600000
[    1.700000] Port 1 N_FTS = 1b105000
[    1.700000] Port 0 N_FTS = 1b105000
[    1.704000] config reg done
[    1.704000] init_rt2880pci done
[    1.712000] FPU Affinity set after 4688 emulations
[    1.724000] bio: create slab <bio-0> at 0
[    1.728000] SCSI subsystem initialized
[    1.732000] PCI host bridge to bus 0000:00
[    1.736000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.740000] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.744000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.748000] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.748000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x7fffffff]
[    1.748000] pci 0000:00:00.0: reg 14: [mem 0x00000000-0x0000ffff]
[    1.748000] pci 0000:00:00.0: supports D1
[    1.748000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.748000] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.748000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x7fffffff]
[    1.748000] pci 0000:00:01.0: reg 14: [mem 0x00000000-0x0000ffff]
[    1.748000] pci 0000:00:01.0: supports D1
[    1.748000] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.748000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.752000] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.756000] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    1.756000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x000fffff 64bit]
[    1.756000] pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
[    1.756000] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    1.756000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.756000] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    1.756000] pci 0000:02:00.0: reg 10: [mem 0x00000000-0x000fffff]
[    1.756000] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    1.756000] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.756000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[    1.756000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
[    1.760000] pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
[    1.764000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.768000] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    1.772000] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    1.776000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    1.780000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    1.784000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    1.788000] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    1.792000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.796000] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.800000] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.804000] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    1.808000] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.812000] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    1.816000] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
[    1.820000] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
[    1.824000] BAR0 at slot 0 = 0
[    1.824000] bus=0x0, slot = 0x0
[    1.828000] res[0]->start = 0
[    1.828000] res[0]->end = 0
[    1.832000] res[1]->start = 60300000
[    1.832000] res[1]->end = 6030ffff
[    1.836000] res[2]->start = 0
[    1.836000] res[2]->end = 0
[    1.840000] res[3]->start = 0
[    1.840000] res[3]->end = 0
[    1.844000] res[4]->start = 0
[    1.844000] res[4]->end = 0
[    1.848000] res[5]->start = 0
[    1.848000] res[5]->end = 0
[    1.852000] BAR0 at slot 1 = 0
[    1.852000] bus=0x0, slot = 0x1
[    1.856000] res[0]->start = 0
[    1.856000] res[0]->end = 0
[    1.860000] res[1]->start = 60310000
[    1.860000] res[1]->end = 6031ffff
[    1.864000] res[2]->start = 0
[    1.864000] res[2]->end = 0
[    1.868000] res[3]->start = 0
[    1.868000] res[3]->end = 0
[    1.872000] res[4]->start = 0
[    1.872000] res[4]->end = 0
[    1.876000] res[5]->start = 0
[    1.876000] res[5]->end = 0
[    1.880000] bus=0x1, slot = 0x0, irq=0x18
[    1.884000] res[0]->start = 60000000
[    1.884000] res[0]->end = 600fffff
[    1.888000] res[1]->start = 0
[    1.888000] res[1]->end = 0
[    1.892000] res[2]->start = 0
[    1.892000] res[2]->end = 0
[    1.896000] res[3]->start = 0
[    1.896000] res[3]->end = 0
[    1.900000] res[4]->start = 0
[    1.900000] res[4]->end = 0
[    1.904000] res[5]->start = 0
[    1.904000] res[5]->end = 0
[    1.908000] bus=0x2, slot = 0x1, irq=0x19
[    1.908000] res[0]->start = 60200000
[    1.912000] res[0]->end = 602fffff
[    1.912000] res[1]->start = 0
[    1.916000] res[1]->end = 0
[    1.916000] res[2]->start = 0
[    1.920000] res[2]->end = 0
[    1.920000] res[3]->start = 0
[    1.924000] res[3]->end = 0
[    1.924000] res[4]->start = 0
[    1.928000] res[4]->end = 0
[    1.928000] res[5]->start = 0
[    1.932000] res[5]->end = 0
[    1.932000] Switching to clocksource MIPS
[    1.936000] NET: Registered protocol family 2
[    1.940000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    1.948000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.956000] TCP: Hash tables configured (established 4096 bind 4096)
[    1.960000] TCP: reno registered
[    1.964000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.972000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.976000] NET: Registered protocol family 1
[    1.980000] PCI: CLS 80 bytes, default 32
[    2.072000] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    2.080000] bounce pool size: 64 pages
[    2.084000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.092000] jffs2: version 2.2. (NAND) (SUMMARY)  (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.100000] msgmni has been set to 877
[    2.104000] io scheduler noop registered (default)
[    2.112000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    2.116000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
[    2.124000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
[    2.132000] Ralink gpio driver initialized
[    2.136000] flash manufacture id: ef, device id 40 18
[    2.140000] W25Q128BV(ef 40180000) (16384 Kbytes)
[    2.144000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
[    2.156000] Creating 5 MTD partitions on "raspi":
[    2.160000] 0x000000000000-0x000001000000 : "ALL"
[    2.168000] 0x000000000000-0x000000030000 : "Bootloader"
[    2.172000] 0x000000030000-0x000000040000 : "Config"
[    2.180000] 0x000000040000-0x000000050000 : "Factory"
[    2.184000] 0x000000050000-0x000001000000 : "firmware"
[    2.192000] 0x00000019135a-0x000001000000 : "rootfs"
[    2.196000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    2.208000] mtd: partition "rootfs_data" created automatically, ofs=0x690000, len=0x970000
[    2.216000] 0x000000690000-0x000001000000 : "rootfs_data"
[    2.224000] rdm_major = 253
[    2.228000] GMAC1_MAC_ADRH -- : 0x000078a3
[    2.232000] GMAC1_MAC_ADRL -- : 0x5130198e
[    2.236000] Ralink APSoC Ethernet Driver Initilization. v3.1  512 rx/tx descriptors allocated, mtu = 1500!
[    2.244000] GMAC1_MAC_ADRH -- : 0x000078a3
[    2.248000] GMAC1_MAC_ADRL -- : 0x5130198e
[    2.256000] PROC INIT OK!
[    2.256000] MTK MSDC device init.
[    2.280000] msdc0 -> ================ <- msdc_set_mclk() : L<686> PID<swapper/0><0x1>
[    2.284000] msdc0 -> !!! Set<400KHz> Source<50000KHz> -> sclk<390KHz> <- msdc_set_mclk() : L<687> PID<swapper/0><0x1>
[    2.296000] msdc0 -> ================ <- msdc_set_mclk() : L<688> PID<swapper/0><0x1>
[    2.324000] msdc0 -> ops_get_cd return<0> <- msdc_ops_get_cd() : L<2317> PID<kworker/u8:0><0x6>
[    2.324000] mtk-sd: MediaTek MT6575 MSDC Driver
[    2.324000] TCP: cubic registered
[    2.340000] msdc0 -> set mclk to 0!!! <- msdc_set_mclk() : L<634> PID<kworker/u8:0><0x6>
[    2.348000] NET: Registered protocol family 10
[    2.352000] NET: Registered protocol family 17
[    2.356000] 8021q: 802.1Q VLAN Support v1.8
[    2.392000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    2.400000] Freeing unused kernel memory: 204K (8038d000 - 803c0000)
[    4.108000] usbcore: registered new interface driver usbfs
[    4.112000] usbcore: registered new interface driver hub
[    4.120000] usbcore: registered new device driver usb
[    4.152000] Uniform Multi-Platform E-IDE driver
[    4.172000] libata version 3.00 loaded.
[    4.176000] dwc2: module is from the staging directory, the quality is unknown, you have been warned.
[    4.188000] dwc2_platform: module is from the staging directory, the quality is unknown, you have been warned.
[    4.204000] *****run project phy.
[    4.216000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.232000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.248000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.264000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.280000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.296000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.312000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.328000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.344000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.360000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.400000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.416000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.432000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.448000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.464000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.480000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.496000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.512000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.528000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.544000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.680000] xhci-hcd xhci-hcd: xHCI Host Controller
[    4.684000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
[    4.692000] xhci-hcd xhci-hcd: irq 22, io mem 0x1e1c0000
[    4.700000] xHCI xhci_add_endpoint called for root hub
[    4.700000] xHCI xhci_check_bandwidth called for root hub
[    4.700000] hub 1-0:1.0: USB hub found
[    4.704000] hub 1-0:1.0: 2 ports detected
[    4.708000] xhci-hcd xhci-hcd: xHCI Host Controller
[    4.712000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
[    4.720000] xHCI xhci_add_endpoint called for root hub
[    4.720000] xHCI xhci_check_bandwidth called for root hub
[    4.720000] hub 2-0:1.0: USB hub found
[    4.724000] hub 2-0:1.0: 1 port detected
[    4.732000] usbcore: registered new interface driver usb-storage
[    5.312000] Raeth v3.1 (Tasklet)
[    5.320000] phy_free_head is 0x1b434000!!!
[    5.324000] phy_free_tail_phy is 0x1b435ff0!!!
[    5.328000] txd_pool=bb494000 phy_txd_pool=1B494000
[    5.332000] ei_local->skb_free start address is 0x9be014d4.
[    5.336000] free_txd: bb494010, ei_local->cpu_ptr: 1B494000
[    5.344000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
[    5.348000] ----------------+---------+--------
[    5.352000]      0xbb494000 0x1B494000 0x1B494000
[    5.356000] 
[    5.356000] phy_qrx_ring = 0x1be7a000, qrx_ring = 0xbbe7a000
[    5.364000] 
[    5.364000] phy_rx_ring0 = 0x1b43c000, rx_ring0 = 0xbb43c000
[    5.384000] change HW-TRAP to 0x17ccf
[    5.388000] set LAN/WAN LLLLW
[    5.396000] GMAC1_MAC_ADRH -- : 0x000078a3
[    5.400000] GMAC1_MAC_ADRL -- : 0x5130198e
[    5.404000] CDMA_CSG_CFG = 81000000
[    5.408000] GDMA1_FWD_CFG = 20710000
[    8.892000] jffs2: notice: (275) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (1 unchecked, 2 orphan) and 39 of xref (0 dead, 28 orphan) found.
[    8.984000] jffs2: notice: (272) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (1 unchecked, 2 orphan) and 39 of xref (0 dead, 28 orphan) found.
[    9.012000] ra2880stop()...Done
[    9.016000] Free TX/RX Ring Memory!
[   10.672000] RPC: Registered named UNIX socket transport module.
[   10.680000] RPC: Registered udp transport module.
[   10.684000] RPC: Registered tcp transport module.
[   10.688000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.704000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   10.716000] tun: Universal TUN/TAP device driver, 1.6
[   10.720000] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[   10.736000] gre: GRE over IPv4 demultiplexor driver
[   10.744000] ip_gre: GRE over IPv4 tunneling driver
[   10.776000] nf_conntrack version 0.5.0 (8048 buckets, 32192 max)
[   10.788000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.816000] u32 classifier
[   10.816000]     input device check on
[   10.820000]     Actions configured
[   10.828000] Mirror/redirect action on
[   11.212000] register mt_drv
[   11.216000] 
[   11.216000] 
[   11.216000] === pAd = c0a81000, size = 937224 ===
[   11.216000] 
[   11.228000] <-- RTMPAllocTxRxRingMemory, Status=0
[   11.232000] <-- RTMPAllocAdapterBlock, Status=0
[   11.236000] pAd->CSRBaseAddress =0xc0980000, csr_addr=0xc0980000!
[   11.244000] device_id =0x7603
[   11.248000] RtmpChipOpsHook(507): Not support for HIF_MT yet!
[   11.252000] mt7603_init()-->
[   11.256000] mt_bcn_buf_init(224): Not support for HIF_MT yet!
[   11.260000] <--mt7603_init()
[   11.644000] register rt2860
[   11.656000] 
[   11.656000] 
[   11.656000] === pAd = c0f81000, size = 2023544 ===
[   11.656000] 
[   11.664000] <-- RTMPAllocTxRxRingMemory, Status=0
[   11.668000] <-- RTMPAllocAdapterBlock, Status=0
[   11.672000] pAd->CSRBaseAddress =0xc0e80000, csr_addr=0xc0e80000!
[   11.680000] device_id =0x7662
[   11.684000] ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a
[   11.696000] E2pAccessMode=2
[   11.700000] cfg_mode=14
[   11.700000] cfg_mode=14
[   11.704000] wmode_band_equal(): Band Not Equal!
[   11.712000] APSDCapable[0]=0
[   11.712000] APSDCapable[1]=0
[   11.716000] APSDCapable[2]=0
[   11.720000] APSDCapable[3]=0
[   11.724000] APSDCapable[4]=0
[   11.724000] APSDCapable[5]=0
[   11.728000] APSDCapable[6]=0
[   11.732000] APSDCapable[7]=0
[   11.732000] APSDCapable[8]=0
[   11.736000] APSDCapable[9]=0
[   11.740000] APSDCapable[10]=0
[   11.744000] APSDCapable[11]=0
[   11.744000] APSDCapable[12]=0
[   11.748000] APSDCapable[13]=0
[   11.752000] APSDCapable[14]=0
[   11.756000] APSDCapable[15]=0
[   11.756000] default ApCliAPSDCapable[0]=0
[   11.764000] Key1Str is Invalid key length(0) or Type(0)
[   11.768000] Key2Str is Invalid key length(0) or Type(0)
[   11.776000] Key3Str is Invalid key length(0) or Type(0)
[   11.780000] Key4Str is Invalid key length(0) or Type(0)
[   11.812000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
[   11.816000] NVM is FLASH mode (pAd->flash_offset = 0x48000)
[   11.820000] get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=rai
[   11.836000] usbcore: registered new interface driver cdc_wdm
[   11.844000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.848000] Type=Linux
[   11.916000] Ralink APSoC Hardware Watchdog Timer
[   11.932000] usbcore: registered new interface driver usbserial
[   11.940000] usbcore: registered new interface driver usbserial_generic
[   11.944000] usbserial: USB Serial support registered for generic
[   11.980000] xt_time: kernel timezone is -0000
[   11.992000] PPP generic driver version 2.4.2
[   12.000000] NET: Registered protocol family 24
[   12.012000] usbcore: registered new interface driver option
[   12.016000] usbserial: USB Serial support registered for GSM modem (1-port)
[   15.428000] Raeth v3.1 (Tasklet)
[   15.436000] phy_free_head is 0x1b0c0000!!!
[   15.440000] phy_free_tail_phy is 0x1b0c1ff0!!!
[   15.448000] txd_pool=bb7fe000 phy_txd_pool=1B7FE000
[   15.452000] ei_local->skb_free start address is 0x9be014d4.
[   15.456000] free_txd: bb7fe010, ei_local->cpu_ptr: 1B7FE000
[   15.464000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
[   15.468000] ----------------+---------+--------
[   15.472000]      0xbb7fe000 0x1B7FE000 0x1B7FE000
[   15.476000] 
[   15.476000] phy_qrx_ring = 0x1b07d000, qrx_ring = 0xbb07d000
[   15.484000] 
[   15.484000] phy_rx_ring0 = 0x1b0a6000, rx_ring0 = 0xbb0a6000
[   15.508000] change HW-TRAP to 0x17ccf
[   15.512000] set LAN/WAN LLLLW
[   15.520000] GMAC1_MAC_ADRH -- : 0x000078a3
[   15.524000] GMAC1_MAC_ADRL -- : 0x5130198e
[   15.528000] CDMA_CSG_CFG = 81000000
[   15.532000] GDMA1_FWD_CFG = 20710000
[   15.540000] device eth0.1 entered promiscuous mode
[   15.544000] device eth0 entered promiscuous mode
[   15.552000] br-lan: port 1(eth0.1) entered forwarding state
[   15.556000] br-lan: port 1(eth0.1) entered forwarding state
[   15.792000] TX_BCN DESC bb534000 size = 320
[   15.796000] RX[0] DESC bb536000 size = 2048
[   15.800000] RX[1] DESC bb53a000 size = 2048
[   15.812000] E2pAccessMode=2
[   15.816000] cfg_mode=9
[   15.820000] cfg_mode=9
[   15.820000] wmode_band_equal(): Band Equal!
[   15.828000] APSDCapable[0]=1
[   15.832000] APSDCapable[1]=1
[   15.832000] APSDCapable[2]=1
[   15.836000] APSDCapable[3]=1
[   15.840000] APSDCapable[4]=1
[   15.840000] APSDCapable[5]=1
[   15.844000] APSDCapable[6]=1
[   15.848000] APSDCapable[7]=1
[   15.852000] APSDCapable[8]=1
[   15.852000] APSDCapable[9]=1
[   15.856000] APSDCapable[10]=1
[   15.860000] APSDCapable[11]=1
[   15.864000] APSDCapable[12]=1
[   15.864000] APSDCapable[13]=1
[   15.868000] APSDCapable[14]=1
[   15.872000] APSDCapable[15]=1
[   15.876000] default ApCliAPSDCapable[0]=1
[   15.884000] Key1Str is Invalid key length(0) or Type(0)
[   15.888000] Key2Str is Invalid key length(0) or Type(0)
[   15.896000] Key3Str is Invalid key length(0) or Type(0)
[   15.900000] Key4Str is Invalid key length(0) or Type(0)
[   15.964000] 20141106CmdAddressLenReq:(ret = 0)
[   15.968000] CmdFwStartReq: override = 1, address = 1048576
[   15.976000] CmdStartDLRsp: WiFI FW Download Success
[   15.996000] AsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC)
[   16.004000] efuse_probe: efuse = 10000002
[   16.008000] RtmpEepromGetDefault::e2p_dafault=1
[   16.012000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
[   16.016000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
[   16.024000] NVM is FLASH mode
[   16.028000] 1. Phy Mode = 14
[   16.032000] @@@  NICReadEEPROMParameters : pAd->FWLoad=0 
[   16.196000] Country Region from e2p = ffff
[   16.200000] tssi_1_target_pwr_g_band = 30
[   16.204000] 2. Phy Mode = 14
[   16.208000] 3. Phy Mode = 14
[   16.212000] NICInitPwrPinCfg(14): Not support for HIF_MT yet!
[   16.216000] NICInitializeAsic(586): Not support rtmp_mac_sys_reset () for HIF_MT yet!
[   16.224000] mt_mac_init()-->
[   16.228000] mt7603_init_mac_cr()-->
[   16.232000] AsicSetMacMaxLen(1559): Set the Max RxPktLen=1024!
[   16.236000] <--mt_mac_init()
[   16.240000] 	WTBL Segment 1 info:
[   16.244000] 		MemBaseAddr/FID:0x28000/0
[   16.248000] 		EntrySize/Cnt:32/128
[   16.252000] 	WTBL Segment 2 info:
[   16.252000] 		MemBaseAddr/FID:0x40000/0
[   16.256000] 		EntrySize/Cnt:64/128
[   16.260000] 	WTBL Segment 3 info:
[   16.264000] 		MemBaseAddr/FID:0x42000/64
[   16.268000] 		EntrySize/Cnt:64/128
[   16.272000] 	WTBL Segment 4 info:
[   16.276000] 		MemBaseAddr/FID:0x44000/128
[   16.280000] 		EntrySize/Cnt:32/128
[   16.284000] AntCfgInit(2384): Not support for HIF_MT yet!
[   16.288000] AsicSendCommandToMcu(3438): Not support for HIF_MT yet!
[   16.296000] AsicSendCommandToMcu(3438): Not support for HIF_MT yet!
[   16.300000] AsicSendCommandToMcu(3438): Not support for HIF_MT yet!
[   16.308000] AsicSendCommandToMcu(3438): Not support for HIF_MT yet!
[   16.312000] MCS Set = ff ff 00 00 01
[   16.316000] AsicSetChBusyStat(876): Not support for HIF_MT yet!
[   16.324000] [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
[   16.328000] AsicSetRalinkBurstMode(3751): Not support for HIF_MT yet!
[   16.336000] RTMPSetPiggyBack(798): Not support for HIF_MT yet!
[   16.360000] CmdChannelSwitch: control_chl = 1, central_chl = 3, BW = 1,						TXStream = 2, RXStream = 2
[   16.376000] mt7603_switch_channel(): Switch to Ch#3(2T2R), BBP_BW=1
[   16.380000] AsicSetTxPreamble(3738): Not support for HIF_MT yet!
[   16.388000] AsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0
[   16.392000] Main bssid = 78:a3:51:30:19:8c
[   16.400000] <==== rt28xx_init, Status=0
[   16.784000] flush result = ffffff
[   16.788000] check pse fid Q7:set_get_fid, q_idx:7 empty!!
[   16.928000] device ra0 entered promiscuous mode
[   16.932000] br-lan: port 2(ra0) entered forwarding state
[   16.940000] br-lan: port 2(ra0) entered forwarding state
[   17.160000] build time = 
[   17.164000] 20141115060606a
[   17.168000] rom patch for E3 IC
[   17.172000] 
[   17.172000] platform = 
[   17.176000] ALPS
[   17.176000] hw/sw version = 
[   17.180000] ��
[   17.180000] patch version = 
[   17.184000] 
[   17.200000] FW Version:0.0.00 Build:1
[   17.204000] Build Time:201410061140____
[   17.208000] fw for E3 IC
[   17.228000] RX[0] DESC bb786000 size = 4096
[   17.236000] RX[1] DESC bb78a000 size = 4096
[   17.252000] E2pAccessMode=2
[   17.256000] cfg_mode=14
[   17.256000] cfg_mode=14
[   17.260000] wmode_band_equal(): Band Not Equal!
[   17.268000] APSDCapable[0]=0
[   17.268000] APSDCapable[1]=0
[   17.272000] APSDCapable[2]=0
[   17.276000] APSDCapable[3]=0
[   17.280000] APSDCapable[4]=0
[   17.280000] APSDCapable[5]=0
[   17.284000] APSDCapable[6]=0
[   17.288000] APSDCapable[7]=0
[   17.292000] APSDCapable[8]=0
[   17.292000] APSDCapable[9]=0
[   17.296000] APSDCapable[10]=0
[   17.300000] APSDCapable[11]=0
[   17.300000] APSDCapable[12]=0
[   17.304000] APSDCapable[13]=0
[   17.308000] APSDCapable[14]=0
[   17.312000] APSDCapable[15]=0
[   17.312000] default ApCliAPSDCapable[0]=0
[   17.320000] Key1Str is Invalid key length(0) or Type(0)
[   17.328000] Key2Str is Invalid key length(0) or Type(0)
[   17.332000] Key3Str is Invalid key length(0) or Type(0)
[   17.336000] Key4Str is Invalid key length(0) or Type(0)
[   17.368000] 1. Phy Mode = 49
[   17.372000] get_chl_grp:illegal channel (167)
[   17.376000] get_chl_grp:illegal channel (167)
[   17.380000] get_chl_grp:illegal channel (169)
[   17.384000] get_chl_grp:illegal channel (169)
[   17.388000] get_chl_grp:illegal channel (171)
[   17.392000] get_chl_grp:illegal channel (171)
[   17.396000] get_chl_grp:illegal channel (173)
[   17.404000] get_chl_grp:illegal channel (173)
[   17.408000] Country Region from e2p = ffff
[   17.412000] mt76x2_read_temp_info_from_eeprom:: is_temp_tx_alc=0, temp_tx_alc_enable=0
[   17.420000] mt76x2_read_tx_alc_info_from_eeprom:: is_ePA_mode=0, ePA_type=3
[   17.424000] mt76x2_read_tx_alc_info_from_eeprom:: [5G band] high_temp_slope=0, low_temp_slope=0
[   17.436000] mt76x2_read_tx_alc_info_from_eeprom:: [2G band] high_temp_slope=0, low_temp_slope=0
[   17.444000] mt76x2_read_tx_alc_info_from_eeprom:: [5G band] tc_lower_bound=0, tc_upper_bound=0
[   17.452000] mt76x2_read_tx_alc_info_from_eeprom:: [2G band] tc_lower_bound=0, tc_upper_bound=0
[   17.460000] mt76x2_get_external_lna_gain::LNA type=0x11, BLNAGain=0x0, ALNAGain0=0x0, ALNAGain1=0x0, ALNAGain2=0x0
[   17.472000] 2. Phy Mode = 49
[   17.472000] 3. Phy Mode = 49
[   17.476000] andes_pci_fw_init
[   17.480000] 0x1300 = 00073200
[   17.512000] AntCfgInit: primary/secondary ant 0/1
[   17.520000] andes_load_cr:cr_type(2)
[   17.536000] ChipStructAssign(): MT76x2 hook !
[   17.540000] MCS Set = ff ff 00 00 01
[   17.544000] mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=60, HT-CentCh=62, VHT-CentCh=58
[   17.560000] br-lan: port 1(eth0.1) entered forwarding state
[   17.652000] APStartUp(): AP Set CentralFreq at 58(Prim=60, HT-CentCh=62, VHT-CentCh=58, BBP_BW=2)
[   17.668000] mt76x2_calibration(channel = 58)
[   18.060000] The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
[   18.068000] Main bssid = 78:a3:51:30:19:8d
[   18.072000] mt76x2_reinit_agc_gain:original agc_vga0 = 0x5c, agc_vga1 = 0x5c
[   18.076000] mt76x2_reinit_agc_gain:updated agc_vga0 = 0x5c, agc_vga1 = 0x5c
[   18.084000] mt76x2_reinit_hi_lna_gain:original hi_lna0 = 0x27, hi_lna1 = 0x27
[   18.092000] mt76x2_reinit_hi_lna_gain:updated hi_lna0 = 0x27, hi_lna1 = 0x27
[   18.100000] original vga value(chain0) = 5c
[   18.104000] original vga value(chain1) = 5c
[   18.108000] <==== rt28xx_init, Status=0
[   18.112000] get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=apclii
[   18.120000] RTMPDrvOpen(1):Check if PDMA is idle!
[   18.124000] RTMPDrvOpen(2):Check if PDMA is idle!
[   18.588000] device rai0 entered promiscuous mode
[   18.596000] br-lan: port 3(rai0) entered forwarding state
[   18.600000] br-lan: port 3(rai0) entered forwarding state
[   18.944000] br-lan: port 2(ra0) entered forwarding state
[   20.604000] br-lan: port 3(rai0) entered forwarding state
[   29.976000] ESW: Link Status Changed - Port3 Link UP
[   32.636000] ESW: Link Status Changed - Port3 Link Down
[   36.044000] ESW: Link Status Changed - Port3 Link UP
[   59.432000] ESW: Link Status Changed - Port3 Link Down
[   62.624000] ESW: Link Status Changed - Port3 Link UP
[  261.700000] ESW: Link Status Changed - Port4 Link UP

root at OpenWrt:~# cat /proc/mt7621/esw_cnt

		  <<CPU>>			 
		    |				 
+-----------------------------------------------+
|		  <<PSE>>		        |
+-----------------------------------------------+
		   |				 
+-----------------------------------------------+
|		  <<GDMA>>		        |
| GDMA1_RX_GBCNT  : 0000111192 (Rx Good Bytes)	|
| GDMA1_RX_GPCNT  : 0000000405 (Rx Good Pkts)	|
| GDMA1_RX_OERCNT : 0000000000 (overflow error)	|
| GDMA1_RX_FERCNT : 0000000000 (FCS error)	|
| GDMA1_RX_SERCNT : 0000000000 (too short)	|
| GDMA1_RX_LERCNT : 0000000000 (too long)	|
| GDMA1_RX_CERCNT : 0000000000 (checksum error)	|
| GDMA1_RX_FCCNT  : 0000000000 (flow control)	|
| GDMA1_TX_SKIPCNT: 0000000000 (about count)	|
| GDMA1_TX_COLCNT : 0000000000 (collision count)	|
| GDMA1_TX_GBCNT  : 0000096949 (Tx Good Bytes)	|
| GDMA1_TX_GPCNT  : 0000000270 (Tx Good Pkts)	|
|						|
| GDMA2_RX_GBCNT  : 0000000000 (Rx Good Bytes)	|
| GDMA2_RX_GPCNT  : 0000000000 (Rx Good Pkts)	|
| GDMA2_RX_OERCNT : 0000000000 (overflow error)	|
| GDMA2_RX_FERCNT : 0000000000 (FCS error)	|
| GDMA2_RX_SERCNT : 0000000000 (too short)	|
| GDMA2_RX_LERCNT : 0000000000 (too long)	|
| GDMA2_RX_CERCNT : 0000000000 (checksum error)	|
| GDMA2_RX_FCCNT  : 0000000000 (flow control)	|
| GDMA2_TX_SKIPCNT: 0000000000 (skip)		|
| GDMA2_TX_COLCNT : 0000000000 (collision)	|
| GDMA2_TX_GBCNT  : 0000000000 (Tx Good Bytes)	|
| GDMA2_TX_GPCNT  : 0000000000 (Tx Good Pkts)	|
+-----------------------------------------------+
=====================    Port0    Port1    Port2    Port3    Port4    Port5    Port6
Tx Drop Packet      :       0        0        0        0        0        0        0 
Tx CRC Error        :       0        0        0        0        0        0        0 
Tx Unicast Packet   :       0        0        0      252       16        0      214 
Tx Multicast Packet :       0        0        0        0        1        0      186 
Tx Broadcast Packet :       0        0        0        0        0        0        3 
Tx Collision Event  :       0        0        0        0        0        0        0 
Tx Pause Packet     :       0        0        0        0        0        0        0 
Rx Drop Packet      :       0        0        0        0        0        0        0 
Rx Filtering Packet :       0        0        0        0        0        0        0 
Rx Unicast Packet   :       0        0        0      202       12        0      268 
Rx Multicast Packet :       0        0        0        0      186        0        1 
Rx Broadcast Packet :       0        0        0        0        3        0        0 
Rx Alignment Error  :       0        0        0        0        0        0        0 
Rx CRC Error	    :       0        0        0        0        0        0        0 
Rx Undersize Error  :       0        0        0        0        0        0        0 
Rx Fragment Error   :       0        0        0        0        0        0        0 
Rx Oversize Error   :       0        0        0        0        0        0        0 
Rx Jabber Error     :       0        0        0        0        0        0        0 
Rx Pause Packet     :       0        0        0        0        0        0        0 

root at OpenWrt:~# cat /proc/mt7621/cp0
CP0 Register dump --
CP0_INDEX	: 0x0000000a
CP0_RANDOM	: 0x0000000e
CP0_ENTRYLO0	: 0x008e0d6a
CP0_ENTRYLO1	: 0x008e0e2a
CP0_CONF	: 0x008e0e2a
CP0_CONTEXT	: 0x043b88e0
CP0_PAGEMASK	: 0x00000000
CP0_WIRED	: 0x00000000
CP0_INFO	: 0x2000000f
CP0_BADVADDR	: 0x7711c254
CP0_COUNT	: 0x332c08f6
CP0_ENTRYHI	: 0x7711c02b
CP0_COMPARE	: 0x333305fe
CP0_STATUS	: 0x1100fc01
CP0_CAUSE	: 0x10800020
CP0_EPC	: 0x770fe868
CP0_PRID	: 0x0001992f
CP0_CONFIG	: 0x80240485
CP0_LLADDR	: 0x1afd5aa0
CP0_WATCHLO	: 0x00000000
CP0_WATCHHI	: 0x80000ff8
CP0_XCONTEXT	: 0xffffffff
CP0_FRAMEMASK	: 0xffffffff
CP0_DIAGNOSTIC	: 0xffffffff
CP0_DEBUG	: 0x0202cc10
CP0_DEPC	: 0x22348001
CP0_PERFORMANCE	: 0x80000000
CP0_ECC	: 0x00020042
CP0_CACHEERR	: 0x74002c20
CP0_TAGLO	: 0x00000000
CP0_TAGHI	: 0xffffffff
CP0_ERROREPC	: 0x9020c450
CP0_DESAVE	: 0xd0e98063

root at OpenWrt:/sys# logread 
Thu Nov 24 08:49:52 2016 user.err syslog: mounting /dev/mtdblock5 (squashfs) as /mnt/mtdblock5 failed (-1) - Unknown error -1
Thu Nov 24 08:49:52 2016 user.emerg syslog: block: mounting /dev/mtdblock5 (squashfs) as /mnt/mtdblock5 failed (-1) - Unknown error -1
Thu Nov 24 08:49:52 2016 user.err syslog: /dev/mtdblock6 is already mounted
Thu Nov 24 08:49:52 2016 user.emerg syslog: block: /dev/mtdblock6 is already mounted
Thu Nov 24 08:49:52 2016 user.emerg syslog: killall: ap_client: no process killed
Thu Nov 24 08:49:52 2016 user.emerg syslog: killall: ap_client: no process killed
Thu Nov 24 08:49:52 2016 kern.warn kernel: [   15.428000] Raeth v3.1 (Tasklet)
Thu Nov 24 08:49:52 2016 kern.warn kernel: [   15.436000] phy_free_head is 0x1b0c0000!!!
Thu Nov 24 08:49:52 2016 kern.warn kernel: [   15.440000] phy_free_tail_phy is 0x1b0c1ff0!!!
Thu Nov 24 08:49:52 2016 kern.warn kernel: [   15.448000] txd_pool=bb7fe000 phy_txd_pool=1B7FE000
Thu Nov 24 08:49:52 2016 kern.warn kernel: [   15.452000] ei_local->skb_free start address is 0x9be014d4.
Thu Nov 24 08:49:52 2016 kern.warn kernel: [   15.456000] free_txd: bb7fe010, ei_local->cpu_ptr: 1B7FE000
Thu Nov 24 08:49:52 2016 kern.warn kernel: [   15.464000]  POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.468000] ----------------+---------+--------
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.472000]      0xbb7fe000 0x1B7FE000 0x1B7FE000
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.476000] 
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.476000] phy_qrx_ring = 0x1b07d000, qrx_ring = 0xbb07d000
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.484000] 
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.484000] phy_rx_ring0 = 0x1b0a6000, rx_ring0 = 0xbb0a6000
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.508000] change HW-TRAP to 0x17ccf
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.512000] set LAN/WAN LLLLW
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.520000] GMAC1_MAC_ADRH -- : 0x000078a3
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.524000] GMAC1_MAC_ADRL -- : 0x5130198e
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.528000] CDMA_CSG_CFG = 81000000
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.532000] GDMA1_FWD_CFG = 20710000
Thu Nov 24 08:49:53 2016 kern.info kernel: [   15.540000] device eth0.1 entered promiscuous mode
Thu Nov 24 08:49:53 2016 kern.info kernel: [   15.544000] device eth0 entered promiscuous mode
Thu Nov 24 08:49:53 2016 kern.info kernel: [   15.552000] br-lan: port 1(eth0.1) entered forwarding state
Thu Nov 24 08:49:53 2016 kern.info kernel: [   15.556000] br-lan: port 1(eth0.1) entered forwarding state
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'lan' is enabled
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'lan' is setting up now
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'lan' is now up
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface '4G_WAN' is setting up now
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'loopback' is enabled
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'loopback' is setting up now
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'loopback' is now up
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'wan' is enabled
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Network device 'eth0' link is up
Thu Nov 24 08:49:53 2016 daemon.notice netifd: VLAN 'eth0.2' link is up
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'wan' has link connectivity 
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'wan' is setting up now
Thu Nov 24 08:49:53 2016 daemon.notice netifd: VLAN 'eth0.1' link is up
Thu Nov 24 08:49:53 2016 daemon.notice netifd: VLAN 'eth0.1' link is down
Thu Nov 24 08:49:53 2016 daemon.notice netifd: VLAN 'eth0.1' link is up
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Bridge 'br-lan' link is up
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'lan' has link connectivity 
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Network device 'lo' link is up
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'loopback' has link connectivity 
Thu Nov 24 08:49:53 2016 daemon.notice netifd: VLAN 'eth0.2' link is down
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'wan' has link connectivity loss
Thu Nov 24 08:49:53 2016 daemon.notice netifd: VLAN 'eth0.2' link is up
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface 'wan' has link connectivity 
Thu Nov 24 08:49:53 2016 daemon.notice netifd: Interface '4G_WAN' is now down
Thu Nov 24 08:49:53 2016 daemon.notice netifd: wan (1057): udhcpc (v1.22.1) started
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.792000] TX_BCN DESC bb534000 size = 320
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.796000] RX[0] DESC bb536000 size = 2048
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.800000] RX[1] DESC bb53a000 size = 2048
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.812000] E2pAccessMode=2
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.816000] cfg_mode=9
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.820000] cfg_mode=9
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.820000] wmode_band_equal(): Band Equal!
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.828000] APSDCapable[0]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.832000] APSDCapable[1]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.832000] APSDCapable[2]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.836000] APSDCapable[3]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.840000] APSDCapable[4]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.840000] APSDCapable[5]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.844000] APSDCapable[6]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.848000] APSDCapable[7]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.852000] APSDCapable[8]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.852000] APSDCapable[9]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.856000] APSDCapable[10]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.860000] APSDCapable[11]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.864000] APSDCapable[12]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.864000] APSDCapable[13]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.868000] APSDCapable[14]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.872000] APSDCapable[15]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.876000] default ApCliAPSDCapable[0]=1
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.884000] Key1Str is Invalid key length(0) or Type(0)
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.888000] Key2Str is Invalid key length(0) or Type(0)
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.896000] Key3Str is Invalid key length(0) or Type(0)
Thu Nov 24 08:49:53 2016 kern.warn kernel: [   15.900000] Key4Str is Invalid key length(0) or Type(0)
Thu Nov 24 08:49:53 2016 authpriv.info dropbear[1043]: Not backgrounding
Thu Nov 24 08:49:53 2016 daemon.notice netifd: wan (1057): Sending discover...
Thu Nov 24 08:49:53 2016 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Thu Nov 24 08:49:54 2016 user.info syslog: module is already loaded - xt_multiport
Thu Nov 24 08:49:54 2016 kern.emerg already loaded - xt_multiport
Thu Nov 24 08:49:54 2016 user.info syslog: module is already loaded - xt_comment
Thu Nov 24 08:49:54 2016 kern.emerg already loaded - xt_comment
Thu Nov 24 08:49:54 2016 user.info syslog: module is already loaded - xt_length
Thu Nov 24 08:49:54 2016 kern.emerg already loaded - xt_length
Thu Nov 24 08:49:54 2016 daemon.notice netifd: Network device 'ra0' link is up
Thu Nov 24 08:49:54 2016 user.emerg syslog: killall: 8021xd: no process killed
Thu Nov 24 08:49:55 2016 user.info syslog: module is already loaded - xt_multiport
Thu Nov 24 08:49:55 2016 kern.emerg already loaded - xt_multiport
Thu Nov 24 08:49:55 2016 user.info syslog: module is already loaded - xt_comment
Thu Nov 24 08:49:55 2016 kern.emerg already loaded - xt_comment
Thu Nov 24 08:49:55 2016 user.info syslog: module is already loaded - xt_length
Thu Nov 24 08:49:55 2016 kern.emerg already loaded - xt_length
Thu Nov 24 08:49:56 2016 daemon.notice netifd: Network device 'rai0' link is up
Thu Nov 24 08:49:56 2016 user.emerg syslog: killall: 8021xdi: no process killed
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2004, value=ff0003
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2104, value=ff0003
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2204, value=ff0003
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2304, value=ff0003
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2404, value=ff0003
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2504, value=ff0003
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2010, value=810000c0
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2110, value=810000c0
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2210, value=810000c0
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2310, value=810000c0
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2410, value=810000c0
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2510, value=810000c0
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2610, value=81000000
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2710, value=81000000
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2604, value=20ff0003
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2704, value=20ff0003
Thu Nov 24 08:49:56 2016 user.emerg syslog: Special Tag Disabled
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2610, value=81000000
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2014, value=10001
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2114, value=10001
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2214, value=10001
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2314, value=10001
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2414, value=10002
Thu Nov 24 08:49:56 2016 user.emerg syslog: switch reg write offset=2514, value=10001
Thu Nov 24 08:49:56 2016 user.emerg syslog: REG_ESW_WT_MAC_ATC is 0x7ff0002
done.ov 24 08:49:56 2016 user.emerg syslog: 
Thu Nov 24 08:49:56 2016 user.info syslog: module is not loaded
Thu Nov 24 08:49:56 2016 user.emerg syslog: kmod: module is not loaded
Thu Nov 24 08:49:56 2016 user.emerg syslog: Failed to find hw_nat. Maybe it is a built in module ?
Thu Nov 24 08:49:56 2016 user.emerg syslog: 78:a3:51:30:19:8e
Thu Nov 24 08:49:56 2016 user.emerg syslog: 78:a3:51
Thu Nov 24 08:49:56 2016 user.emerg syslog: 78:a3:51:30:19:8e
Thu Nov 24 08:49:56 2016 user.emerg syslog: 78:a3:51
Thu Nov 24 08:49:56 2016 daemon.notice netifd: wan (1057): Sending discover...
Thu Nov 24 08:49:56 2016 user.emerg syslog: - init complete -
Thu Nov 24 08:49:58 2016 daemon.info dnsmasq[1532]: started, version 2.71 cachesize 150
Thu Nov 24 08:49:58 2016 daemon.info dnsmasq[1532]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC
Thu Nov 24 08:49:58 2016 daemon.info dnsmasq-dhcp[1532]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Thu Nov 24 08:49:58 2016 daemon.info dnsmasq[1532]: using local addresses only for domain lan
Thu Nov 24 08:49:58 2016 daemon.warn dnsmasq[1532]: no servers found in /tmp/resolv.conf.auto, will retry
Thu Nov 24 08:49:58 2016 daemon.info dnsmasq[1532]: read /etc/hosts - 1 addresses
Thu Nov 24 08:49:58 2016 daemon.info dnsmasq[1532]: read /tmp/hosts/dhcp - 1 addresses
Thu Nov 24 08:49:58 2016 daemon.info dnsmasq-dhcp[1532]: read /etc/ethers - 0 addresses
Thu Nov 24 08:49:59 2016 daemon.notice netifd: wan (1057): Sending discover...
Thu Nov 24 08:50:42 2016 daemon.warn odhcpd[893]: DHCPV6 CONFIRM IA_NA from 0004e3da32e42d2bdf31497d8074fc1fd91c on br-lan: not on-link 
Thu Nov 24 08:50:42 2016 daemon.info dnsmasq[1532]: read /etc/hosts - 1 addresses
Thu Nov 24 08:50:42 2016 daemon.info dnsmasq[1532]: read /tmp/hosts/odhcpd - 0 addresses
Thu Nov 24 08:50:42 2016 daemon.info dnsmasq[1532]: read /tmp/hosts/dhcp - 1 addresses
Thu Nov 24 08:50:42 2016 daemon.info dnsmasq-dhcp[1532]: read /etc/ethers - 0 addresses
Thu Nov 24 08:50:42 2016 daemon.warn odhcpd[893]: DHCPV6 SOLICIT IA_NA from 0004e3da32e42d2bdf31497d8074fc1fd91c on br-lan: ok fdcc:61e1:759f::32b/128 
Thu Nov 24 08:50:43 2016 daemon.info dnsmasq-dhcp[1532]: DHCPREQUEST(br-lan) 192.168.1.66 b0:6e:bf:37:2c:5d 
Thu Nov 24 08:50:43 2016 daemon.info dnsmasq-dhcp[1532]: DHCPNAK(br-lan) 192.168.1.66 b0:6e:bf:37:2c:5d address not available
Thu Nov 24 08:50:43 2016 daemon.warn odhcpd[893]: DHCPV6 REQUEST IA_NA from 0004e3da32e42d2bdf31497d8074fc1fd91c on br-lan: ok fdcc:61e1:759f::32b/128 
Thu Nov 24 08:50:46 2016 daemon.info dnsmasq-dhcp[1532]: DHCPDISCOVER(br-lan) b0:6e:bf:37:2c:5d 
Thu Nov 24 08:50:46 2016 daemon.info dnsmasq-dhcp[1532]: DHCPOFFER(br-lan) 192.168.1.159 b0:6e:bf:37:2c:5d 
Thu Nov 24 08:50:46 2016 daemon.info dnsmasq-dhcp[1532]: DHCPREQUEST(br-lan) 192.168.1.159 b0:6e:bf:37:2c:5d 
Thu Nov 24 08:50:46 2016 daemon.info dnsmasq-dhcp[1532]: DHCPACK(br-lan) 192.168.1.159 b0:6e:bf:37:2c:5d lud-MN1
Thu Nov 24 08:51:35 2016 authpriv.info dropbear[1601]: Child connection from 192.168.1.159:44120
Thu Nov 24 08:51:36 2016 authpriv.info dropbear[1601]: Exit before auth: Exited normally
Thu Nov 24 08:51:41 2016 authpriv.info dropbear[1602]: Child connection from 192.168.1.159:44122
Thu Nov 24 08:51:44 2016 authpriv.warn dropbear[1602]: Login attempt for nonexistent user from 192.168.1.159:44122
Thu Nov 24 08:51:44 2016 authpriv.warn dropbear[1602]: Login attempt for nonexistent user from 192.168.1.159:44122
Thu Nov 24 08:51:44 2016 authpriv.warn dropbear[1602]: Login attempt for nonexistent user from 192.168.1.159:44122
Thu Nov 24 08:51:44 2016 authpriv.warn dropbear[1602]: Login attempt for nonexistent user from 192.168.1.159:44122
Thu Nov 24 08:51:44 2016 authpriv.warn dropbear[1602]: Login attempt for nonexistent user from 192.168.1.159:44122
Thu Nov 24 08:51:46 2016 authpriv.info dropbear[1602]: Exit before auth: Exited normally
Thu Nov 24 08:51:48 2016 authpriv.info dropbear[1603]: Child connection from 192.168.1.159:44124
Thu Nov 24 08:51:51 2016 authpriv.notice dropbear[1603]: Password auth succeeded for 'root' from 192.168.1.159:44124
Thu Nov 24 08:54:02 2016 daemon.notice netifd: wan (1057): Sending select for 192.168.1.52...
Thu Nov 24 08:54:02 2016 daemon.notice netifd: wan (1057): Lease of 192.168.1.52 obtained, lease time 86400
Thu Nov 24 08:54:02 2016 daemon.notice netifd: Interface 'wan6' is enabled
Thu Nov 24 08:54:02 2016 daemon.notice netifd: Network alias 'eth0.2' link is up
Thu Nov 24 08:54:02 2016 daemon.notice netifd: Interface 'wan6' has link connectivity 
Thu Nov 24 08:54:02 2016 daemon.notice netifd: Interface 'wan6' is setting up now
Thu Nov 24 08:54:02 2016 daemon.notice netifd: Interface 'wan' is now up
Thu Nov 24 08:54:02 2016 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq[1532]: exiting on receipt of SIGTERM
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq[1872]: started, version 2.71 cachesize 150
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq[1872]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq-dhcp[1872]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq[1872]: using local addresses only for domain lan
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq[1872]: reading /tmp/resolv.conf.auto
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq[1872]: using local addresses only for domain lan
Thu Nov 24 08:54:03 2016 daemon.warn dnsmasq[1872]: ignoring nameserver 192.168.1.1 - local interface
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq[1872]: read /etc/hosts - 1 addresses
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq[1872]: read /tmp/hosts/dhcp - 1 addresses
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq[1872]: read /tmp/hosts/odhcpd - 0 addresses
Thu Nov 24 08:54:03 2016 daemon.info dnsmasq-dhcp[1872]: read /etc/ethers - 0 addresses
Thu Nov 24 08:54:03 2016 daemon.notice netifd: Interface 'wan6' is now up
Thu Nov 24 08:54:03 2016 user.notice firewall: Reloading firewall due to ifup of wan6 (eth0.2)
Thu Nov 24 08:54:04 2016 daemon.warn odhcpd[893]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!
Thu Nov 24 08:54:05 2016 daemon.info dnsmasq[1872]: reading /tmp/resolv.conf.auto
Thu Nov 24 08:54:05 2016 daemon.info dnsmasq[1872]: using local addresses only for domain lan
Thu Nov 24 08:54:05 2016 daemon.warn dnsmasq[1872]: ignoring nameserver 192.168.1.1 - local interface
Thu Nov 24 08:54:05 2016 daemon.info dnsmasq[1872]: using nameserver 2a02:8420:6754:af01::1#53
Mon Aug 13 16:31:55 2018 daemon.warn odhcpd[893]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!
Mon Aug 13 16:34:25 2018 daemon.warn odhcpd[893]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!
Mon Aug 13 16:36:53 2018 authpriv.info dropbear[2084]: Child connection from 192.168.1.159:44182
Mon Aug 13 16:36:56 2018 authpriv.notice dropbear[2084]: Password auth succeeded for 'root' from 192.168.1.159:44182
Mon Aug 13 16:37:06 2018 authpriv.info dropbear[2084]: Exit (root): Disconnect received
Mon Aug 13 16:37:56 2018 daemon.warn odhcpd[893]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!
Mon Aug 13 16:41:33 2018 daemon.warn odhcpd[893]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!
Mon Aug 13 16:46:29 2018 daemon.warn odhcpd[893]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!
Mon Aug 13 16:50:10 2018 daemon.warn odhcpd[893]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!
Mon Aug 13 16:56:38 2018 daemon.warn odhcpd[893]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!



root at OpenWrt:~# uci export
package ddns

config service 'myddns'
	option enabled '0'
	option interface 'wan'
	option use_syslog '1'
	option service_name 'dyndns.org'
	option domain 'mypersonaldomain.dyndns.org'
	option username 'myusername'
	option password 'mypassword'
	option use_https '0'
	option force_interval '72'
	option force_unit 'hours'
	option check_interval '10'
	option check_unit 'minutes'
	option retry_interval '60'
	option retry_unit 'seconds'
	option ip_source 'web'
	option ip_url 'http://checkip.dyndns.com/'

package dhcp

config dnsmasq
	option domainneeded '1'
	option boguspriv '1'
	option filterwin2k '0'
	option localise_queries '1'
	option rebind_protection '1'
	option rebind_localhost '1'
	option local '/lan/'
	option domain 'lan'
	option expandhosts '1'
	option nonegcache '0'
	option authoritative '1'
	option readethers '1'
	option leasefile '/tmp/dhcp.leases'
	option resolvfile '/tmp/resolv.conf.auto'

config dhcp 'lan'
	option interface 'lan'
	option start '100'
	option limit '150'
	option leasetime '12h'
	option dhcpv6 'server'
	option ra 'server'

config dhcp 'wan'
	option interface 'wan'
	option ignore '1'

config odhcpd 'odhcpd'
	option maindhcp '0'
	option leasefile '/tmp/hosts/odhcpd'
	option leasetrigger '/usr/sbin/odhcpd-update'

package dropbear

config dropbear
	option PasswordAuth 'on'
	option RootPasswordAuth 'on'
	option Port '22'

package firewall

config defaults
	option syn_flood '1'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'REJECT'

config zone
	option name 'lan'
	list network 'lan'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'ACCEPT'

config zone
	option name 'wan'
	list network 'wan'
	list network 'wan6'
	list network '4G_WAN'
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option masq '1'
	option mtu_fix '1'

config forwarding
	option src 'lan'
	option dest 'wan'

config rule
	option name 'Allow-DHCP-Renew'
	option src 'wan'
	option proto 'udp'
	option dest_port '68'
	option target 'ACCEPT'
	option family 'ipv4'

config rule
	option name 'Allow-Ping'
	option src 'wan'
	option proto 'icmp'
	option icmp_type 'echo-request'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-DHCPv6'
	option src 'wan'
	option proto 'udp'
	option src_ip 'fe80::/10'
	option src_port '547'
	option dest_ip 'fe80::/10'
	option dest_port '546'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Input'
	option src 'wan'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	list icmp_type 'router-solicitation'
	list icmp_type 'neighbour-solicitation'
	list icmp_type 'router-advertisement'
	list icmp_type 'neighbour-advertisement'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Forward'
	option src 'wan'
	option dest '*'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config include
	option path '/etc/firewall.user'

package fstab

config global
	option anon_swap '0'
	option anon_mount '1'
	option auto_swap '1'
	option auto_mount '1'
	option delay_root '5'
	option check_fs '0'

config mount
	option target '/mnt/sd*'
	option enabled '1'

config mount
	option target '/mnt/mmcblk*'
	option enabled '1'

package luci

config core 'main'
	option lang 'auto'
	option mediaurlbase '/luci-static/openwrt.org'
	option resourcebase '/luci-static/resources'

config extern 'flash_keep'
	option uci '/etc/config/'
	option dropbear '/etc/dropbear/'
	option openvpn '/etc/openvpn/'
	option passwd '/etc/passwd'
	option opkg '/etc/opkg.conf'
	option firewall '/etc/firewall.user'
	option uploads '/lib/uci/upload/'

config internal 'languages'
	option zh_cn 'chinese'
	option en 'English'

config internal 'sauth'
	option sessionpath '/tmp/luci-sessions'
	option sessiontime '3600'

config internal 'ccache'
	option enable '1'

config internal 'themes'
	option Bootstrap '/luci-static/bootstrap'

package network

config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'fdcc:61e1:759f::/48'

config interface 'lan'
	option ifname 'eth0.1'
	option force_link '1'
	option type 'bridge'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '60'
	option macaddr '78:A3:51:30:19:8E'

config interface 'wan'
	option ifname 'eth0.2'
	option proto 'dhcp'
	option macaddr '78:A3:51:30:19:8F'

config interface 'wan6'
	option ifname '@wan'
	option proto 'dhcpv6'

config interface '4G_WAN'
	option proto '3g'
	option device '/dev/ttyUSB1'

package qos

config interface 'wan'
	option classgroup 'Default'
	option enabled '0'
	option upload '128'
	option download '1024'

config classify
	option target 'Priority'
	option ports '22,53'
	option comment 'ssh, dns'

config classify
	option target 'Normal'
	option proto 'tcp'
	option ports '20,21,25,80,110,443,993,995'
	option comment 'ftp, smtp, http(s), imap'

config classify
	option target 'Express'
	option ports '5190'
	option comment 'AOL, iChat, ICQ'

config default
	option target 'Express'
	option proto 'udp'
	option pktsize '-500'

config reclassify
	option target 'Priority'
	option proto 'icmp'

config default
	option target 'Bulk'
	option portrange '1024-65535'

config classgroup 'Default'
	option classes 'Priority Express Normal Bulk'
	option default 'Normal'

config class 'Priority'
	option packetsize '400'
	option avgrate '10'
	option priority '20'

config class 'Priority_down'
	option packetsize '1000'
	option avgrate '10'

config class 'Express'
	option packetsize '1000'
	option avgrate '50'
	option priority '10'

config class 'Normal'
	option packetsize '1500'
	option packetdelay '100'
	option avgrate '10'
	option priority '5'

config class 'Normal_down'
	option avgrate '20'

config class 'Bulk'
	option avgrate '1'
	option packetdelay '200'

package samba

config samba
	option name 'OpenWrt'
	option workgroup 'WORKGROUP'
	option description 'OpenWrt'
	option homes '1'

package system

config system
	option hostname 'OpenWrt'
	option timezone 'UTC'

config timeserver 'ntp'
	list server '0.openwrt.pool.ntp.org'
	list server '1.openwrt.pool.ntp.org'
	list server '2.openwrt.pool.ntp.org'
	list server '3.openwrt.pool.ntp.org'
	option enabled '1'
	option enable_server '0'

package ucitrack

config network
	option init 'network'
	list affects 'dhcp'
	list affects 'radvd'

config wireless
	list affects 'network'

config firewall
	option init 'firewall'
	list affects 'luci-splash'
	list affects 'qos'
	list affects 'miniupnpd'

config olsr
	option init 'olsrd'

config dhcp
	option init 'dnsmasq'

config dropbear
	option init 'dropbear'

config httpd
	option init 'httpd'

config fstab
	option init 'fstab'

config qos
	option init 'qos'

config system
	option init 'led'
	list affects 'luci_statistics'

config luci_splash
	option init 'luci_splash'

config upnpd
	option init 'miniupnpd'

config ntpclient
	option init 'ntpclient'

config samba
	option init 'samba'

config tinyproxy
	option init 'tinyproxy'

config 6relayd
	option init '6relayd'

package uhttpd

config uhttpd 'main'
	list listen_http '0.0.0.0:80'
	list listen_http '[::]:80'
	list listen_https '0.0.0.0:443'
	list listen_https '[::]:443'
	option home '/www'
	option rfc1918_filter '1'
	option max_requests '3'
	option max_connections '100'
	option cert '/etc/uhttpd.crt'
	option key '/etc/uhttpd.key'
	option cgi_prefix '/cgi-bin'
	option script_timeout '60'
	option network_timeout '30'
	option http_keepalive '20'
	option tcp_keepalive '1'
	option ubus_prefix '/ubus'

config cert 'px5g'
	option days '730'
	option bits '1024'
	option country 'DE'
	option state 'Berlin'
	option location 'Berlin'
	option commonname 'OpenWrt'

package wireless

config wifi-device 'mt7603e'
	option type 'mt7603e'
	option vendor 'ralink'
	option band '2.4G'
	option channel '1'
	option radio '1'
	option wifimode '9'
	option bw '1'
	option country 'None'
	option region '5'
	option bgprotect '0'
	option beacon '100'
	option dtim '1'
	option fragthres '2346'
	option rtsthres '2347'
	option txpower '100'
	option txpreamble '0'
	option shortslot '1'
	option txburst '1'
	option pktaggre '1'
	option ieee80211h '0'
	option ht_bsscoexist '0'
	option ht_extcha '1'
	option ht_opmode '0'
	option ht_gi '1'
	option ht_rdg '0'
	option ht_stbc '1'
	option ht_amsdu '0'
	option ht_autoba '1'
	option ht_badec '0'
	option ht_distkip '1'
	option ht_ldpc '0'
	option ht_txstream '2'
	option ht_rxstream '2'

config wifi-iface
	option device 'mt7603e'
	option ifname 'ra0'
	option network 'lan'
	option mode 'ap'
	option ssid 'mt7603e-198E'
	option wmm '1'
	option encryption 'none'

config wifi-device 'mt7612e'
	option type 'mt7612e'
	option vendor 'ralink'
	option band '5G'
	option autoch '2'
	option radio '1'
	option wifimode '14'
	option channel '60'
	option bw '2'
	option country 'None'
	option aregion '7'
	option bgprotect '0'
	option beacon '100'
	option dtim '1'
	option fragthres '2346'
	option rtsthres '2347'
	option txpower '100'
	option txpreamble '0'
	option shortslot '1'
	option txburst '1'
	option pktaggre '1'
	option ieee80211h '0'
	option ht_opmode '0'
	option ht_gi '1'
	option ht_rdg '0'
	option ht_stbc '1'
	option ht_amsdu '0'
	option ht_autoba '1'
	option ht_badec '0'
	option ht_distkip '1'
	option ht_ldpc '0'
	option vht_stbc '1'
	option vht_sgi '1'
	option vht_bw_sig '0'
	option vht_ldpc '0'
	option ht_txstream '2'
	option ht_rxstream '2'

config wifi-iface
	option device 'mt7612e'
	option ifname 'rai0'
	option network 'lan'
	option mode 'ap'
	option ssid 'mt7612e-198E'
	option wmm '1'
	option encryption 'none'

root at OpenWrt:~# 



root at OpenWrt:/sys# find -maxdepth 3 -name module -prune -o -print
.
./fs
./fs/ext4
./fs/ext4/features
./bus
./bus/cpu
./bus/cpu/devices
./bus/cpu/drivers
./bus/cpu/uevent
./bus/cpu/drivers_probe
./bus/cpu/drivers_autoprobe
./bus/i2c
./bus/i2c/devices
./bus/i2c/drivers
./bus/i2c/uevent
./bus/i2c/drivers_probe
./bus/i2c/drivers_autoprobe
./bus/ide
./bus/ide/devices
./bus/ide/drivers
./bus/ide/uevent
./bus/ide/drivers_probe
./bus/ide/drivers_autoprobe
./bus/mmc
./bus/mmc/devices
./bus/mmc/drivers
./bus/mmc/uevent
./bus/mmc/drivers_probe
./bus/mmc/drivers_autoprobe
./bus/pci
./bus/pci/devices
./bus/pci/slots
./bus/pci/drivers
./bus/pci/rescan
./bus/pci/uevent
./bus/pci/drivers_probe
./bus/pci/resource_alignment
./bus/pci/drivers_autoprobe
./bus/spi
./bus/spi/devices
./bus/spi/drivers
./bus/spi/uevent
./bus/spi/drivers_probe
./bus/spi/drivers_autoprobe
./bus/usb
./bus/usb/devices
./bus/usb/drivers
./bus/usb/uevent
./bus/usb/drivers_probe
./bus/usb/drivers_autoprobe
./bus/usb-serial
./bus/usb-serial/devices
./bus/usb-serial/drivers
./bus/usb-serial/uevent
./bus/usb-serial/drivers_probe
./bus/usb-serial/drivers_autoprobe
./bus/scsi
./bus/scsi/devices
./bus/scsi/drivers
./bus/scsi/uevent
./bus/scsi/drivers_probe
./bus/scsi/drivers_autoprobe
./bus/sdio
./bus/sdio/devices
./bus/sdio/drivers
./bus/sdio/uevent
./bus/sdio/drivers_probe
./bus/sdio/drivers_autoprobe
./bus/clocksource
./bus/clocksource/devices
./bus/clocksource/drivers
./bus/clocksource/uevent
./bus/clocksource/drivers_probe
./bus/clocksource/drivers_autoprobe
./bus/workqueue
./bus/workqueue/devices
./bus/workqueue/drivers
./bus/workqueue/uevent
./bus/workqueue/drivers_probe
./bus/workqueue/drivers_autoprobe
./bus/platform
./bus/platform/devices
./bus/platform/drivers
./bus/platform/uevent
./bus/platform/drivers_probe
./bus/platform/drivers_autoprobe
./bus/mdio_bus
./bus/mdio_bus/devices
./bus/mdio_bus/drivers
./bus/mdio_bus/uevent
./bus/mdio_bus/drivers_probe
./bus/mdio_bus/drivers_autoprobe
./dev
./dev/char
./dev/char/1:1
./dev/char/1:3
./dev/char/1:4
./dev/char/1:5
./dev/char/1:7
./dev/char/1:8
./dev/char/1:9
./dev/char/5:0
./dev/char/5:1
./dev/char/5:2
./dev/char/1:11
./dev/char/4:64
./dev/char/4:65
./dev/char/90:0
./dev/char/90:1
./dev/char/90:2
./dev/char/90:3
./dev/char/90:4
./dev/char/90:5
./dev/char/90:6
./dev/char/90:7
./dev/char/90:8
./dev/char/90:9
./dev/char/108:0
./dev/char/10:61
./dev/char/10:62
./dev/char/10:63
./dev/char/189:0
./dev/char/90:10
./dev/char/90:11
./dev/char/90:12
./dev/char/90:13
./dev/char/10:130
./dev/char/10:200
./dev/char/189:128
./dev/block
./dev/block/31:0
./dev/block/31:1
./dev/block/31:2
./dev/block/31:3
./dev/block/31:4
./dev/block/31:5
./dev/block/31:6
./devices
./devices/pci0000:00
./devices/pci0000:00/0000:00:00.0
./devices/pci0000:00/0000:00:01.0
./devices/pci0000:00/uevent
./devices/pci0000:00/pci_bus
./devices/system
./devices/system/cpu
./devices/system/clocksource
./devices/virtual
./devices/virtual/bdi
./devices/virtual/mem
./devices/virtual/net
./devices/virtual/mtd
./devices/virtual/ppp
./devices/virtual/tty
./devices/virtual/misc
./devices/virtual/workqueue
./devices/platform
./devices/platform/mtk-sd.0
./devices/platform/alarmtimer
./devices/platform/serial8250
./devices/platform/uevent
./devices/platform/xhci-hcd
./block
./block/mtdblock0
./block/mtdblock1
./block/mtdblock2
./block/mtdblock3
./block/mtdblock4
./block/mtdblock5
./block/mtdblock6
./class
./class/mt
./class/bdi
./class/bdi/31:0
./class/bdi/31:1
./class/bdi/31:2
./class/bdi/31:3
./class/bdi/31:4
./class/bdi/31:5
./class/bdi/31:6
./class/bdi/default
./class/bdi/mtd-romap
./class/bdi/mtd-rwmap
./class/bdi/mtd-unmap
./class/mem
./class/mem/mem
./class/mem/full
./class/mem/kmsg
./class/mem/null
./class/mem/port
./class/mem/zero
./class/mem/random
./class/mem/urandom
./class/net
./class/net/apclii0
./class/net/gretap0
./class/net/br-lan
./class/net/eth0.1
./class/net/eth0.2
./class/net/apcli0
./class/net/lo
./class/net/ra0
./class/net/ifb0
./class/net/ifb1
./class/net/gre0
./class/net/eth0
./class/net/rai0
./class/mtd
./class/mtd/mtd0
./class/mtd/mtd1
./class/mtd/mtd2
./class/mtd/mtd3
./class/mtd/mtd4
./class/mtd/mtd5
./class/mtd/mtd6
./class/mtd/mtd0ro
./class/mtd/mtd1ro
./class/mtd/mtd2ro
./class/mtd/mtd3ro
./class/mtd/mtd4ro
./class/mtd/mtd5ro
./class/mtd/mtd6ro
./class/ppp
./class/ppp/ppp
./class/tty
./class/tty/tty
./class/tty/ptmx
./class/tty/console
./class/tty/ttyS0
./class/tty/ttyS1
./class/mmc_host
./class/mmc_host/mmc0
./class/scsi_disk
./class/scsi_host
./class/ata_device
./class/leds
./class/misc
./class/misc/tun
./class/misc/cpu_dma_latency
./class/misc/network_latency
./class/misc/watchdog
./class/misc/network_throughput
./class/block
./class/block/mtdblock0
./class/block/mtdblock1
./class/block/mtdblock2
./class/block/mtdblock3
./class/block/mtdblock4
./class/block/mtdblock5
./class/block/mtdblock6
./class/spi_master
./class/ide_port
./class/firmware
./class/firmware/timeout
./class/scsi_generic
./class/scsi_device
./class/watchdog
./class/pci_bus
./class/pci_bus/0000:00
./class/pci_bus/0000:01
./class/pci_bus/0000:02
./class/mdio_bus
./class/ata_link
./class/ata_port
./firmware
./kernel
./kernel/mm
./kernel/rcu_expedited
./kernel/debug
./kernel/debug/usb
./kernel/debug/mmc0
./kernel/debug/mips
./kernel/debug/bdi
./kernel/notes
./kernel/fscaps
./kernel/uevent_helper
./kernel/uevent_seqnum
root at OpenWrt:/sys# 




Plus d'informations sur la liste de diffusion technique