タグ: QCA9557

BHR-4GRV2

既にath79へ移植済みではあるものの、kernelサイズに絡んで重大な変更が必要になったので、念のためメモ。

U-Boot

  • help
    ath> help
    ?       - alias for 'help'
    autoscr - run script from memory
    base    - print or set address offset
    bdinfo  - print Board Info structure
    boot    - boot default, i.e., run 'bootcmd'
    bootd   - boot default, i.e., run 'bootcmd'
    bootelf - Boot from an ELF image in memory
    bootm   - boot application image from memory
    bootp   - boot image via network using BootP/TFTP protocol
    bootvx  - Boot vxWorks from an ELF image
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    crc32   - checksum calculation
    dhcp    - invoke DHCP client to obtain IP/boot params
    download - Download Image or Uboot to flash
    echo    - echo args to console
    erase   - erase FLASH memory
    ethreg    - S26 PHY Reg rd/wr  utility
    exit    - exit script
    flinfo  - print FLASH memory information
    go      - start application at address 'addr'
    help    - print online help
    hwclear - clear hardware variables to persistent storage
    hwcommit - save hardware variables to persistent storage
    hwget   - Hardware variables get
    hwset   - Hardware variables set
    iminfo  - print header information for application image
    itest   - return true/false on integer compare
    loop    - infinite loop on address range
    md      - memory display
    mii     - MII utility commands
    mm      - memory modify (auto-incrementing)
    mtest   - simple RAM test
    mw      - memory write (fill)
    nfs     - boot image via network using NFS protocol
    nm      - memory modify (constant address)
    pci     - list and access PCI Configuration Space
    ping    - send ICMP ECHO_REQUEST to network host
    pll cpu-pll dither ddr-pll dither - Set to change CPU & DDR speed
    pll erase
    pll get
    printenv- print environment variables
    progmac - Set ethernet MAC addresses
    protect - enable or disable FLASH write protection
    rarpboot- boot image via network using RARP/TFTP protocol
    reset   - Perform RESET of the CPU
    run     - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    setenv  - set environment variables
    sleep   - delay execution for some time
    test    - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
    

  • version
    ath> version
    
    BUFFALO U-Boot Ver 1.06 (Apr  3 2014 - 16:26:57)
    

  • printenv
    メーカーファームではu-boot-envが空であり、u-boot内のデフォルト値が表示される模様。
    ath> printenv
    bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),8256k(mib0),64k(ART)
    bootcmd=bootm 0x9fe80000
    bootdelay=2
    baudrate=115200
    ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
    uu=tftp 0x80060000 bhr4grv2-uboot.bin; erase 0x9f000000 +0x40000; cp.b ${fileaddr} 0x9f000000 ${filesize}
    uk=tftp 0x80060000 bhr4grv2-kernel.bin; erase 0x9fe80000 +0x170000; cp.b ${fileaddr} 0x9fe80000 ${filesize}
    uf=tftp 0x80060000 bhr4grv2-rootfs-squashfs.bin; erase 0x9f050000 +de0000 ; cp.b ${fileaddr} 0x9f050000 ${filesize}
    inspection_env=set bootargs console=ttyS0,115200 rootfstype=ramfs rdinit=/etc/preinit rw board=RUBBERDUCK mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),14528k(rootfs),1472k(kernel),64k(art),16000k@0x50000(firmware) mem=64M 
    ramboot=set bootargs console=ttyS0,115200 rootfstype=ramfs rdinit=/etc/preinit rw root=/dev/ram0 mtdparts=ath-nor0:256k(u-boot)ro,64k(u-boot-env),14528k(rootfs),1472k(kernel),64k(art);tftp 0x81000000 bhr4grv2-uImage-initramfs-gzip.bin;bootm 0x81000000 
    resetenv=protect off 1:4-4;erase 1:4-4 
    dir=
    lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
    lf=tftp 0x80060000 ${dir}ap135${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
    lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
    stdin=serial
    stdout=serial
    stderr=serial
    ethact=eth0
    filesize=2f5ad4
    fileaddr=81000000
    ipaddr=192.168.12.1
    serverip=192.168.12.10
    
    Environment size: 1567/65532 bytes
    

  • mii device
    ath> mii device
    MII devices: 'eth0' 'eth1' 
    Current device: 'eth0'
    

  • md.l 0x18050028 1
    ath> md.l 0x18050028 1
    18050028: 96000000    ....
    

  • md.l 0x18050048 1
    ath> md.l 0x18050048 1
    18050048: 03000101    ....
    

Kernel

OpenWrtインストール済みのため、ひとまず省略

広告

BHR-4GRV2とKernel 4.14

最近BHR-4GRV2が公式のbuildbotにおいてar71xx/tinyをfailさせる一因になっていたので、それに関連するメモ。

どうする

ar71xx/tinyのほうは今から変更するのは厳しいため、諦める。
一方ath79/tinyのほうは、ath79がまだ公式ではビルドされていないこともあって変更の余地はあるため、以下のように変更しようかと思案中。→ 既存のサポートに対する修正としてPRを投げた。
この変更を行うと、ar71xxからのsysupgradeができない*、factoryファームを作れないなどの弊害は出る。
(*: 正確にはar71xxからsysupgradeで書き込むことはできるけど、U-Bootの環境変数を変更してから実行しないと再起動後にath79のKernelを起動できず止まる。危険なのでar71xx -> ath79は不可にしてしまうほうが良さそう。)

rootfs,kernelをfirmwareとして結合
Kernelがサイズ制限を受ける原因となっているmtdパーティションの構成を変更し、生成されたKernelのサイズに従って柔軟にRootfsの位置が変化できる “firmware” パーティションを使用する。
U-BootのKernelオフセットを変更
前項でmtdパーティションの構成を変更しただけではU-Bootが起動時にKernelを見つけられなくなるため、U-Bootの環境変数内に格納されているオフセットを変更する。
メーカーファーム -> OpenWrtインストール方法の変更
mtdパーティションを変更した場合、本来のKernelサイズ制限を超過するKernelが許容されるようになるため、factoryは作成できなくなる。
これに伴い、メーカーファームからOpenWrtへ入れ替える方法を以下の通りに変更する。

  • ECOボタンを押しながらinitramfsファームでブート
  • initramfsファーム上でU-Bootの環境変数を変更
  • squashfs-sysupgradeファームでsysupgrade
  • 完了

ざっくりと日本語で書く分には楽だけれども、英文で詳細に記述するのはしんどい。

WN-AC1167DGR

WRC-300GHBK2-Iと同様、フリマサイトを流し見ていて見つけたもの。既に投げ込んだWN-AC1600DGR2とほぼ同等の仕様と思われたことから、WRC-300GHBK2-Iと一緒に購入。
WRC-300GHBK2-Iが完了していないにも関わらず、AC1167DGRでは最初からUARTのピンが立っていることに気付いて錯乱し手を付けてしまったので、弄っていくにあたってメモ。

Switch

zone WAN LAN
port
(WN-AC1167DGR)
インターネット LAN4 LAN3 LAN2 LAN1
port
(QCA8337N)
port5 port4 port3 port2 port1

MAC

未確認

  • LAN: xx:xx:xx:xx:xx:18
  • WAN: xx:xx:xx:xx:xx:1A
  • 2.4G: xx:xx:xx:xx:xx:18
  • 5G: xx:xx:xx:xx:xx:19

U-Boot

  • help
    ath> help
    ?       - alias for 'help'
    autoscr - run script from memory
    base    - print or set address offset
    bdinfo  - print Board Info structure
    boot    - boot default, i.e., run 'bootcmd'
    bootd   - boot default, i.e., run 'bootcmd'
    bootelf - Boot from an ELF image in memory
    bootm   - boot application image from memory
    bootp   - boot image via network using BootP/TFTP protocol
    bootvx  - Boot vxWorks from an ELF image
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    crc32   - checksum calculation
    dhcp    - invoke DHCP client to obtain IP/boot params
    echo    - echo args to console
    erase   - erase FLASH memory
    ethreg    - S26 PHY Reg rd/wr  utility
    exit    - exit script
    flinfo  - print FLASH memory information
    go      - start application at address 'addr'
    help    - print online help
    iminfo  - print header information for application image
    itest   - return true/false on integer compare
    loop    - infinite loop on address range
    md      - memory display
    mii     - MII utility commands
    mm      - memory modify (auto-incrementing)
    mtest   - simple RAM test
    mw      - memory write (fill)
    nfs     - boot image via network using NFS protocol
    nm      - memory modify (constant address)
    pci     - list and access PCI Configuration Space
    ping    - send ICMP ECHO_REQUEST to network host
    pll cpu-pll dither ddr-pll dither - Set to change CPU & DDR speed
    pll erase
    pll get
    printenv- print environment variables
    progmac - Set ethernet MAC addresses
    protect - enable or disable FLASH write protection
    rarpboot- boot image via network using RARP/TFTP protocol
    reset   - Perform RESET of the CPU
    run     - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    setenv  - set environment variables
    sleep   - delay execution for some time
    test    - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
    

  • version
    ath> version
    
    U-Boot 0.1.3 (Mar 11 2013 - 16:53:10)
    

  • printenv
    ath> printenv
    bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:192k(u-boot),64k(u-boot-env),2752k(rootfs),1408k(uImage),64k(NVRAM),64k(ART)
    bootcmd=bootm 0x9f040000
    bootdelay=2
    baudrate=115200
    ethaddr="34:76:C5:28:79:18"
    ipaddr=192.168.99.9
    serverip=192.168.99.8
    sn=0007556V2
    hw_ver=1.0.0
    hw_id=030A0061
    pro_id=000
    country=000
    domain=1
    wanaddr=34:76:C5:28:79:1A
    wlanaddr=00:AA:BB:CC:DD:12
    snextra=00000000BR10007556V2
    bootfile=uImageWN-AC1600DGR
    dir=
    lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
    lf=tftp 0x80060000 ${dir}ap136${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
    lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
    ethact=eth0
    op_mode=0
    uboot_ver=0.1.3.11
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 896/65532 bytes
    

  • mii device
    ath> mii device
    MII devices: 'eth0' 
    Current device: 'eth0'
    

Kernel

パスワード要求されるため、コンソールにログインできない。

  • bootlog (op_mode=0)
    U-Boot 0.1.3 (Mar 11 2013 - 16:53:10)
    Product Name: WN-AC1600DGR
    ap136 - Scorpion 1.0
    DRAM:128 MB
    Now running in RAM - U-Boot at: 87fc8000
    Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
    Flash size 16MB, sector count = 256
    In:    serial
    Out:   serial
    Err:   serial
    reset_switch: 
    Multi Net:   
    
    ath_gmac_enet_initialize...
    
    athrs_sgmii_res_cal: cal value = 0xe
    No valid address in Flash. Using fixed address
    ath_gmac_enet_initialize: reset mask:c02200 
    Scorpion  ----> S17 PHY *
    : cfg1 0x80000000 cfg2 0x7114
    eth0: 00:03:7f:09:0b:ad
    athrs17_reg_init: SUPPORT_QCA8337 
    athrs17_reg_init: QCA8337 ID=1302
    athrs17_reg_init: complete
    eth0 up
    eth0
    athrs17_disable_all_port
    Setting 0x18116290 to 0x1830214f
    
    Please choose the operation: 
       1: Load system code to SDRAM via TFTP. 
       3: Boot system code via Flash (default).
                                                                                                                              0  
       
    3: System Boot system code via Flash.
    athrs17_set_portvlan_isolated complete
    ## Booting image at 9f040000 ...
       Image Name:   Linux Kernel Image
       Created:      2013-07-23   2:41:58 UTC
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    2936067 Bytes =  2.8 MB
       Load Address: 80002000
       Entry Point:  8024c7a0
       Verifying Checksum at 0x9f040040 ...OK
       Uncompressing Kernel Image ... OK
    
    Starting kernel ...
    
    Booting QCA955x
    Linux version 2.6.31 (root@localhost.localdomain) (gcc version 4.3.4 (Buildroot 2010.05) ) #2 Tue Jul 23 10:41:45 CST 2013
    flash_size passed from bootloader = 16
    arg 1: console=ttyS0,115200
    arg 2: root=31:02
    arg 3: rootfstype=squashfs,jffs2
    arg 4: init=/sbin/init
    arg 5: mtdparts=ath-nor0:192k(u-boot),64k(u-boot-env),2752k(rootfs),1408k(uImage),64k(NVRAM),64k(ART)
    arg 6: mem=128M
    CPU revision is: 00019750 (MIPS 74Kc)
    cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 240
    Determined physical RAM map:
     memory: 02000000 @ 00000000 (usable)
    User-defined physical RAM map:
     memory: 08000000 @ 00000000 (usable)
    Initrd not found or empty - disabling initrd
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00008000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00008000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:192k(u-boot),64k(u-boot-env),2752k(rootfs),1408k(uImage),64k(NVRAM),64k(ART) mem=128M 
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    Writing ErrCtl register=00000000
    Readback ErrCtl register=00000000
    Memory: 104704k/131072k available (2376k kernel code, 26184k reserved, 681k data, 7532k init, 0k highmem)
    NR_IRQS:128
    plat_time_init: plat time init done
    Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
    Mount-cache hash table entries: 512
    
    ****************ALLOC***********************
     Packet mem: 80a6dbc0 (0xe00000 bytes)
    ********************************************
    
    NET: Registered protocol family 16
    ath_pcibios_init: bus 0
    ***** Warning PCIe 0 H/W not found !!!
    registering PCI controller with io_map_base unset
    ath_pcibios_init: bus 1
    ath_pcibios_init(232): PCI 1 CMD write: 0x356
    registering PCI controller with io_map_base unset
    bio: create slab  at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    pci 0000:01:00.0: PME# disabled
    pcibios_map_irq: IRQ 76 for bus 1
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    ATH GPIOC major 0
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    NTFS driver 2.1.29 [Flags: R/O].
    JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
    fuse init (API version 7.12)
    msgmni has been set to 204
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered (default)
    Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    loop: module loaded
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    PPP BSD Compression module registered
    PPP MPPE Compression module registered
    NET: Registered protocol family 24
    PPTP driver version 0.8.4
    IMQ driver loaded successfully.
            Hooking IMQ after NAT on PREROUTING.
            Hooking IMQ before NAT on POSTROUTING.
    usbcore: registered new interface driver asix
    Creating 9 MTD partitions on "ath-nor0":
    0x000000000000-0x000001000000 : "ALL"
    0x000000000000-0x000000030000 : "Bootloader"
    0x000000030000-0x000000040000 : "Config"
    0x000000040000-0x000000e90000 : "Kernel"
    0x000000310000-0x000000e90000 : "apps"
    0x000000e90000-0x000000f90000 : "manufacture"
    0x000000f90000-0x000000fa0000 : "backup"
    0x000000fa0000-0x000000ff0000 : "storage"
    0x000000ff0000-0x000001000000 : "caldata"
    usbmon: debugfs is not available
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    Port Status 1c000004 
    ath-ehci ath-ehci.0: ATH EHCI
    ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: ATH EHCI
    ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: irq 3, io mem 0x1b400000
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    Netfilter messages via NETLINK v0.30.
    ip_conntrack version 0.5.0 (3750 buckets, 30000 max 29800 max0 200 reserved) - 4 bytes per conntrack
    CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
    nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
    sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    xt_time: kernel timezone is -0000
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 17
    802.1Q VLAN Support v1.8 Ben Greear 
    All bugs added by David S. Miller 
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 16
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 17
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 0
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 15
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 1
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 19
    
    button_irq: simple_config callback.. ignorepb 1, jiffies 4294892560, gpio 19
    ath_otp_init: Registering OTP success
    Freeing unused kernel memory: 7532k freed
    init started: BusyBox v1.7.5 (2013-07-23 10:38:06 CST)
    starting pid 731, tty '/dev/console': '/sbin/config_init'
    mknod: /dev/ttyS0: File exists
    mknod: /dev/ttyS1: File exists
    Config Init version: 1.00.000.128 date: 2013/07/23
    Tue Jan  1 00:00:00 UTC 2013
    ln: /lib/./modules: File exists
    WAN connect type creat
    955x_GMAC: qca955x_gmac_attach
    955x_GMAC: qca955x_set_gmac_caps
    Currently in polling mode unit0
    mac:0 Registering S17....
    qca955x_GMAC: RX TASKLET - Pkts per Intr:100
    qca955x_GMAC: Max segments per packet :   1
    qca955x_GMAC: Max tx descriptor count :   5
    qca955x_GMAC: Max rx descriptor count :   128
    qca955x_GMAC: Mac capability flags    :   2A00
    starting pid 792, tty '/dev/ttyS0': '/sbin/config_term'
    ************************************************************************
    *                             WN-AC1167DGR                             *
    ************************************************************************
    
    KernelApp/Ramdisk Ver:1.00.000.128                       Date:2013/07/23
    password: +HWT
    -HWT
    HTC Service:0x0300 ep:1 TX flow control disabled
    VAP device ath0 created 
    VAP device ath1 created 
    VAP device ath2 created 
    VAP device ath3 created
    

  • bootlog (op_mode=1)
    U-Boot 0.1.3 (Mar 11 2013 - 16:53:10)
    Product Name: WN-AC1600DGR
    ap136 - Scorpion 1.0
    DRAM:128 MB
    Now running in RAM - U-Boot at: 87fc8000
    Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
    Flash size 16MB, sector count = 256
    In:    serial
    Out:   serial
    Err:   serial
    reset_switch: 
    Multi Net:   
    
    ath_gmac_enet_initialize...
    
    athrs_sgmii_res_cal: cal value = 0xe
    No valid address in Flash. Using fixed address
    ath_gmac_enet_initialize: reset mask:c02200 
    Scorpion  ----> S17 PHY *
    : cfg1 0x80000000 cfg2 0x7114
    eth0: 00:03:7f:09:0b:ad
    athrs17_reg_init: SUPPORT_QCA8337 
    athrs17_reg_init: QCA8337 ID=1302
    athrs17_reg_init: complete
    eth0 up
    eth0
    athrs17_disable_all_port
    Setting 0x18116290 to 0x1830214f
    
    Please choose the operation: 
       1: Load system code to SDRAM via TFTP. 
       3: Boot system code via Flash (default).
                                                                                                                              0  
       
    3: System Boot system code via Flash.
    athrs17_set_portvlan_isolated complete
    ## Booting image at 9f040000 ...
       Image Name:   Linux Kernel Image
       Created:      2013-07-23   2:41:58 UTC
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    2936067 Bytes =  2.8 MB
       Load Address: 80002000
       Entry Point:  8024c7a0
       Verifying Checksum at 0x9f040040 ...OK
       Uncompressing Kernel Image ... OK
    
    Starting kernel ...
    
    Booting QCA955x
    Linux version 2.6.31 (root@localhost.localdomain) (gcc version 4.3.4 (Buildroot 2010.05) ) #2 Tue Jul 23 10:41:45 CST 2013
    flash_size passed from bootloader = 16
    arg 1: console=ttyS0,115200
    arg 2: root=31:02
    arg 3: rootfstype=squashfs,jffs2
    arg 4: init=/sbin/init
    arg 5: mtdparts=ath-nor0:192k(u-boot),64k(u-boot-env),2752k(rootfs),1408k(uImage),64k(NVRAM),64k(ART)
    arg 6: mem=128M
    CPU revision is: 00019750 (MIPS 74Kc)
    cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 240
    Determined physical RAM map:
     memory: 02000000 @ 00000000 (usable)
    User-defined physical RAM map:
     memory: 08000000 @ 00000000 (usable)
    Initrd not found or empty - disabling initrd
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00008000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00008000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:192k(u-boot),64k(u-boot-env),2752k(rootfs),1408k(uImage),64k(NVRAM),64k(ART) mem=128M 
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    Writing ErrCtl register=00000000
    Readback ErrCtl register=00000000
    Memory: 104704k/131072k available (2376k kernel code, 26184k reserved, 681k data, 7532k init, 0k highmem)
    NR_IRQS:128
    plat_time_init: plat time init done
    Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
    Mount-cache hash table entries: 512
    
    ****************ALLOC***********************
     Packet mem: 80a6dbc0 (0xe00000 bytes)
    ********************************************
    
    NET: Registered protocol family 16
    ath_pcibios_init: bus 0
    ***** Warning PCIe 0 H/W not found !!!
    registering PCI controller with io_map_base unset
    ath_pcibios_init: bus 1
    ath_pcibios_init(232): PCI 1 CMD write: 0x356
    registering PCI controller with io_map_base unset
    bio: create slab  at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    pci 0000:01:00.0: PME# disabled
    pcibios_map_irq: IRQ 76 for bus 1
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    ATH GPIOC major 0
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    NTFS driver 2.1.29 [Flags: R/O].
    JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
    fuse init (API version 7.12)
    msgmni has been set to 204
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered (default)
    Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    loop: module loaded
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    PPP BSD Compression module registered
    PPP MPPE Compression module registered
    NET: Registered protocol family 24
    PPTP driver version 0.8.4
    IMQ driver loaded successfully.
            Hooking IMQ after NAT on PREROUTING.
            Hooking IMQ before NAT on POSTROUTING.
    usbcore: registered new interface driver asix
    Creating 9 MTD partitions on "ath-nor0":
    0x000000000000-0x000001000000 : "ALL"
    0x000000000000-0x000000030000 : "Bootloader"
    0x000000030000-0x000000040000 : "Config"
    0x000000040000-0x000000e90000 : "Kernel"
    0x000000310000-0x000000e90000 : "apps"
    0x000000e90000-0x000000f90000 : "manufacture"
    0x000000f90000-0x000000fa0000 : "backup"
    0x000000fa0000-0x000000ff0000 : "storage"
    0x000000ff0000-0x000001000000 : "caldata"
    usbmon: debugfs is not available
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    Port Status 1c000004 
    ath-ehci ath-ehci.0: ATH EHCI
    ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: ATH EHCI
    ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: irq 3, io mem 0x1b400000
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    Netfilter messages via NETLINK v0.30.
    ip_conntrack version 0.5.0 (3750 buckets, 30000 max 29800 max0 200 reserved) - 4 bytes per conntrack
    CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
    nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
    sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    xt_time: kernel timezone is -0000
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 17
    802.1Q VLAN Support v1.8 Ben Greear 
    All bugs added by David S. Miller 
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 16
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 17
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 0
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 15
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 1
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 19
    
    button_irq: simple_config callback.. ignorepb 1, jiffies 4294892560, gpio 19
    ath_otp_init: Registering OTP success
    Freeing unused kernel memory: 7532k freed
    init started: BusyBox v1.7.5 (2013-07-23 10:38:06 CST)
    starting pid 731, tty '/dev/console': '/sbin/config_init'
    mknod: /dev/ttyS0: File exists
    mknod: /dev/ttyS1: File exists
    Config Init version: 1.00.000.128 date: 2013/07/23
    Tue Jan  1 00:00:00 UTC 2013
    ln: /lib/./modules: File exists
    WAN connect type creat
    955x_GMAC: qca955x_gmac_attach
    955x_GMAC: qca955x_set_gmac_caps
    Currently in polling mode unit0
    mac:0 Registering S17....
    qca955x_GMAC: RX TASKLET - Pkts per Intr:100
    qca955x_GMAC: Max segments per packet :   1
    qca955x_GMAC: Max tx descriptor count :   5
    qca955x_GMAC: Max rx descriptor count :   128
    qca955x_GMAC: Mac capability flags    :   2A00
    starting pid 790, tty '/dev/ttyS0': '/sbin/config_term'
    ************************************************************************
    *                             WN-AC1167DGR                             *
    ************************************************************************
    
    KernelApp/Ramdisk Ver:1.00.000.128                       Date:2013/07/23
    Application Ver:1.00.000.126             Date:2013/07/23
    
    password: cat: can't open '/apps/lib/modules/2.6.31/modulesApp.dep': No such file or directory
    ln: /sbin/apps_init: File exists
    ln: /sbin/factory_apps_init: File exists
    ln: /sbin/opmode.sh: File exists
    createShareMem keyid 7001 shmId 0
    Set Str value fail but len not in 1 to 32
    checkpApCfg i=28 [ap2ssid]
    Set Str value fail but len not in 1 to 32
    checkpApCfg i=46 [ap3ssid]
    checkpApCfg error!!
    MSGQ_GETID: Cannot get message queue for key[fwmanager]!
    MSGQ_CREATE: create message queue for key[fwmanager], msgQ Id 0
    CTRL_INTERFACE:[/var/sysconfd_if]  CTRL_INTERFACE_IF:[if0]
    
    System Monitoring
    *********************************************************************
    Initializing system environment
    Setting up /tmp directory ...
    Setting up loopback device ...
    ***************************************************
    Radio_1 is in   Access Point[0]
    Radio_2 is in   Access Point[0]
    System is in    AP Router[0]
    ***************************************************
    SEM_GETID got id -1
    Mac: 0, rtcTime:1356998402
    Open file err: /var/cpumhz!
    Starting system logging daemon ...OK
    Setting up Ethernet deviceTo set s17 LOOKUP_CTRL_REG registers, flag 0 
    s ...
    athr_gmac_ring_alloc Allocated 80 at 0x86d349e0
    athr_gmac_ring_alloc Allocated 2048 at 0x80617800
    device id=1302
    /proc/qca_switch/nf_athrs17_hnat is created
    /proc/qca_switch/nf_athrs17_hnat_wan_type is created
    /proc/qca_switch/nf_athrs17_hnat_ppp_id is created
    /proc/qca_switch/nf_athrs17_hnat_udp_thresh is created
    /proc/qca_switch/nf_athrs17_hnat_wan_ip is created
    /proc/qca_switch/nf_athrs17_hnat_ppp_peer_ip is created
    /proc/qca_switch/nf_athrs17_hnat_ppp_peer_mac is created
    /proc/qca_switch/nf_athrs17_hnat_wan_mac is created
    Registering IPv6 hooks... 
    Adding ACL rules 15 - upnp_ssdp_add_acl_rules
    ACL is not yet enabled. Enabling... 
    Adding ACL rules 7 - ipv6_snooping_solicted_node_add_acl_rules
    Adding ACL rules 11 - ipv6_snooping_sextuple0_group_add_acl_rules
    Adding ACL rules 13 - ipv6_snooping_quintruple0_1_group_add_acl_rules
    Hello, nat helper module for 1.1!
    
    ######## S17 SSDK init succeeded! ########
    ### s17 : set 0x610=0x001bd560 
    ### s17 : set 0x614=0x80010002 
    ### s17 : set 0x610=0x001b7fe0 
    ### s17 : set 0x614=0x80020002 
    _athrs17_mac0_intf done
    athrs17_reg_init:done
    S17_P0PAD_MODE_REG 0x87680000
    athrs17_reg_init:done
    955x_GMAC: eth0 in RGMII MODE
    Scorpion -----> S17 PHY
    Setting Drop CRC Errors, Pause Frames and Length Error frames 
    Setting PHY...
    Phy setup Complete
    To set s17 LOOKUP_CTRL_REG registers, flag 1 
    device eth0 entered promiscuous mode
    OK
    Configuring Bridge device ...          OK
    Setting the host&domain name ...Finished.
    Configuring net ...          OK
    device eth0.1 entered promiscuous mode
    br0: port 1(eth0.1) entering learning state
    Configuring LAN device ...          OK
    
    
    #############################################
    Initialize Radio setting ... OK
    Configuring radio1 setting ... 
    Configuring Atheros device index:0... wifiname=wifi0 , macaddr=34:76:C5:28:79:18athSetWep[761] iNumofSsid: [3]
    Encryption using WEP ...      
    athSetWepforAP[1035] pApIf: [ath0]
    Encryption using WEP ...      
    athSetWepforAP[1035] pApIf: [ath1]
    Encryption usiadf: module license 'Proprietary' taints kernel.
    ng WEP ...      Disabling lock debugging due to kernel taint
    
    athSetWepforAP[1035] pApIf: [ath2]
     ... finished.
    Set Atheros power to 25 (dBm)
    Encryption using WPAWPA2_PSK ...
    Encryption using TKIP CCMP ...
    Encryption using WPAWPA2_PSK ...
    Encryption using TKIP Cbr0: port 1(eth0.1) entering forwarding state
    CMP ...
    Encryption using WPAWPA2_PSK ...
    Encryption using TKIP CCMP ...
    Starting Hostapd ...            OK
    ath_hal: 0.9.17.1 (AR5416, AR9380, WRITE_EEPROM, 11D)
    ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    ath_dfs: Version 2.0.0
    Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    ath_ahb: 10.1.357 (Atheros/multi-bss)
    __ath_attach: Set global_scn[0]
    Enterprise mode: 0x40000000
    Restoring Cal data from Flash
    Green-AP : Green-AP : Attached
    
    ath_get_caps[5928] rx chainmask mismatch actual 3 sc_chainmak 0
    ath_get_caps[5903] tx chainmask mismatch actual 3 sc_chainmak 0
    _ieee80211_resmgr_create: Multi-Channel Scheduler unavailable since no TSF Timer.
    Error: _ieee80211_resmgr_create: no Multi-chan hw caps. Disabling Off Channel scheduler.
    ath_attach_dfs[11818] dfsdomain 1
    SC Callback Registration for wifi0
    wifi0: Atheros ???: mem=0xb8100000, irq=2
    ath_pci: 10.1.357 (Atheros/multi-bss)
    ath_pci_probe
    PCI device id is 003c :003c
    ath_pci 0000:01:00.0: ath DEBUG: sc=0x87db2400
    
     ol_ath_pci_configure : num_desired MSI set to 0
    
     Using PCI Legacy Interrupt
    __ol_ath_attach: ath_attach TODO
    ol_ath_attach() BMI inited.
    ol_ath_attach() BMI Get Target Info.
    ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c
    NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
    ol_ath_attach() configure Target .
    qc98xx_verify_checksum: flash checksum passed: 0x5162
    ol_transfer_bin_file 1688: Download Flash data len 2116
    ol_transfer_bin_file 1635: Download Firmware data len 184004
    ol_ath_attach() Download FW. 
    ol_ath_attach() HT Create .
    ol_ath_attach() HIF Claim.
    ol_ath_attach() BMI Done. 
    ol_ath_attach() WMI attached. wmi_handle 80740000 
    +HWT
    CE_recv_buf_enqueue 457 Populate last entry 512 for CE 5
    CE_recv_buf_enqueue 466 CE 5 wi 511 dest_ptr 0xe7d3e0 nbytes 0 recv_ctxt 0x8077b260
    -HWT
    HTC Service:0x0300 ep:1 TX flow control disabled
    CE_pkt_dl_len_set CE 4 Pkt download length 42
    TXRX: Created pdev 8077ce00
    wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event 
    num_rf_chain : 00000002
    ht_cap_info: : 0000085b
    vht_cap_info : 338001b2
    vht_supp_mcs : 0000fffa
    LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
    idx 0 req 1  num_units 0 num_unit_info 2 unit size 404 actual units 145 
    chunk 0 len 58580 requested ,ptr  0x7e0000 
    FIRMWARE:P 145 V 16 T 443
     
    wmi_ready_event_rx:  WMI UNIFIED READY event 
    ol_ath_connect_htc() WMI is ready
    ol_ath_set_host_app_area TODO
    target uses HTT version 2.1; host uses 2.1
    ol_ath_attach() connect HTC. 
    ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    Skipping VHT80 channel 5825
    ol_ath_phyerr_attach: called
    OL Resmgr Init-ed
    Green-AP : Green-AP : Attached
    
    Green-AP : Attached
    ol_if_dfs_setup: called 
    ol_if_dfs_attach: called; ptr=807f1974, radar_info=86cefbe8
    ol_ath_rtt_meas_report_attach: called
    ol_ath_attach() UMAC attach . 
    ol_if_dfs_configure: called
    ol_if_dfs_configure: FCC domain
    ol_if_dfs_disable: called
    __ol_ath_attach: init tx/rx TODO
    __ol_ath_attach: hard_header_len reservation 58
    __ol_ath_attach: dev name wifi1
    SC Callback Registration for wifi1
    ath_attach_dfs[11818] dfsdomain 1
    VAP device ath0 created 
    VAP device ath1 created 
    VAP device ath2 created 
    
    Enet:0 port3 up
    955x_GMAC: enet unit:0 is up...
    eth0  RGMII  1000Mbps  full duplex
    955x_GMAC: qca955x_soc_gmac_set_mac_duplex 
    955x_GMAC: qca955x_soc_gmac_set_link Done
    955x_GMAC: done cfg2 0x7215 ifctl 0x0 miictrl  
     
     DES SSID SET=AirPort31000 
     
     DES SSID SET=Guest31000 
     
     DES SSID SET=Copy31000 
    Setting Max Stations:127
    Setup LAN interface entry done!
    Setup WAN interface entry done!
    device ath0 entered promiscuous mode
    device ath1 entered promiscuous mode
    device ath2 entered promiscuous mode
    br0: port 2(ath0) entering learning state
    br0: port 2(ath0) entering forwarding state
    br0: port 3(ath1) entering learning state
    br0: port 3(ath1) entering forwarding state
    br0: port 4(ath2) entering learning state
     ieee80211_ioctl_siwmode: imr.ifm_active=1442432, new mode=3, valid=1 
    br0: port 4(ath2) entering forwarding state
    br0: port 2(ath0) entering disabled state
     DEVICE IS DOWN ifname=ath0
     DEVICE IS DOWN ifname=ath0
    br0: port 2(ath0) entering learning state
    br0: port 2(ath0) entering forwarding state
    br0: port 2(ath0) entering disabled state
     ieee80211_ioctl_siwmode: imr.ifm_active=1442432, new mode=3, valid=1 
    br0: port 3(ath1) entering disabled state
     DEVICE IS DOWN ifname=ath1
     DEVICE IS DOWN ifname=ath1
    br0: port 4(ath2) entering disabled state
    br0: port 2(ath0) entering learning state
    br0: port 2(ath0) entering forwarding state
    br0: port 3(ath1) entering learning state
    br0: port 3(ath1) entering forwarding state
    System Debug : gWlan24GOff[-1].
    System Debug : gWlan5GOff[-1].
    athOpen OK
    OK
    
    
    #############################################
    Initialize Radio setting ... OK
    Configuring radio2 setting ... 
    Configuring Atheros device index:1... wifiname=wifi1 , macaddr=34:76:C5:28:79:19athSetWep[761] iNumofSsid: [1]
    Encryption using WEP ...      
    athSetWepforAP[1035] pApIf: [ath3]
     .isCountryCodeValid: EEPROM regdomain 0x0
    .. finished.
    Seol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    t Atheros power ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    to 25 (dBm)
    Encol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    ryption using WPol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    A2-PSK ...
    Encrol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    yption using AESol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
     ...
    Starting Hol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    ostapd ...      ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
          OK
    Skipping VHT80 channel 5660
    Skipping VHT80 channel 5680
    Skipping VHT80 channel 5700
    ath_ioctl: SIOC80211IFCREATE CALLED
    wmi_unified_vdev_create_send: ID = 0 VAP Addr = 34:76:c5:28:79:19:
    TXRX: Created vdev 807c8560 (34:76:c5:28:79:19)
    VAP device ath3 created 
    TXRX: ol_txrx_peer_find_add_id: peer 86f0b000 ID 192
    TXRX: ol_txrx_peer_find_add_id: peer 86f0b000 ID 176
    Setting vdev param = 20, value = 2
    Setting vdev param = f, value = 0
    Setting vdev param = 13, value = 2
    Setting vdev param = 1a, value = 1
    Setting vdev param = 1b, value = 1
    Setting vdev param = 1e, value = 1
     
     DES SSID SET=Stream31000 
    OL vap_stop +
    wmi_unified_vdev_stop_send 
    OL vap_stop -
    STOPPED EVENT for vap 0 
    Setting vdev param = 3, value = 100
    Setting vdev param = d, value = 1
    ol_ath_vap_set_param: VAP param unsupported param:7 value:0
    ol_ath_vap_set_param: VAP param unsupported param:41 value:1
    ol_ath_vap_set_param: VAP param unsupported param:35 value:0
    Setting vdev param = 12, value = 1
    Setting vdev param = 2a, value = 2
    ol_ath_vap_set_param: VAP param is now supported param:62 value:2
    ol_ath_vap_set_param: VAP param unsupported param:74 value:0
    device ath3 entered promiscuous mode
    OL vap_stop +
    wmi_unified_vdev_stop_send 
    OL vap_stop -
    STOPPED EVENT for vap 0 
    OL vap_start +
    OL vap_start -
    ol_vdev_start_resp_ev
    ol_ath_vap_join: join operation is only for STA/IBSS mode
    ol_ath_wmm_update:
    Setting vdev param = 3, value = 100
    Notification to UMAC VAP layer
    br0: port 5(ath3) entering learning state
     ieee80211_ioctl_siwmode: imr.ifm_active=131738, new mode=3, valid=1 
    wmi_unified_vdev_stop_send 
    STOPPED EVENT for vap 0 
    br0: port 5(ath3) entering forwarding state
    br0: port 5(ath3) entering disabled state
    ol_ath_vap_set_param: VAP param unsupported param:32 value:0
     DEVICE IS DOWN ifname=ath3
     DEVICE IS DOWN ifname=ath3
    ol_ath_vap_set_param: VAP param unsupported param:32 value:0
    ol_ath_vap_set_param: VAP param unsupported param:17 value:1
    ol_ath_vap_set_param: VAP param unsupported param:74 value:1
     Group Keyidx set=1 
     wmi_unified_vdev_install_key_send Setting Key for Macaddress:0x197928c57634 
    Keyix=1 Keylen=16 Keyflags=1 Cipher=4 
     Keydata=0x51 0x7b 0xe8 0xd3 0xd9 0x40 0xd4 0x8 0xa6 0x13 0xcd 0xe2 0xf1 0x6b 0xa9 0x9f 
    ol_ath_vap_set_param: VAP param unsupported param:74 value:0
    TXRX: ol_txrx_peer_find_add_id: peer 86f0b000 ID 144
    TXRX: sec spec for peer 86f0b000 (34:76:c5:28:79:19): mcast key of type 6
    Setting vdev param = 1f, value = 1
    ol_ath_vap_set_param: VAP param unsupported param:32 value:1
    OL vap_stop +
    wmi_unified_vdev_stop_send 
    OL vap_stop -
    STOPPED EVENT for vap 0 
    OL vap_start +
    OL vap_start -
    ol_vdev_start_resp_ev
    ol_ath_vap_join: join operation is only for STA/IBSS mode
    ol_ath_wmm_update:
    Setting vdev param = 3, value = 100
    Notification to UMAC VAP layer
    br0: port 5(ath3) entering learning state
    br0: port 5(ath3) entering forwarding state
    System Debug : gWlan24GOff[-1].
    System Debug : gWlan5GOff[-1].
    athOpen OK
    OK
    Wan Manager...
    Configuring WAN device[WAN0] ...
    Connect to ISP using PPPoE ... No PHY Link
    Set Domain Routing for FLET'S Square Connection...            
    Starting DNS Proxy ...            FAILED
    Starting DHCP(udhcpd) server ...            OK
    Starting FW manager ...           OK
    Starting ntpclient ...            
    Setup tc for QoS ... Disabled
    
    SCHEDULE, ServiceWlanLowRateInit ...service_index[0].
    
    SCHEDULE, ServiceWlsRadioOffInit ...service_index[1].
    
    SCHEDULE, Service5GWlanLowRateInit ...service_index[2].
    
    SCHEDULE, Service5GWlsRadioOffInit ...service_index[3].
    
    SCHEDULE, ServiceLedOffInit ...service_index[4].
    Port led blink on
    
    SCHEDULE, ServiceLanOffInit ...service_index[5].
    
    SCHEDULE, ServiceWanOffInit ...service_index[6].
    
    SCHEDULE, ServiceLanLowRateInit ...service_index[7].
    Force Low Rate Off
    
    SCHEDULE, ServicePowerLedInit ...service_index[8].
    
    
    Schedule starting  [scheduleOpen], ...wait result..
    Schedule result :[Disable (No rules)]. 
    Configuring network routing and filtering ...Iptable restart VPN ACL ...VPN ACL ...
    
    Enet:0 port:3 down
    955x_GMAC: unit 0: phy 0 not up carrier 1
    OK
    Ebtables v2.0 registered
    Configuring Bridge filtering ...OK
    Starting SiteBlock server ...            
    Netpacket Filter Open ....              sysGetKernelInfo: netv :1.0
    Kernel netpkt ver netv: 1.0
    bsfdrv_major = 235
    OK
    Starting UPNPD  ...  WAN Speed = 10 Mbps
    FAILED
    IGMP Proxy is disabled...  Starting HTTPD server ...           OK
    Starting DDNS  ...  Disabled
    Staring ALG...           OK
    Starting LLTD ...           OK
    usbcore: registered new interface driver usblp
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    Initialization has completed
    *We used 24.940000 seconds to initialize all modules*
    pSEM_GETID got id 65538
    [RMGMT DBG] RMGMT_VERSION: 3.42.32
    br0: port 2(ath0) entering disabled state
    br0: port 3(ath1) entering disabled state
    Invoking ACS module for Best channel selection 
    br0: port 2(ath0) entering learning state
    br0: port 2(ath0) entering forwarding state
    Invoking ACS module for Best channel selection 
    br0: port 3(ath1) entering learning state
    br0: port 3(ath1) entering forwarding state
    
    Enet:0 port3 up
    955x_GMAC: enet unit:0 is up...
    eth0  RGMII  1000Mbps  full duplex
    955x_GMAC: qca955x_soc_gmac_set_mac_duplex 
    955x_GMAC: qca955x_soc_gmac_set_link Done
    955x_GMAC: done cfg2 0x7215 ifctl 0x0 miictrl  
    wmi_unified_vdev_stop_send 
    STOPPED EVENT for vap 0 
    br0: port 5(ath3) entering disabled state
    OL vap_stop +
    wmi_unified_vdev_stop_send 
    OL vap_stop -
    STOPPED EVENT for vap 0 
    OL vap_stop +
    wmi_unified_vdev_stop_send 
    OL vap_stop -
    STOPPED EVENT for vap 0 
    Invoking ACS module for Best channel selection 
    br0: port 5(ath3) entering learning state
    br0: port 5(ath3) entering forwarding state
    Function ieee80211_acs_find_best_11na_centerchan best 5G channel is 48
    OL vap_start +
    OL vap_start -
    ol_vdev_start_resp_ev
    ol_ath_vap_join: join operation is only for STA/IBSS mode
    ol_ath_wmm_update:
    Setting vdev param = 3, value = 100
    Notification to UMAC VAP layer
    *** PROCESS MANAGER Starts ***
    Processmanager update modules
    Reload WAN: ppp0 ...
    Close WAN: ppp0 ...
    Configuring WAN device[WAN0] ...
    Connect to ISP using PPPoE ... No PHY Link
    VPN Disconnect ...
    Phy(eth0.2) link disconnected ...Wait for link recover
    Restarting Iptables ....Clean iptable...OK
    Configuring network routing and filtering ...Iptable restart VPN ACL ...VPN ACL ...
    OK
    OK
    Reloading dnsProxy ...            Stopping DNS Proxy ...            OK
    Set Domain Routing for FLET'S Square Connection...            
    Starting DNS Proxy ...            OK
    Processmanager update modules
    

BHR-4GRV2 stock -> OpenWrt (ath79)

やっとこさここまで到達したので、とりあえずメモ。
現在ath79のBHR-4GRV2にはfactoryファームはありません。そのため、このインストール方法も使用できません。

normalFILE: /tmp/uhttp-upgrade.img is download successfully!
Killed
Monitor.sh starting.......
Start of fw_blink_cnt.sh -------------------------------------------------
End of fw_blink_cnt.sh -------------------------------------------------
handle_request:2838 post request found and fw update
 file is imgupg.cgi
handle_request:2839 path is (null)
handle_request:2851 accept post file is imgupg.cgi
writing uImage            [###                      ]  12%handle_request:2838 post request found and fw update
 file is apply.cgi
handle_request:2839 path is /html/fwupdate_wait_reboot.html
handle_request:2851 accept post file is apply.cgi
post_apply enter len+1 = 53, buffer size=32767
unset apply_running ###########################################
###########################################
writing rootfs            [######################## ]  98%[ 3412.500000] Removing MTD device #3 (rootfs_data) with use count 1
[ 3412.520000] Restarting system.


BUFFALO U-Boot Ver 1.06 (Apr  3 2014 - 16:26:57)

ap135 - CPU :Scorpion 1.0 , CPU:720MHZ, DRAM:300MHZ, ABH:200MHZ
DRAM:  16bit, ddr2 init, 64 MB

Top of RAM usable for U-Boot at: 84000000
Reserving 274k for U-Boot at: 83fb8000
Reserving 192k for malloc() at: 83f88000
Reserving 44 Bytes for Board Info at: 83f87fd4
Reserving 36 Bytes for Global Data at: 83f87fb0
Reserving 128k for boot params() at: 83f67fb0
Stack Pointer at: 83f67f98
Now running in RAM - U-Boot at: 83fb8000
Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
*** Warning - bad CRC, using default environment

*** Warning *** : PCIe WLAN Module not found !!!
*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0x6
Fetching MAC Address from 0x83fdaca0
Fetching MAC Address from 0x83fdaca0
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: dc:fb:02:6e:68:d0
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: dc:fb:02:6e:68:d1
eth1 up
eth0, eth1
Memory Test Start
Test start(0x80000000) end(83f00000) size(3f00000) 
Pattern: 55555555
Pattern: AAAAAAAA
Pattern: 00000000
Memory Test Pass 

Setting 0x18116290 to 0x4489a14f
Hit any key to stop autoboot:  0 
## Booting image at 9fe80000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.60
   Created:      2018-08-06  15:29:45 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1353942 Bytes =  1.3 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9fe80040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

[    0.000000] Linux version 4.14.60 (musashino205@Taiha.Net) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0+7766-010a8f4911)) #0 Mon Aug 6 15:29:45 2018
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is Buffalo BHR-4GRV2
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] random: get_random_bytes called from 0x8044372c with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 59108K/65536K available (3380K kernel code, 132K rwdata, 460K rodata, 1204K init, 203K bss, 6428K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 720.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[    0.000008] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[    0.008295] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.074983] pid_max: default: 32768 minimum: 301
[    0.080080] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087120] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.098281] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.108781] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.115336] pinctrl core: initialized pinctrl subsystem
[    0.121745] NET: Registered protocol family 16
[    0.127142] Can't analyze schedule() prologue at 803a8d74
[    0.149640] clocksource: Switched to clocksource MIPS
[    0.155977] NET: Registered protocol family 2
[    0.161330] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.168755] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.175564] TCP: Hash tables configured (established 1024 bind 1024)
[    0.182458] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.188685] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.195644] NET: Registered protocol family 1
[    0.203915] Crashlog allocated RAM at address 0x3f00000
[    0.210619] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.221743] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.227947] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.246230] io scheduler noop registered
[    0.250441] io scheduler deadline registered (default)
[    0.257780] pinctrl-single 1804002c.pinmux: 512 pins at pa b804002c size 64
[    0.266196] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.273638] console [ttyS0] disabled
[    0.277473] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 2500000) is a 16550A
[    0.286690] console [ttyS0] enabled
[    0.286690] console [ttyS0] enabled
[    0.294110] bootconsole [early0] disabled
[    0.294110] bootconsole [early0] disabled
[    0.308076] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.313291] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.319747] Creating 6 MTD partitions on "spi0.0":
[    0.324610] 0x000000000000-0x000000040000 : "u-boot"
[    0.330379] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.336444] 0x000000050000-0x000000e80000 : "rootfs"
[    0.342196] mtd: device 2 (rootfs) set to be root filesystem
[    0.347996] 1 squashfs-split partitions found on MTD device rootfs
[    0.354308] 0x000000390000-0x000000e80000 : "rootfs_data"
[    0.360443] 0x000000e80000-0x000000ff0000 : "kernel"
[    0.366144] 0x000000ff0000-0x000001000000 : "art"
[    0.371656] 0x000000050000-0x000000ff0000 : "firmware"
[    0.378001] libphy: Fixed MDIO Bus: probed
[    0.720008] libphy: ag71xx_mdio: probed
[    0.726503] switch0: Atheros AR8337 rev. 2 switch registered on mdio-bus.0
[    1.720807] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.732250] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.071234] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    2.080938] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    2.089090] NET: Registered protocol family 10
[    2.097921] Segment Routing with IPv6
[    2.101789] NET: Registered protocol family 17
[    2.106337] 8021q: 802.1Q VLAN Support v1.8
[    2.118915] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.132577] Freeing unused kernel memory: 1204K
[    2.137171] This architecture does not have kernel memory protection.
[    2.539651] random: fast init done
[    4.476792] init: Console is alive
[    4.480494] init: - watchdog -
[    5.489037] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.761730] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.779466] init: - preinit -
[    7.439391] random: jshn: uninitialized urandom read (4 bytes read)
[    7.773934] random: jshn: uninitialized urandom read (4 bytes read)
[    7.950682] random: jshn: uninitialized urandom read (4 bytes read)
[    9.558602] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    9.564644] IPv6: ADDRCONF(NETDEV_UP): eth1.1: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug[    9.628011] urandom_read: 2 callbacks suppressed
 level
[    9.628017] random: procd: uninitialized urandom read (4 bytes read)
[   10.580772] eth1: link up (1000Mbps/Full duplex)
[   10.585483] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   10.592174] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.1: link becomes ready
[   13.198344] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   13.227734] urandom-seed: Seed file not found (/etc/urandom.seed)
[   13.278175] procd: - early -
[   13.281976] procd: - watchdog -
[   13.699653] eth1: link down
[   14.084617] procd: - watchdog -
[   14.088050] procd: - ubus -
[   14.605407] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.871764] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.878621] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.885951] procd: - init -
[   15.288694] kmodloader: loading kernel modules from /etc/modules.d/*
Please press Enter to activate this console.
[   15.835292] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.856593] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   15.864765] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   15.887829] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.927851] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   16.013051] xt_time: kernel timezone is -0000
[   16.062994] PPP generic driver version 2.4.2
[   16.069498] NET: Registered protocol family 24
[   16.112465] kmodloader: done loading kernel modules from /etc/modules.d/*
[   33.465744] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   33.503387] jffs2_build_filesystem(): unlocking the mtd device... 
[   33.503396] done.
[   33.511660] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   34.841985] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   34.856682] eth1: link up (1000Mbps/Full duplex)
[   34.881224] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   34.932779] br-lan: port 1(eth1.1) entered blocking state
[   34.938267] br-lan: port 1(eth1.1) entered disabled state
[   34.944072] device eth1.1 entered promiscuous mode
[   34.948938] device eth1 entered promiscuous mode
[   35.058508] br-lan: port 1(eth1.1) entered blocking state
[   35.064038] br-lan: port 1(eth1.1) entered forwarding state
[   35.069854] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   35.157940] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   35.207232] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   35.859819] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   36.181150] eth0: link up (1000Mbps/Full duplex)
[   36.185905] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   36.244365] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   84.283709] done.
[   84.285694] jffs2: notice: (1024) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   84.477909] overlayfs: upper fs does not support tmpfile.
[  120.039890] random: crng init done
[  120.043353] random: 1 urandom warning(s) missed due to ratelimiting



BusyBox v1.29.2 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r0+7766-010a8f4911
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# 

WN-AC1600DGR2

花小金井のハードオフで見つけ、一度WRC-2533GSTのみ購入してこちらは見送ったものの、2度目行った際にやっぱりと購入。弄っていくためのメモ。
WN-AC1600DGRxはDGR – DGR3までハード的にはおおよそ同一と思われる(未確認)。

Switch

zone WAN LAN
port
(WN-AC1600DGR2)
インターネット LAN4 LAN3 LAN2 LAN1
port
(QCA8337N)
port5 port4 port3 port2 port1

MAC

  • LAN: xx:xx:xx:xx:xx:30
  • WAN: xx:xx:xx:xx:xx:32
  • 2.4G: xx:xx:xx:xx:xx:30
  • 5G: xx:xx:xx:xx:xx:31

U-Boot

  • help
    ath> help
    ?       - alias for 'help'
    autoscr - run script from memory
    base    - print or set address offset
    bdinfo  - print Board Info structure
    boot    - boot default, i.e., run 'bootcmd'
    bootd   - boot default, i.e., run 'bootcmd'
    bootelf - Boot from an ELF image in memory
    bootm   - boot application image from memory
    bootp   - boot image via network using BootP/TFTP protocol
    bootvx  - Boot vxWorks from an ELF image
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    crc32   - checksum calculation
    dhcp    - invoke DHCP client to obtain IP/boot params
    echo    - echo args to console
    erase   - erase FLASH memory
    ethreg    - S26 PHY Reg rd/wr  utility
    exit    - exit script
    flinfo  - print FLASH memory information
    go      - start application at address 'addr'
    help    - print online help
    iminfo  - print header information for application image
    itest   - return true/false on integer compare
    loop    - infinite loop on address range
    md      - memory display
    mii     - MII utility commands
    mm      - memory modify (auto-incrementing)
    mtest   - simple RAM test
    mw      - memory write (fill)
    nfs     - boot image via network using NFS protocol
    nm      - memory modify (constant address)
    pci     - list and access PCI Configuration Space
    ping    - send ICMP ECHO_REQUEST to network host
    pll cpu-pll dither ddr-pll dither - Set to change CPU & DDR speed
    pll erase
    pll get
    printenv- print environment variables
    progmac - Set ethernet MAC addresses
    protect - enable or disable FLASH write protection
    rarpboot- boot image via network using RARP/TFTP protocol
    reset   - Perform RESET of the CPU
    run     - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    setenv  - set environment variables
    sleep   - delay execution for some time
    test    - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
    

  • version
    ath> version
    
    U-Boot 0.1.4 (Aug  5 2013 - 10:36:02)
    

  • printenv
    ath> printenv
    bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:192k(u-boot),64k(u-boot-env),2752k(rootfs),1408k(uImage),64k(NVRAM),64k(ART)
    bootcmd=bootm 0x9f040000
    bootdelay=2
    baudrate=115200
    ethaddr="34:76:C5:35:11:30"
    ipaddr=192.168.99.9
    serverip=192.168.99.8
    sn=00043982W
    hw_ver=1.0.0
    hw_id=030A0046
    pro_id=000
    country=000
    domain=1
    wanaddr=34:76:C5:35:11:32
    wlanaddr=00:AA:BB:CC:DD:12
    snextra=BAL00043982W********
    bootfile=uImageWN-AC1600DGR
    dir=
    lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
    lf=tftp 0x80060000 ${dir}ap136${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
    lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
    ethact=eth0
    op_mode=0
    uboot_ver=0.1.4.13
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 896/65532 bytes
    

Kernel

パスワード要求されるため、コンソールにログインできない。

  • bootlog (op_mode=0)
    U-Boot 0.1.4 (Aug  5 2013 - 10:36:02)
    Product Name: WN-AC1600DGR
    ap136 - Scorpion 1.0
    DRAM:128 MB
    Now running in RAM - U-Boot at: 87fc8000
    Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
    Flash size 16MB, sector count = 256
    In:    serial
    Out:   serial
    Err:   serial
    reset_switch: 
    Multi Net:   
    
    ath_gmac_enet_initialize...
    
    athrs_sgmii_res_cal: cal value = 0x6
    No valid address in Flash. Using fixed address
    ath_gmac_enet_initialize: reset mask:c02200 
    Scorpion  ----> S17 PHY *
    : cfg1 0x80000000 cfg2 0x7114
    eth0: 00:03:7f:09:0b:ad
    athrs17_reg_init: SUPPORT_QCA8337 
    athrs17_reg_init: QCA8337 ID=1302
    athrs17_reg_init: complete
    eth0 up
    eth0
    athrs17_disable_all_port
    Setting 0x18116290 to 0x1830214f
    
    Please choose the operation: 
       1: Load system code to SDRAM via TFTP. 
       3: Boot system code via Flash (default).
                                                                                                                              0  
       
    3: System Boot system code via Flash.
    athrs17_set_portvlan_isolated complete
    ## Booting image at 9f040000 ...
       Image Name:   Linux Kernel Image
       Created:      2013-11-04   2:14:22 UTC
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    2881774 Bytes =  2.7 MB
       Load Address: 80002000
       Entry Point:  8024c7c0
       Verifying Checksum at 0x9f040040 ...OK
       Uncompressing Kernel Image ... OK
    
    Starting kernel ...
    
    Booting QCA955x
    Linux version 2.6.31 (root@localhost.localdomain) (gcc version 4.3.4 (Buildroot 2010.05) ) #2 Mon Nov 4 10:14:10 CST 2013
    flash_size passed from bootloader = 16
    arg 1: console=ttyS0,115200
    arg 2: root=31:02
    arg 3: rootfstype=squashfs,jffs2
    arg 4: init=/sbin/init
    arg 5: mtdparts=ath-nor0:192k(u-boot),64k(u-boot-env),2752k(rootfs),1408k(uImage),64k(NVRAM),64k(ART)
    arg 6: mem=128M
    CPU revision is: 00019750 (MIPS 74Kc)
    cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 240
    Determined physical RAM map:
     memory: 02000000 @ 00000000 (usable)
    User-defined physical RAM map:
     memory: 08000000 @ 00000000 (usable)
    Initrd not found or empty - disabling initrd
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00008000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00008000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:192k(u-boot),64k(u-boot-env),2752k(rootfs),1408k(uImage),64k(NVRAM),64k(ART) mem=128M 
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    Writing ErrCtl register=00000000
    Readback ErrCtl register=00000000
    Memory: 104888k/131072k available (2376k kernel code, 26020k reserved, 681k data, 7368k init, 0k highmem)
    NR_IRQS:128
    plat_time_init: plat time init done
    Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
    Mount-cache hash table entries: 512
    
    ****************ALLOC***********************
     Packet mem: 80a44bc0 (0xe00000 bytes)
    ********************************************
    
    NET: Registered protocol family 16
    ath_pcibios_init: bus 0
    ***** Warning PCIe 0 H/W not found !!!
    registering PCI controller with io_map_base unset
    ath_pcibios_init: bus 1
    ath_pcibios_init(232): PCI 1 CMD write: 0x356
    registering PCI controller with io_map_base unset
    bio: create slab  at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    pci 0000:01:00.0: PME# disabled
    pcibios_map_irq: IRQ 76 for bus 1
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    ATH GPIOC major 0
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    NTFS driver 2.1.29 [Flags: R/O].
    JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
    fuse init (API version 7.12)
    msgmni has been set to 205
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered (default)
    Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    loop: module loaded
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    PPP BSD Compression module registered
    PPP MPPE Compression module registered
    NET: Registered protocol family 24
    PPTP driver version 0.8.4
    IMQ driver loaded successfully.
            Hooking IMQ after NAT on PREROUTING.
            Hooking IMQ before NAT on POSTROUTING.
    usbcore: registered new interface driver asix
    Creating 9 MTD partitions on "ath-nor0":
    0x000000000000-0x000001000000 : "ALL"
    0x000000000000-0x000000030000 : "Bootloader"
    0x000000030000-0x000000040000 : "Config"
    0x000000040000-0x000000e90000 : "Kernel"
    0x000000300000-0x000000e90000 : "apps"
    0x000000e90000-0x000000f90000 : "manufacture"
    0x000000f90000-0x000000fa0000 : "backup"
    0x000000fa0000-0x000000ff0000 : "storage"
    0x000000ff0000-0x000001000000 : "caldata"
    usbmon: debugfs is not available
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    Port Status 1c000004 
    ath-ehci ath-ehci.0: ATH EHCI
    ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: ATH EHCI
    ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: irq 3, io mem 0x1b400000
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    Netfilter messages via NETLINK v0.30.
    ip_conntrack version 0.5.0 (3750 buckets, 30000 max 29800 max0 200 reserved) - 4 bytes per conntrack
    CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
    nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
    sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    xt_time: kernel timezone is -0000
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 17
    802.1Q VLAN Support v1.8 Ben Greear 
    All bugs added by David S. Miller 
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 16
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 17
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 0
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 15
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 1
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 19
    
    button_irq: simple_config callback.. ignorepb 1, jiffies 4294892560, gpio 19
    ath_otp_init: Registering OTP success
    Freeing unused kernel memory: 7368k freed
    init started: BusyBox v1.7.5 (2013-11-04 10:10:48 CST)
    starting pid 731, tty '/dev/console': '/sbin/config_init'
    mknod: /dev/ttyS0: File exists
    mknod: /dev/ttyS1: File exists
    Config Init version: 2.01.000.149 date: 2013/11/04
    Tue Jan  1 00:00:00 UTC 2013
    ln: /lib/./modules: File exists
    WAN connect type creat
    955x_GMAC: qca955x_gmac_attach
    955x_GMAC: qca955x_set_gmac_caps
    Currently in polling mode unit0
    mac:0 Registering S17....
    qca955x_GMAC: RX TASKLET - Pkts per Intr:100
    qca955x_GMAC: Max segments per packet :   1
    qca955x_GMAC: Max tx descriptor count :   5
    qca955x_GMAC: Max rx descriptor count :   128
    qca955x_GMAC: Mac capability flags    :   2A00
    starting pid 792, tty '/dev/ttyS0': '/sbin/config_term'
    ************************************************************************
    *                             WN-AC1600DGR                             *
    ************************************************************************
    
    KernelApp/Ramdisk Ver:2.01.000.149                       Date:2013/11/04
    password: +HWT
    -HWT
    HTC Service:0x0300 ep:1 TX flow control disabled
    VAP device ath0 created 
    VAP device ath1 created 
    VAP device ath2 created 
    VAP device ath3 created
    

  • bootlog (op_mode=1)
    U-Boot 0.1.4 (Aug  5 2013 - 10:36:02)
    Product Name: WN-AC1600DGR
    ap136 - Scorpion 1.0
    DRAM:128 MB
    Now running in RAM - U-Boot at: 87fc8000
    Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
    Flash size 16MB, sector count = 256
    In:    serial
    Out:   serial
    Err:   serial
    reset_switch: 
    Multi Net:   
    
    ath_gmac_enet_initialize...
    
    athrs_sgmii_res_cal: cal value = 0x6
    No valid address in Flash. Using fixed address
    ath_gmac_enet_initialize: reset mask:c02200 
    Scorpion  ----> S17 PHY *
    : cfg1 0x80000000 cfg2 0x7114
    eth0: 00:03:7f:09:0b:ad
    athrs17_reg_init: SUPPORT_QCA8337 
    athrs17_reg_init: QCA8337 ID=1302
    athrs17_reg_init: complete
    eth0 up
    eth0
    athrs17_disable_all_port
    Setting 0x18116290 to 0x1830214f
    
    Please choose the operation: 
       1: Load system code to SDRAM via TFTP. 
       3: Boot system code via Flash (default).
                                                                                                                              0  
       
    3: System Boot system code via Flash.
    athrs17_set_portvlan_isolated complete
    ## Booting image at 9f040000 ...
       Image Name:   Linux Kernel Image
       Created:      2013-11-04   2:14:22 UTC
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    2881774 Bytes =  2.7 MB
       Load Address: 80002000
       Entry Point:  8024c7c0
       Verifying Checksum at 0x9f040040 ...OK
       Uncompressing Kernel Image ... OK
    
    Starting kernel ...
    
    Booting QCA955x
    Linux version 2.6.31 (root@localhost.localdomain) (gcc version 4.3.4 (Buildroot 2010.05) ) #2 Mon Nov 4 10:14:10 CST 2013
    flash_size passed from bootloader = 16
    arg 1: console=ttyS0,115200
    arg 2: root=31:02
    arg 3: rootfstype=squashfs,jffs2
    arg 4: init=/sbin/init
    arg 5: mtdparts=ath-nor0:192k(u-boot),64k(u-boot-env),2752k(rootfs),1408k(uImage),64k(NVRAM),64k(ART)
    arg 6: mem=128M
    CPU revision is: 00019750 (MIPS 74Kc)
    cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 240
    Determined physical RAM map:
     memory: 02000000 @ 00000000 (usable)
    User-defined physical RAM map:
     memory: 08000000 @ 00000000 (usable)
    Initrd not found or empty - disabling initrd
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00008000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00008000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:192k(u-boot),64k(u-boot-env),2752k(rootfs),1408k(uImage),64k(NVRAM),64k(ART) mem=128M 
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    Writing ErrCtl register=00000000
    Readback ErrCtl register=00000000
    Memory: 104888k/131072k available (2376k kernel code, 26020k reserved, 681k data, 7368k init, 0k highmem)
    NR_IRQS:128
    plat_time_init: plat time init done
    Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
    Mount-cache hash table entries: 512
    
    ****************ALLOC***********************
     Packet mem: 80a44bc0 (0xe00000 bytes)
    ********************************************
    
    NET: Registered protocol family 16
    ath_pcibios_init: bus 0
    ***** Warning PCIe 0 H/W not found !!!
    registering PCI controller with io_map_base unset
    ath_pcibios_init: bus 1
    ath_pcibios_init(232): PCI 1 CMD write: 0x356
    registering PCI controller with io_map_base unset
    bio: create slab  at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    pci 0000:01:00.0: PME# disabled
    pcibios_map_irq: IRQ 76 for bus 1
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    ATH GPIOC major 0
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    NTFS driver 2.1.29 [Flags: R/O].
    JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
    fuse init (API version 7.12)
    msgmni has been set to 205
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered (default)
    Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    loop: module loaded
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    PPP BSD Compression module registered
    PPP MPPE Compression module registered
    NET: Registered protocol family 24
    PPTP driver version 0.8.4
    IMQ driver loaded successfully.
            Hooking IMQ after NAT on PREROUTING.
            Hooking IMQ before NAT on POSTROUTING.
    usbcore: registered new interface driver asix
    Creating 9 MTD partitions on "ath-nor0":
    0x000000000000-0x000001000000 : "ALL"
    0x000000000000-0x000000030000 : "Bootloader"
    0x000000030000-0x000000040000 : "Config"
    0x000000040000-0x000000e90000 : "Kernel"
    0x000000300000-0x000000e90000 : "apps"
    0x000000e90000-0x000000f90000 : "manufacture"
    0x000000f90000-0x000000fa0000 : "backup"
    0x000000fa0000-0x000000ff0000 : "storage"
    0x000000ff0000-0x000001000000 : "caldata"
    usbmon: debugfs is not available
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    Port Status 1c000004 
    ath-ehci ath-ehci.0: ATH EHCI
    ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: ATH EHCI
    ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: irq 3, io mem 0x1b400000
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000 
    ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    Netfilter messages via NETLINK v0.30.
    ip_conntrack version 0.5.0 (3750 buckets, 30000 max 29800 max0 200 reserved) - 4 bytes per conntrack
    CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
    nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
    sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    xt_time: kernel timezone is -0000
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 17
    802.1Q VLAN Support v1.8 Ben Greear 
    All bugs added by David S. Miller 
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 16
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 17
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 0
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 15
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 1
    arch/mips/atheros/gpio_senao_qca955x.c (sn_init_irq) irq: 19
    
    button_irq: simple_config callback.. ignorepb 1, jiffies 4294892560, gpio 19
    ath_otp_init: Registering OTP success
    Freeing unused kernel memory: 7368k freed
    init started: BusyBox v1.7.5 (2013-11-04 10:10:48 CST)
    starting pid 731, tty '/dev/console': '/sbin/config_init'
    mknod: /dev/ttyS0: File exists
    mknod: /dev/ttyS1: File exists
    Config Init version: 2.01.000.149 date: 2013/11/04
    Tue Jan  1 00:00:00 UTC 2013
    ln: /lib/./modules: File exists
    WAN connect type creat
    955x_GMAC: qca955x_gmac_attach
    955x_GMAC: qca955x_set_gmac_caps
    Currently in polling mode unit0
    mac:0 Registering S17....
    qca955x_GMAC: RX TASKLET - Pkts per Intr:100
    qca955x_GMAC: Max segments per packet :   1
    qca955x_GMAC: Max tx descriptor count :   5
    qca955x_GMAC: Max rx descriptor count :   128
    qca955x_GMAC: Mac capability flags    :   2A00
    starting pid 790, tty '/dev/ttyS0': '/sbin/config_term'
    ************************************************************************
    *                             WN-AC1600DGR                             *
    ************************************************************************
    
    KernelApp/Ramdisk Ver:2.01.000.149                       Date:2013/11/04
    Application Ver:2.01.000.149             Date:2013/11/04
    
    cmd [mkdir -p /appscore]
    cmd [cp /apps/appscore.sqsh /appscore.sqsh]
    cmd [mount -o loop -t squashfs -r /appscore.sqsh /appscore]
    cmd [test -d /appscore/sbin && ln -sf /appscore/sbin/* /sbin]
    cmd [test -f /appscore/sbin/httpd && ln -sf /appscore/sbin/httpd /sbin/httpsd]
    cmd [test -d /appscore/lib && ln -sf /appscore/lib/* /lib]
    cmd [rm -rf /lib/modules/2.6.31]
    cmd [mkdir -p /lib/modules/2.6.31/kernel]
    cmd [ln -s /apps/lib/modules/2.6.31/kernel/* /lib/modules/2.6.31/kernel]
    cmd [cat /apps/lib/modules/2.6.31/modules.dep >> /lib/modules/2.6.31/modules.dep]
    password: cmd [ln -s /apps/sbin/* /sbin]
    ln: /sbin/apps_init: File exists
    ln: /sbin/factory_apps_init: File exists
    ln: /sbin/opmode.sh: File exists
    cmd [rm /sbin/utelnetd]
    cmd [ls /apps/bin/* 1>/dev/null 2>/dev/null && ln -s /apps/bin/* /bin]
    cmd [ls /apps/usr/sbin/* 1>/dev/null 2>/dev/null && ln -s /apps/usr/sbin/* /usr/sbin]
    cmd [ls /apps/usr/bin/* 1>/dev/null 2>/dev/null && ln -s /apps/usr/bin/* /usr/bin]
    cmd [ls /apps/usr/local/* 1>/dev/null 2>/dev/null && ln -s /apps/usr/local/* /usr/local]
    cmd [ls /apps/usr/lib/* 1>/dev/null 2>/dev/null && ln -s /apps/usr/lib/* /usr/lib]
    cmd [mkdir -p /etc/udhcpc]
    cmd [ln -s /apps/etc/udhcpc/* /etc/udhcpc]
    cmd [mkdir -p /usr/lib/tc]
    cmd [ls /apps/usr/lib/tc/* 1>/dev/null 2>/dev/null && ln -s /apps/usr/lib/tc/* /usr/lib/tc]
    cmd [ln -s /apps/etc/xml /etc/xml]
    cmd [/sbin/apcfg_init]
    createShareMem keyid 7001 shmId 0
    Set Str value fail but len not in 1 to 32
    checkpApCfg i=28 [ap2ssid]
    Set Str value fail but len not in 1 to 32
    checkpApCfg i=46 [ap3ssid]
    checkpApCfg error!!
    cmd [/sbin/sysconfd -dddd &]
    cmd [mkdir -p /mnt/sysconfd]
    cmd [ln -s /mnt/sysconfd /var/sysconfd]
    MSGQ_GETID: Cannot get message queue for key[fwmanager]!
    MSGQ_CREATE: create message queue for key[fwmanager], msgQ Id 0
    CTRL_INTERFACE:[/var/sysconfd_if]  CTRL_INTERFACE_IF:[if0]
    
    System Monitoring
    cmd [/sbin/sysconf_cli -t 60 sysinit]
    *********************************************************************
    Initializing system environment
    Setting up /tmp directory ...
    cmd [chmod 777 /tmp]
    Setting up loopback device ...
    cmd [ifconfig lo up 127.0.0.1 netmask 255.0.0.0]
    ***************************************************
    Radio_1 is in   Access Point[0]
    Radio_2 is in   Access Point[0]
    System is in    AP Router[0]
    ***************************************************
    SEM_GETID got id -1
    cmd [sysctl -w net.ipv4.netfilter.ip_conntrack_max=30000]
    net.ipv4.netfilter.ip_conntrack_max = 30000
    cmd [sysctl -w net.ipv4.netfilter.ip_conntrack_icmp_timeout=30]
    net.ipv4.netfilter.ip_conntrack_icmp_timeout = 30
    cmd [sysctl -w net.ipv4.netfilter.ip_conntrack_udp_timeout=600]
    net.ipv4.netfilter.ip_conntrack_udp_timeout = 600
    cmd [sysctl -w net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=600]
    net.ipv4.netfilter.ip_conntrack_udp_timeout_stream = 600
    cmd [sysctl -w net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=14400]
    net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 14400
    cmd [sysctl -w kernel.shmmax=3145728]
    kernel.shmmax = 3145728
    cmd [sysctl -w vm.dirty_expire_centisecs=100]
    vm.dirty_expire_centisecs = 100
    cmd [sysctl -w vm.dirty_background_ratio=1]
    vm.dirty_background_ratio = 1
    cmd [sysctl -w vm.dirty_expire_centisecs=300]
    vm.dirty_expire_centisecs = 300
    cmd [sysctl -w vm.dirty_ratio=10]
    vm.dirty_ratio = 10
    cmd [sysctl -w vm.vfs_cache_pressure=150]
    vm.vfs_cache_pressure = 150
    cmd [sysctl -w vm.min_free_kbytes=10240]
    vm.min_free_kbytes = 10240
    cmd [sysctl -w vm.overcommit_memory=0]
    vm.overcommit_memory = 0
    cmd [sysctl -w vm.swappiness=0]
    vm.swappiness = 0
    cmd [sysctl -w fs.file-max=2048]
    fs.file-max = 2048
    Mac: 0, rtcTime:1356998402
    cmd [echo 1356998402 > /dev/urandom]
    cmd [dmesg |grep "CPU: " > /var/cpumhz]
    Open file err: /var/cpumhz!
    Starting system logging daemon ...cmd [echo JST-9 > /etc/TZ]
    cmd [date -s 2012.1.1-0:0:0]
    Sun Jan  1 00:00:00 JST 2012
    cmd [echo JST-9 > /etc/TZ]
    cmd [logserver -d]
    connect: No such file or directory
    -----> LOG : TIME, Daylight saving status: Disable
    -----> LOG : TIME, Local time=2012/01/01 00:00:00
    cmd [/sbin/klogd]
    sh: /sbin/klogd: not found
    cmd [/sbin/logserver &]
    cmd [/sbin/syslogd -k 0 -R 192.168.0.250]
    mask = 0
    cmd [/sbin/logserver -t "Start Log Message Service!" ]
    /tmp/log_tmp open error!
    -----> LOG : SYS, Application Version: 2.01
    OK
    Setting up Ethernet devices ...To set s17 LOOKUP_CTRL_REG registers, flag 0 
    
    cmd [/sbin/ifcathr_gmac_ring_alloc Allocated 80 at 0x86d559e0
    onfig eth0 up]
    athr_gmac_ring_alloc Allocated 2048 at 0x805db800
    device id=1302
    /proc/qca_switch/nf_athrs17_hnat is created
    /proc/qca_switch/nf_athrs17_hnat_wan_type is created
    /proc/qca_switch/nf_athrs17_hnat_ppp_id is created
    /proc/qca_switch/nf_athrs17_hnat_udp_thresh is created
    /proc/qca_switch/nf_athrs17_hnat_wan_ip is created
    /proc/qca_switch/nf_athrs17_hnat_ppp_peer_ip is created
    /proc/qca_switch/nf_athrs17_hnat_ppp_peer_mac is created
    /proc/qca_switch/nf_athrs17_hnat_wan_mac is created
    Registering IPv6 hooks... 
    Adding ACL rules 15 - upnp_ssdp_add_acl_rules
    ACL is not yet enabled. Enabling... 
    Adding ACL rules 7 - ipv6_snooping_solicted_node_add_acl_rules
    Adding ACL rules 11 - ipv6_snooping_sextuple0_group_add_acl_rules
    Adding ACL rules 13 - ipv6_snooping_quintruple0_1_group_add_acl_rules
    Hello, nat helper module for 1.1!
    
    ######## S17 SSDK init succeeded! ########
    ### s17 : set 0x610=0x001bd560 
    ### s17 : set 0x614=0x80010002 
    ### s17 : set 0x610=0x001b7fe0 
    ### s17 : set 0x614=0x80020002 
    _athrs17_mac0_intf done
    athrs17_reg_init:done
    S17_P0PAD_MODE_REG 0x87680000
    athrs17_reg_init:done
    955x_GMAC: eth0 in RGMII MODE
    Scorpion -----> S17 PHY
    Setting Drop CRC Errors, Pause Frames and Length Error frames 
    Setting PHY...
    Phy setup Complete
    To set s17 LOOKUP_CTRL_REG registers, flag 1 
    cmd [vconfig add eth0 1]
    cmd [vconfig add eth0 2]
    cmd [ifconfig eth0.1 0.0.0.0]
    cmd [ifconfig eth0.2 0.0.0.0]
    cmd [/sbin/ifconfig eth0.1 down]
    cmd [/sbin/ifconfig eth0.1 hw ether 34:76:C5:35:11:30 
    ]
    cmd [/sbin/ifconfig eth0.1 up]
    device eth0 entered promiscuous mode
    cmd [/sbin/ifconfig eth0.2 down]
    cmd [/sbin/ifconfig eth0.2 hw ether 34:76:C5:35:11:32 
    ]
    cmd [/sbin/ifconfig eth0.2 up]
    OK
    Configuring Bridge device ...          -----> LOG : BR, start
    cmd [brctl addbr br0]
    cmd [/sbin/ifconfig br0 down]
    cmd [/sbin/ifconfig br0 hw ether 34:76:C5:35:11:30 
    ]
    cmd [/sbin/ifconfig br0 up]
    cmd [brctl setfd br0 0.1]
    cmd [brctl setbridgeprio br0 32768]
    OK
    Setting the host&domain name ...Finished.
    Configuring net ...          cmd [sysctl -p /etc/sysctl.conf]
    net.ipv4.neigh.default.proxy_qlen = 96
    net.ipv4.neigh.default.unres_qlen = 6
    net.ipv4.ip_local_port_range = 32768 65535
    net.ipv4.tcp_timestamps = 0
    net.ipv4.tcp_sack = 0
    net.ipv4.tcp_window_scaling = 0
    net.ipv4.tcp_rmem = 1048576 1048576 1048576
    net.ipv4.tcp_wmem = 1048576 1048576 1048576
    net.ipv4.tcp_mem = 1048576 1048576 1048576
    net.ipv4.tcp_ecn = 0
    net.ipv4.tcp_reordering = 3
    net.ipv4.tcp_fack = 0
    net.ipv4.icmp_echo_ignore_broadcasts = 1
    net.ipv4.icmp_ignore_bogus_error_responses = 1
    net.ipv4.icmp_echo_ignore_all = 0
    net.ipv4.tcp_max_syn_backlog = 2048
    net.ipv4.tcp_syncookies = 1
    net.ipv4.tcp_fin_timeout = 30
    net.ipv4.tcp_retries2 = 15
    net.ipv4.tcp_retries1 = 3
    net.ipv4.tcp_rfc1337 = 1
    net.ipv4.tcp_keepalive_time = 3600
    net.ipv4.tcp_synack_retries = 5
    net.ipv4.tcp_syn_retries = 5
    net.core.somaxconn = 512
    net.core.netdev_max_backlog = 1024
    net.core.dev_weight = 64
    net.core.optmem_max = 1048576
    net.core.rmem_default = 1048576
    net.core.wmem_default = 1048576
    net.core.rmem_max = 1048576
    net.core.wmem_max = 1048576
    cmd [(for i in `ls /proc/sys/net/ipv4/conf/*/accept_source_route`; do              echo 0 > $i;            done) ; (for i in `ls /proc/sys/net/ipv4/conf/*/accept_redirects`; do              echo 0 > $i;            done) ; (for i in `ls /proc/sys/net/ipv4/conf/*/send_redirects`; do              echo 0 > $i;            done) ; (for i in `ls /proc/sys/net/ipv4/conf/*/rp_filter`; do              echo 1 > $i;            done) ; (for i in `ls /proc/sys/net/ipv4/conf/*/log_martians`; do              echo 1 > $i;            done) ; ]
    cmd [echo 0 > /proc/sys/net/ipv4/conf/br0/rp_filter]
    OK
    cmd [mkdir -p /etc/ipv4ll]
    cmd [ln -s /apps/etc/ipv4ll/* /etc/ipv4ll/.]
    Configuring LAN device ...          -----> LOG : LAN, start
    cmd [/sbin/ifconfig br0 down]
    cmd [/sbin/ifconfig eth0.1 0.0.0.0 up]
    cmd [brctl addif br0 eth0.1]
    device eth0.1 entered promiscuous mode
    cmd [/sbin/ifconfig br0 192.168.0.1 netmask 255.255.255.0]
    br0: port 1(eth0.1) entering learning state
    cmd [brctl stp br0 0]
    cmd [route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    OK
    
    
    #############################################
    Initialize Radio setting ... OK
    Configuring radio1 setting ... 
    Configuring Atheros device index:0... FCMD[insmod /lib/adf.ko]
    FCMD[insmod /lib/asf.ko]
    FCMD[insmod /lib/ath_hal.ko]
    FCMD[insmod /lib/ath_rate_atheros.ko]
    FCMD[insmod /lib/ath_dfs.ko]
    FCMD[insmod /lib/ath_dev.ko]
    FCMD[insmod /lib/umac.ko]
    FCMD[ln -s /sbin/hostapd /sbin/hostapd1]
    FCMD[ln -s /sbin/hostapd /sbin/hostapd2]
    wifiname=wifi0 , macaddr=34:76:C5:35:11:30FCMD[ifconfig wifi0 hw ether 34:76:C5:35:11:30]
    FCMD[iwpriv wifi0 setCountryID 4015]
    FCMD[wlanconfig ath0 create wlandev wifi0 wlanmode ap ]
    FCMD[wlanconfig ath1 create wlandev wifi0 wlanmode ap ]
    FCMD[wlanconfig ath2 create wlandev wifi0 wlanmode ap ]
    FCMD[iwpriv wifi0 rxchainmask 3]
    FCMD[iwpriv wifi0 txchainmask 3]
    FCMD[iwpriv wifi0 burst 1]
    FCMD[ifconfig etbr0: port 1(eth0.1) entering forwarding state
    h0 txqueuelen 10000]
    FCMD[iwpriv ath0 mode 11nght40minus]
    FCMD[iwpriv ath1 mode 11nght40minus]
    FCMD[iwpriv ath2 mode 11nght40minus]
    FCMD[iwpriv ath0 cwmenable 1]
    FCMD[iwpriv ath0 chwidth 1]
    FCMD[iwpriv ath1 chwidth 1]
    FCMD[iwpriv ath2 chwidth 1]
    FCMD[iwpriv ath0 disablecoext 1]
    FCMD[sleep 1]
    -----> LOG : WLAN1, Wireless mode = 802.11 2.4G b/g/n
    FCMD[iwpriv ath0 ap_bridge 1]
    FCMD[iwpriv ath0 bssid_bridge 1]
    FCMD[iwpriv ath1 ap_bridge 1]
    FCMD[iwpriv ath1 bssid_bridge 0]
    FCMD[iwpriv ath2 ap_bridge 1]
    FCMD[iwpriv ath2 bssid_bridge 1]
    FCMD[iwconfig ath0 essid "AirPort04400"]
    -----> LOG : WLAN1, SSID1 = AirPort04400
    FCMD[iwconfig ath1 essid "Guest04400"]
    -----> LOG : WLAN1, SSID2 = Guest04400
    FCMD[iwconfig ath2 essid "Copy04400"]
    -----> LOG : WLAN1, SSID3 = Copy04400
    FCMD[iwconfig ath0 channel 11]
    FCMD[iwconfig ath1 channel 11]
    FCMD[iwconfig ath2 channel 11]
    -----> LOG : WLAN1, Channel = 11
    FCMD[iwpriv ath0 maxsta 127]
    FCMD[iwpriv ath0 bintval 100]
    -----> LOG : WLAN1, Beacon Interval = 100(ms)
    FCMD[iwpriv ath0 dtim_period 1]
    FCMD[iwpriv ath1 dtim_period 1]
    FCMD[iwpriv ath2 dtim_period 1]
    -----> LOG : WLAN1, DTIM period = 1
    FCMD[iwpriv ath0 shpreamble 0]
    -----> LOG : WLAN1, Preamble = Long Preamble
    FCMD[iwconfig ath0 rts 2347]
    FCMD[iwconfig ath1 rts 2347]
    FCMD[iwconfig ath2 rts 2347]
    FCMD[iwpriv ath0 protmode 2]
    FCMD[iwpriv ath0 countryie 1]
    FCMD[iwpriv ath0 hide_ssid 0]
    FCMD[iwpriv ath1 hide_ssid 0]
    FCMD[iwpriv ath2 hide_ssid 0]
    FCMD[iwpriv ath0 wmm 1]
    FCMD[iwpriv ath1 wmm 1]
    FCMD[iwpriv ath2 wmm 1]
    FCMD[iwpriv ath0 cwmin 0 0 4]
    FCMD[iwpriv ath0 cwmin 1 0 4]
    FCMD[iwpriv ath0 cwmin 2 0 3]
    FCMD[iwpriv ath0 cwmin 3 0 2]
    FCMD[iwpriv ath0 cwmax 0 0 6]
    FCMD[iwpriv ath0 cwmax 1 0 10]
    FCMD[iwpriv ath0 cwmax 2 0 4]
    FCMD[iwpriv ath0 cwmax 3 0 3]
    FCMD[iwpriv ath0 aifs 0 0 3]
    FCMD[iwpriv ath0 aifs 1 0 7]
    FCMD[iwpriv ath0 aifs 2 0 1]
    FCMD[iwpriv ath0 aifs 3 0 1]
    FCMD[iwpriv ath0 txoplimit 0 0 0]
    FCMD[iwpriv ath0 txoplimit 1 0 0]
    FCMD[iwpriv ath0 txoplimit 2 0 94]
    FCMD[iwpriv ath0 txoplimit 3 0 47]
    FCMD[iwpriv ath0 cwmin 0 1 4]
    FCMD[iwpriv ath0 cwmin 1 1 4]
    FCMD[iwpriv ath0 cwmin 2 1 3]
    FCMD[iwpriv ath0 cwmin 3 1 2]
    FCMD[iwpriv ath0 cwmax 0 1 10]
    FCMD[iwpriv ath0 cwmax 1 1 10]
    FCMD[iwpriv ath0 cwmax 2 1 4]
    FCMD[iwpriv ath0 cwmax 3 1 3]
    FCMD[iwpriv ath0 aifs 0 1 3]
    FCMD[iwpriv ath0 aifs 1 1 7]
    FCMD[iwpriv ath0 aifs 2 1 2]
    FCMD[iwpriv ath0 aifs 3 1 2]
    FCMD[iwpriv ath0 txoplimit 0 1 0]
    FCMD[iwpriv ath0 txoplimit 1 1 0]
    FCMD[iwpriv ath0 txoplimit 2 1 94]
    FCMD[iwpriv ath0 txoplimit 3 1 47]
    FCMD[iwpriv ath0 acm 0 1 0]
    FCMD[iwpriv ath0 acm 1 1 0]
    FCMD[iwpriv ath0 acm 2 1 0]
    FCMD[iwpriv ath0 acm 3 1 0]
    FCMD[iwpriv ath0 noackpolicy 0 0 0]
    FCMD[iwpriv ath0 noackpolicy 1 0 0]
    FCMD[iwpriv ath0 noackpolicy 2 0 0]
    FCMD[iwpriv ath0 noackpolicy 3 0 0]
    FCMD[iwpriv ath0 mcastenhance 2]
    FCMD[iwpriv ath0 mcast_rate 300000]
    FCMD[iwpriv ath1 mcastenhance 2]
    FCMD[iwpriv ath1 mcast_rate 300000]
    FCMD[iwpriv ath2 mcastenhance 2]
    FCMD[iwpriv ath2 mcast_rate 300000]
    FCMD[iwpriv wifi0 set_swapled 1]
    FCMD[killall hostapd1]
    Encryption using WEP ...      
    FCMD[iwconfig ath0 key off]
    Encryption using WEP ...      
    FCMD[iwconfig ath1 key off]
    Encryption using WEP ...      
    FCMD[iwconfig ath2 key off]
     ... finished.
    FCMD[brctl addif br0 ath0]
    FCMD[brctl addif br0 ath1]
    FCMD[brctl addif br0 ath2]
    FCMD[brctl setfd br0 0.1]
    FCMD[ifconfig ath0 0.0.0.0 up]
    FCMD[ifconfig ath1 0.0.0.0 up]
    FCMD[ifconfig ath2 0.0.0.0 up]
    FCMD[ifconfig ath0 up]
    FCMD[iwconfig ath0 txpower 21]
    Set Atheros power to 21 (dBm)
    FCMD[route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    Encryption using WPAWPA2_PSK ...
    Encryption using TKIP CCMP ...
    FCMD[route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    Encryption using WPAWPA2_PSK ...
    Encryption using TKIP CCadf: module license 'Proprietary' taints kernel.
    MP ...
    FCMD[rouDisabling lock debugging due to kernel taint
    te add -net 239.0.0.0 netmask 255.0.0.0 br0]
    Encryption using WPAWPA2_PSK ...
    Encryption using TKIP CCMP ...
    Starting Hostapd ...            FCMD[killall hostapd1]
    FCMD[/sbin/hostapd1 -P /var/hostapd.pid /etc/hostapd0.conf /etc/hostapd1.conf &]
    OK
    FCMD[iwconfig ath0 rate auto]
    FCMD[iwconfig ath1 rate auto]
    FCMD[iwconfig ath2 rate auto]
    cmd [sh /var/sysconfd/athwlan0.sh]
    ath_hal: 0.9.17.1 (AR5416, AR9380, WRITE_EEPROM, 11D)
    ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    ath_dfs: Version 2.0.0
    Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    ath_ahb: 10.1.467 (Atheros/multi-bss)
    __ath_attach: Set global_scn[0]
    Enterprise mode: 0x60000000
    Restoring Cal data from Flash
    Green-AP : Green-AP : Attached
    
    ath_get_caps[5976] rx chainmask mismatch actual 3 sc_chainmak 0
    ath_get_caps[5951] tx chainmask mismatch actual 3 sc_chainmak 0
    _ieee80211_resmgr_create: Multi-Channel Scheduler unavailable since no TSF Timer.
    Error: _ieee80211_resmgr_create: no Multi-chan hw caps. Disabling Off Channel scheduler.
    ath_attach_dfs[11955] dfsdomain 1
    SC Callback Registration for wifi0
    wifi0: Atheros ???: mem=0xb8100000, irq=2
    ath_pci: 10.1.467 (Atheros/multi-bss)
    ath_pci_probe
    PCI device id is 003c :003c
    ath_pci 0000:01:00.0: ath DEBUG: sc=0x87d5a400
    
     ol_ath_pci_configure : num_desired MSI set to 0
    
     Using PCI Legacy Interrupt
    __ol_ath_attach: ath_attach TODO
    ol_ath_attach() BMI inited.
    ol_ath_attach() BMI Get Target Info.
    ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c
    NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
    ol_ath_attach() configure Target .
    qc98xx_verify_checksum: flash checksum passed: 0x667f
    ol_transfer_bin_file 1690: Download Flash data len 2116
    ol_transfer_bin_file 1637: Download Firmware data len 190144
    ol_ath_attach() Download FW. 
    ol_ath_attach() HT Create .
    ol_ath_attach() HIF Claim.
    ol_ath_attach() BMI Done. 
    ol_ath_attach() WMI attached. wmi_handle 87db0000 
    +HWT
    CE_recv_buf_enqueue 457 Populate last entry 512 for CE 5
    CE_recv_buf_enqueue 466 CE 5 wi 511 dest_ptr 0xe51be0 nbytes 0 recv_ctxt 0x807251a0
    -HWT
    HTC Service:0x0300 ep:1 TX flow control disabled
    CE_pkt_dl_len_set CE 4 Pkt download length 42
    TXRX: Created pdev 80726e00
    wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event 
    num_rf_chain : 00000003
    ht_cap_info: : 0000085b
    vht_cap_info : 338001b2
    vht_supp_mcs : 0000ffea
    LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
    idx 0 req 1  num_units 0 num_unit_info 2 unit size 404 actual units 145 
    chunk 0 len 58580 requested ,ptr  0x790000 
    FIRMWARE:P 145 V 16 T 443
     
    wmi_ready_event_rx:  WMI UNIFIED READY event 
    ol_ath_connect_htc() WMI is ready
    ol_ath_set_host_app_area TODO
    target uses HTT version 2.1; host uses 2.1
    ol_ath_attach() connect HTC. 
    ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    Skipping VHT80 channel 5825
    ol_ath_phyerr_attach: called
    OL Resmgr Init-ed
    Green-AP : Green-AP : Attached
    
    Green-AP : Attached
    ol_if_dfs_setup: called 
    ol_if_dfs_attach: called; ptr=8077d974, radar_info=8061fbe8
    ol_ath_rtt_meas_report_attach: called
    ol_ath_attach() UMAC attach . 
    ol_if_dfs_configure: called
    ol_if_dfs_configure: FCC domain
    ol_if_dfs_disable: called
    ol_ath_attach: Calling ol_if_dfs_configure
    __ol_ath_attach: init tx/rx TODO
    __ol_ath_attach: hard_header_len reservation 58
    __ol_ath_attach: dev name wifi1
    SC Callback Registration for wifi1
    
    VAP device ath0 created 
    ath0
    VAP device ath1 created 
    ath1
    VAP device ath2 created 
    ath2
    
    
    
    
    
    
    
    
    
    
    
    
    
    
     
     DES SSID SET=Guest04400 
     
     DES SSID SET=Copy04400 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    killall: hostapd1: no process killed
    device ath0 entered promiscuous mode
    device ath1 entered promiscuous mode
    device ath2 entered promiscuous mode
    br0: port 2(ath0) entering learning state
    br0: port 2(ath0) entering forwarding state
    br0: port 3(ath1) entering learning state
    br0: port 3(ath1) entering forwarding state
    br0: port 4(ath2) entering learning state
    route: SIOCADDRT: File exists
    route: SIOCADDRT: File exists
    route: SIOCADDRT: File exists
    killall: hostapd1: no process killed
    Configuration fi ieee80211_ioctl_siwmode: imr.ifm_active=1442432, new mode=3, valid=1 
    le: /etc/hostapd0.conf
    br0: port 4(ath2) entering forwarding state
    br0: port 2(ath0) entering disabled state
    Flushing old sta DEVICE IS DOWN ifname=ath0
    tion entries
     DEVICE IS DOWN ifname=ath0
    Could not connect to kernel driver.
    Using interface ath0 with hwaddr 34:76:c5:35:11:30 and ssid 'AirPort04400'
    cmd [rm -f /tmp/wifi0_ifconfig]
    cmd [ifconfig | grep wifi0 >/tmp/wifi0_ifconfig]
    cmd [rm -f /tmp/ath0_ifconfig]
    cmd [ifconfig ath0 | grep ath0 >/tmp/ath0_ifconfig]
    cmd [rm -f /tmp/ath1_ifconfig]
    cmd [ifconfig ath1 | grep ath1 >/tmp/ath1_ifconfig]
    cmd [rm -f /tmp/ath2_ifconfig]
    cmd [ifconfig ath2 | grep ath2 >/tmp/ath2_ifconfig]
    Sam: hostapd_init_wps
    WPS: Converting display to virtual_display for WPS 2.0 compliance
    WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance
    cmd [ifconfig ath0 down]
    br0: port 2(ath0) entering learning state
    br0: port 2(ath0) entering forwarding state
    br0: port 2(ath0) entering disabled state
    Configuration fi ieee80211_ioctl_siwmode: imr.ifm_active=1442432, new mode=3, valid=1 
    le: /etc/hostapd1.conf
    cmd [ifconfig ath1 down]
    br0: port 3(ath1) entering disabled state
    Flushing old sta DEVICE IS DOWN ifname=ath1
    tion entries
     DEVICE IS DOWN ifname=ath1
    Could not connect to kernel driver.
    cmd [ifconfig ath2 down]
    br0: port 4(ath2) entering disabled state
    Using interface ath1 with hwaddr 06:76:c5:35:11:30 and ssid 'Guest04400'
    cmd [ifconfig ath0 up]
    Sam: hostapd_init_wps
    br0: port 2(ath0) entering learning state
    cmd [ifconfig ath1 up]
    br0: port 2(ath0) entering forwarding state
    br0: port 3(ath1) entering learning state
    cmd [sleep 1]
    br0: port 3(ath1) entering forwarding state
    cmd [echo 0 22 3 > /proc/simple_config/simple_config_led]
    System Debug : gWlan24GOff[-1].
    System Debug : gWlan5GOff[-1].
    cmd [echo 0 22 3 > /proc/simple_config/simple_config_led]
    cmd [echo 0 21 2 > /proc/simple_config/simple_config_led]
    athOpen OK
    cmd [mknod /dev/watchdog c 10 130]
    cmd [watchdog -t 15 /dev/watchdog]
    cmd [wlanconfig ath0 list chan > /tmp/wls_24g_chanlist]
    OK
    
    
    #############################################
    Initialize Radio setting ... OK
    Configuring radio2 setting ... 
    Configuring Atheros device index:1... wifiname=wifi1 , macaddr=34:76:C5:35:11:31FCMD[ifconfig wifi1 hw ether 34:76:C5:35:11:31]
    FCMD[iwpriv wifi1 setCountryID 4015]
    FCMD[wlanconfig ath3 create wlandev wifi1 wlanmode ap ]
    FCMD[iwpriv ath3 nss 3]
    FCMD[iwpriv wifi1 rxchainmask 7]
    FCMD[iwpriv wifi1 txchainmask 7]
    FCMD[iwpriv wifi1 burst 1]
    FCMD[ifconfig eth0 txqueuelen 10000]
    FCMD[iwpriv ath3 mode 11acvht80]
    FCMD[iwpriv ath3 wds 0]
    FCMD[iwpriv ath3 shortgi 1]
    FCMD[iwpriv ath3 ldpc 1]
    FCMD[iwpriv ath3 ampdu 64]
    FCMD[iwpriv ath3 amsdu 3]
    FCMD[iwpriv ath3 chwidth 2]
    FCMD[iwpriv ath3 disablecoext 1]
    FCMD[sleep 1]
    -----> LOG : WLAN2, Wireless mode = 802.11 5G ac
    FCMD[iwpriv ath3 ap_bridge 1]
    FCMD[iwpriv ath3 bssid_bridge 1]
    FCMD[iwconfig ath3 essid "Stream04400"]
    -----> LOG : WLAN2, SSID1 = Stream04400
    FCMD[iwconfig ath3 channel 36]
    -----> LOG : WLAN2, Channel = 36
    FCMD[iwpriv ath3 bintval 100]
    -----> LOG : WLAN2, Beacon Interval = 100(ms)
    FCMD[iwpriv ath3 dtim_period 1]
    -----> LOGisCountryCodeValid: EEPROM regdomain 0x0
     : WLAN2, DTIM pol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    eriod = 1
    FCMD[ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    iwpriv ath3 shprol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    eamble 0]
    -----ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    > LOG : WLAN2, Pol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    reamble = Long Pol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    reamble
    FCMD[iwol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    config ath3 rts ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    2347]
    FCMD[iwprSkipping VHT80 channel 5660
    iv ath3 countryiSkipping VHT80 channel 5680
    e 1]
    FCMD[iwpriSkipping VHT80 channel 5700
    v ath3 hide_ssid 0]
    FCMD[iwpriv ath3 wmm 1]
    FCath_ioctl: SIOC80211IFCREATE CALLED
    MD[iwpriv ath3 mwmi_unified_vdev_create_send: ID = 0 VAP Addr = 34:76:c5:35:11:31:
    castenhance 2]
    TXRX: Created vdev 80772560 (34:76:c5:35:11:31)
    FCMD[iwpriv ath3Setting vdev param = 26, value = 147
     mcast_rate 3000Setting vdev param = 27, value = 295
    00]
    FCMD[iwprivSetting vdev param = 28, value = 300
     wifi1 set_swaplVAP device ath3 created 
    ed 1]
    FCMD[killTXRX: ol_txrx_peer_find_add_id: peer 80617000 ID 64
    all hostapd2]
    ETXRX: ol_txrx_peer_find_add_id: peer 80617000 ID 80
    ncryption using WEP ...      
    FCMD[iwconfig ath3 key off]
     ... finished.
    FCMD[brctl addif br0Setting vdev param = 20, value = 3
     ath3]
    FCMD[brctl setfd br0 0.1]
    FCMD[ifconfig ath3 0.0.0.0 up]
    FCMD[ifconfig ath3 up]
    FCMD[iwconfig ath3 txpower 21]
    Set Atheros power to 21 (dBm)
    FCMD[route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    Encryption using WPA2-PSK ...
    ESetting vdev param = f, value = 0
    ncryption using AES ...
    Starting Hostapd ...   Setting vdev param = 1a, value = 1
             FCMD[killall hostapd2]
    FCMD[/sbin/hostSetting vdev param = 1b, value = 1
    apd2 -P /var/hostapd2.pid /etc/hostapd20.conf &]
    OK
    FCMD[#iwpriv ath3 vhtmcs 0]
    cmd [sh /var/sysconfd/athwlan1.sh]
    
    ath3
    
    
    
    
    
    
    
    
    
    
    
    
    
    OL vap_stop +
    wmi_unified_vdev_stop_send 
    OL vap_stop -
    STOPPED EVENT for vap 0 
    
    
    
    
    
    
    
    
    Invalid command : set_swapled
    killall: hostapd2: no process killed
    ol_ath_vap_set_param: VAP param unsupported param:75 value:1
    device ath3 entered promiscuous mode
    OL vap_stop +
    wmi_unified_vdev_stop_send 
    OL vap_stop -
    STOPPED EVENT for vap 0 
    OL vap_start +
    OL vap_start -
    ol_vdev_start_resp_ev
    ol_ath_vap_join: join operation is only for STA/IBSS mode
    ol_ath_wmm_update:
    Setting vdev param = 3, value = 100
    Notification to UMAC VAP layer
    br0: port 5(ath3) entering learning state
    route: SIOCADDRT: File exists
    killall: hostapd2: no process killed
    Configuration fi ieee80211_ioctl_siwmode: imr.ifm_active=131738, new mode=3, valid=1 
    le: /etc/hostapdwmi_unified_vdev_stop_send 
    20.conf
    STOPPED EVENT for vap 0 
    cmd [rm -f /tmp/wifi1_ifconfig]
    cmd [ifconfig | grep wifi1 >/tmp/wifi1_ifconfig]
    br0: port 5(ath3) entering forwarding state
    br0: port 5(ath3) entering disabled state
    ol_ath_vap_set_param: VAP param unsupported param:33 value:0
    Flushing old sta DEVICE IS DOWN ifname=ath3
    tion entries
     DEVICE IS DOWN ifname=ath3
    Could not connecol_ath_vap_set_param: VAP param unsupported param:33 value:0
    t to kernel driver.
    Using interface ath3 with hwaddr 34:76:c5:35:11:31 and ssid 'Stream04400'
    cmd [rm -f /tmp/ath3_ifconfig]
    cmd [ifconfig ath3 | grep ath3 >/tmp/ath3_ifconfig]
    cmd [sleep 1]
    Sam: hostapd_iniol_ath_vap_set_param: VAP param unsupported param:18 value:1
    t_wps
    WPS: Convol_ath_vap_set_param: VAP param unsupported param:75 value:1
    erting display t Group Keyidx set=1 
     o virtual_displawmi_unified_vdev_install_key_send Setting Key for Macaddress:0x311135c57634 
    y for WPS 2.0 coKeyix=1 Keylen=16 Keyflags=1 Cipher=4 
     Keydata=mpliance
    WPS: C0x98 onverting push_b0xfd utton to virtual0x41 _push_button for0x83  WPS 2.0 complia0x4e nce
    0xd0 0xd0 0x1a 0xcb 0x1 0xdf 0x4d 0xc2 0x86 0x50 0x34 
    ol_ath_vap_set_param: VAP param unsupported param:75 value:0
    TXRX: ol_txrx_peer_find_add_id: peer 80617000 ID 176
    TXRX: sec spec for peer 80617000 (34:76:c5:35:11:31): mcast key of type 6
    Setting vdev param = 1f, value = 1
    ol_ath_vap_set_param: VAP param unsupported param:33 value:1
    OL vap_stop +
    wmi_unified_vdev_stop_send 
    OL vap_stop -
    STOPPED EVENT for vap 0 
    OL vap_start +
    OL vap_start -
    ol_vdev_start_resp_ev
    ol_ath_vap_join: join operation is only for STA/IBSS mode
    ol_ath_wmm_update:
    Setting vdev param = 3, value = 100
    Notification to UMAC VAP layer
    br0: port 5(ath3) entering learning state
    br0: port 5(ath3) entering forwarding state
    cmd [echo 0 21 3 > /proc/simple_config/simple_config_led]
    System Debug : gWlan24GOff[-1].
    System Debug : gWlan5GOff[-1].
    cmd [echo 0 22 3 > /proc/simple_config/simple_config_led]
    cmd [echo 0 21 3 > /proc/simple_config/simple_config_led]
    athOpen OK
    cmd [mknod /dev/watchdog c 10 130]
    mknod: /dev/watchdog: File exists
    cmd [watchdog -t 15 /dev/watchdog]
    cmd [wlanconfig ath3 list chan > /tmp/wls_5g_chanlist]
    OK
    cmd [ln -s /apps/usr/sbin/pppd /usr/sbin/pppd0]
    cmd [ln -s /apps/usr/sbin/pppd /usr/sbin/pppd1]
    Wan Manager...
    Configuring WAN device[WAN0] ...
    cmd [echo 1 > /proc/wancon_type ]
    Connect to ISP using PPPoE ... -----> LOG : WAN, start PPPoE mode
    cmd [chmod 755 /etc/ppp/pap-secrets]
    cmd [chmod 755 /etc/ppp/chap-secrets]
    cmd [chmod 755 /etc/ppp/options.tty0]
    cmd [chmod 0755 /etc/wanconn0.conf]
    cmd [ifconfig eth0.2 hw ether 34:76:C5:35:11:32 0.0.0.0   up]
    -----> LOG : WAN, No PHY Link
    No PHY Link
    cmd [/sbin/wanmanager &]
    -----> LOG : DNS, start DNS Proxy
    Set Domain Routing for FLET'S Square Connection...            
    failed to read /etc/wanconn1.conf
    Failed to load /etc/wanconn1.conf
    Starting DNS Proxy ...            cmd [/sbin/dnsmasq -C /etc/dnsmasq.conf -i br0 -k &]
    FAILED
    -----> LOG : DHCP, start DHCP Server
    Starting DHCP(udhcpd) server ...            cmd [udhcpd &]
    udhcpd (v1.7.5) started
    Unable to open /etc/udhcpd.leases for reading
    OK
    Starting FW manager ...           cmd [/sbin/fwmanager&]
    OK
    cmd [echo JST-9 > /etc/TZ]
    Starting ntpclient ...            
    -----> LOG : NTP, start NTP Client
    Setup tc for QoS ... Disabled
    
    SCHEDULE, ServiceWlanLowRateInit ...service_index[0].
    -----> LOG : SCHEDULE, Wireless Normal Mode
    
    SCHEDULE, ServiceWlsRadioOffInit ...service_index[1].
    cmd [ifconfig ath0 up]
    cmd [ifconfig ath1 up]
    cmd [echo 0 22 3 > /proc/simple_config/simple_config_led]
    fwmMsgqId is 0
    === Firmware Manager start === 
    -----> LOG : SCHEDULE, 2.4G Wireless Radio On
    
    SCHEDULE, Service5GWlanLowRateInit ...service_index[2].
    ----Port led blink on
    -> LOG : SCHEDULE, 5G Wireless Normal Mode
    
    SCHEDULE, Service5GWlsRadioOffInit ...service_index[3].
    cmd [ifconfig ath3 up]
    cmd [echo 0 21 3 > /proc/simple_config/simple_config_led]
    -----> LOG : SCHEDULE, 5G Wireless Radio On
    
    SCHEDULE, ServiceLedOffInit ...service_index[4].
    -----> LOG : SCHEDULE, LED On
    cmd [ethreg -l 1]
    cmd [echo 31 22 >/proc/simple_config/simple_config_led]
    cmd [echo 31 21 >/proc/simple_config/simple_config_led]
    cmd [echo 0 14 3 > /proc/simple_config/simple_config_led]
    
    SCHEDULE, ServiceLanOffInit ...service_index[5].
    -----> LOG : SCHEDULE, Set LAN Interface Up
    cmd [ethreg -i eth0 -p 3 0x00=0x1000]
    ethreg: eth0: Success
    cmd [ethreg -i eth0 -p 2 0x00=0x1000]
    ethreg: eth0: Success
    cmd [ethreg -i eth0 -p 1 0x00=0x1000]
    ethreg: eth0: Success
    cmd [ethreg -i eth0 -p 0 0x00=0x1000]
    ethreg: eth0: Success
    
    SCHEDULE, ServiceWanOffInit ...service_index[6].
    -----> LOG : SCHEDULE, Set WAN InterfForce Low Rate Off
    ace Up
    cmd [ethreg -i eth0 -p 4 0x00=0x1000]
    ethreg: eth0: Success
    
    SCHEDULE, ServiceLanLowRateInit ...service_index[7].
    -----> LOG : SCHEDULE, Set LAN Link Rate to 1000Mbps
    cmd [ethreg -v 0]
    
    SCHEDULE, ServicePowerLedInit ...service_index[8].
    cmd [echo 0 3 2 > /proc/simple_config/simple_config_led]
    
    
    Schedule starting  [scheduleOpen], ...wait result..
    Schedule result :[Disable (No rules)]. 
    -----> LOG : NET, start NAT
    -----> LOG : NET, start Firewall
    Configuring network routing and filtering ...FCMD[modprobe ipt_MASQUERADE]
    FCMD[modprobe ipt_REDIRECT]
    FCMD[modprobe ipt_LOG]
    FCMD[modprobe ipt_REJECT]
    FCMD[modprobe iptable_mangle]
    FCMD[modprobe iptable_nat]
    FCMD[modprobe ipt_connlimit]
    FCMD[modprobe ipt_ttl]
    FCMD[modprobe ipt_TTL]
    FCMD[modprobe ipt_time]
    FCMD[modprobe ipt_tos]
    FCMD[modprobe ipt_TOS]
    FCMD[modprobe ipt_TRIGGER]
    FCMD[modprobe xt_MARK]
    FCMD[modprobe xt_TCPMSS]
    FCMD[modprobe xt_CONNMARK]
    FCMD[modprobe xt_pkttype]
    FCMD[modprobe xt_multiport]
    FCMD[modprobe xt_connmark]
    FCMD[modprobe xt_tcpmss]
    FCMD[modprobe xt_conntrack]
    FCMD[modprobe xt_string]
    FCMD[modprobe xt_state]
    FCMD[modprobe xt_length]
    FCMD[modprobe xt_limit]
    FCMD[modprobe xt_mac]
    FCMD[modprobe xt_mark]
    FCMD[modprobe ipt_IMQ]
    FCMD[modprobe xt_iprange]
    cmd [sh /var/sysconfd/modprobe_iptable.sh]
    modprobe: module ipt_MASQUERADE not found
    modprobe: failed to load module ipt_MASQUERADE
    modprobe: module ipt_REDIRECT not found
    modprobe: failed to load module ipt_REDIRECT
    modprobe: module ipt_LOG not found
    modprobe: failed to load module ipt_LOG
    modprobe: module ipt_REJECT not found
    modprobe: failed to load module ipt_REJECT
    modprobe: module iptable_mangle not found
    modprobe: failed to load module iptable_mangle
    modprobe: module iptable_nat not found
    modprobe: failed to load module iptable_nat
    modprobe: module ipt_connlimit not found
    modprobe: failed to load module ipt_connlimit
    modprobe: module ipt_ttl not found
    modprobe: failed to load module ipt_ttl
    modprobe: module ipt_TTL not found
    modprobe: failed to load module ipt_TTL
    modprobe: module ipt_time not found
    modprobe: failed to load module ipt_time
    modprobe: module ipt_tos not found
    modprobe: failed to load module ipt_tos
    modprobe: module ipt_TOS not found
    modprobe: failed to load module ipt_TOS
    modprobe: module ipt_TRIGGER not found
    modprobe: failed to load module ipt_TRIGGER
    modprobe: module xt_MARK not found
    modprobe: failed to load module xt_MARK
    modprobe: module xt_TCPMSS not found
    modprobe: failed to load module xt_TCPMSS
    modprobe: module xt_CONNMARK not found
    modprobe: failed to load module xt_CONNMARK
    modprobe: module xt_pkttype not found
    modprobe: failed to load module xt_pkttype
    modprobe: module xt_multiport not found
    modprobe: failed to load module xt_multiport
    modprobe: module xt_connmark not found
    modprobe: failed to load module xt_connmark
    modprobe: module xt_tcpmss not found
    modprobe: failed to load module xt_tcpmss
    modprobe: module xt_conntrack not found
    modprobe: failed to load module xt_conntrack
    modprobe: module xt_string not found
    modprobe: failed to load module xt_string
    modprobe: module xt_state not found
    modprobe: failed to load module xt_state
    modprobe: module xt_length not found
    modprobe: failed to load module xt_length
    modprobe: module xt_limit not found
    modprobe: failed to load module xt_limit
    modprobe: module xt_mac not found
    modprobe: failed to load module xt_mac
    modprobe: module xt_mark not found
    modprobe: failed to load module xt_mark
    modprobe: module ipt_IMQ not found
    modprobe: failed to load module ipt_IMQ
    modprobe: module xt_iprange not found
    modprobe: failed to load module xt_iprange
    FCMD[iptables --flush]
    FCMD[iptables -t nat --flush]
    FCMD[iptables -t mangle --flush]
    FCMD[iptables -A INPUT -i lo -j ACCEPT]
    FCMD[iptables -A OUTPUT -o lo -j ACCEPT]
    FCMD[iptables --policy INPUT DROP]
    FCMD[iptables --policy OUTPUT DROP]
    FCMD[iptables --policy FORWARD DROP]
    FCMD[iptables -t nat --policy PREROUTING ACCEPT]
    FCMD[iptables -t nat --policy OUTPUT ACCEPT]
    FCMD[iptables -t nat --policy POSTROUTING ACCEPT]
    FCMD[iptables -t mangle --policy PREROUTING ACCEPT]
    FCMD[iptables -t mangle --policy POSTROUTING ACCEPT]
    FCMD[iptables -t mangle --policy OUTPUT ACCEPT]
    FCMD[iptables --delete-chain]
    FCMD[iptables -t nat --delete-chain]
    FCMD[iptables -t mangle --delete-chain]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ALL NONE -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags ALL NONE -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ALL ALL -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ALL SYN,RST,ACK,FIN,URG -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags SYN,RST SYN,RST -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN,RST -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags FIN,RST FIN,RST -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags FIN,RST FIN,RST -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ACK,FIN FIN -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags ACK,FIN FIN -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ACK,PSH PSH -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags ACK,PSH PSH -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ACK,URG URG -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags ACK,URG URG -j DROP]
    FCMD[iptables -X synflood]
    FCMD[iptables -N synflood]
    FCMD[iptables -A synflood -p tcp --syn -m limit --limit 20/s --limit-burst 20 -j RETURN]
    FCMD[iptables -A synflood -p tcp -j REJECT --reject-with tcp-reset]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp -m state --state NEW -j synflood]
    FCMD[iptables -t filter -X urlfilter]
    FCMD[iptables -t filter -N urlfilter]
    FCMD[iptables -t nat -A PREROUTING -i br0 -p tcp -d 192.168.0.1 --dport 8080 -j DROP]
    FCMD[iptables -t nat -A PREROUTING -i br0 -p tcp --sport 1024:65535 -d 192.168.0.1 --dport 80 -j DNAT --to-destination 192.168.0.1:8080]
    FCMD[iptables -t nat -A PREROUTING -i br0 -p tcp --sport 1024:65535 ! -d 192.168.0.1 --dport 80 -j DNAT --to-destination 192.168.0.1:10404]
    FCMD[iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT]
    FCMD[iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT]
    FCMD[iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT]
    FCMD[iptables -A INPUT -s 192.168.0.1 -j DROP]
    FCMD[iptables -A FORWARD -s 192.168.0.1 -j DROP]
    FCMD[iptables -A OUTPUT -o br0 ! -s 192.168.0.1 -j DROP]
    FCMD[iptables -A INPUT -i br0 -p udp --dport 1900 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -p tcp --dport 2869 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -d 0.0.0.0 -j DROP]
    FCMD[iptables -A INPUT   ! -p udp -d 224.0.0.0/4 -j DROP]
    FCMD[iptables -A FORWARD ! -p udp -d 224.0.0.0/4 -j DROP]
    FCMD[iptables -A INPUT -i br0 -s 239.0.0.0/8 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -d 239.0.0.0/8 -j ACCEPT]
    FCMD[iptables -A OUTPUT -o br0 -p udp -s 0.0.0.0 --sport 67 -d 255.255.255.255 --dport 68 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -p tcp --dport 53 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -p udp --dport 53 -j ACCEPT]
    FCMD[iptables -A OUTPUT -o eth0.2 -p udp --dport 53 -j ACCEPT]
    FCMD[iptables -A OUTPUT -o eth0.2 -p tcp --dport 53 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -p udp --dport 69 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -p udp -s 192.168.0.0/255.255.255.0 --dport 123 -j ACCEPT]
    FCMD[iptables -A INPUT --fragment -p icmp -j DROP]
    FCMD[iptables -A OUTPUT --fragment -p icmp -j DROP]
    FCMD[iptables -A FORWARD --fragment -p icmp -j DROP]
    FCMD[iptables -A OUTPUT -p icmp --icmp-type source-quench -j ACCEPT]
    FCMD[iptables -A FORWARD -p icmp --icmp-type source-quench -j ACCEPT]
    FCMD[iptables -A INPUT -p icmp --icmp-type parameter-problem -j ACCEPT]
    FCMD[iptables -A OUTPUT -p icmp --icmp-type parameter-problem -j ACCEPT]
    FCMD[iptables -A FORWARD -p icmp --icmp-type parameter-problem -j ACCEPT]
    FCMD[iptables -A INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT]
    FCMD[iptables -A OUTPUT -o br0 -p icmp --icmp-type destination-unreachable -d 192.168.0.1 -j ACCEPT]
    FCMD[iptables -A FORWARD -o br0 -p icmp --icmp-type destination-unreachable -d 192.168.0.1 -j ACCEPT]
    FCMD[iptables -A OUTPUT -p icmp --icmp-type fragmentation-needed -j ACCEPT]
    FCMD[iptables -A FORWARD -p icmp --icmp-type fragmentation-needed -j ACCEPT]
    FCMD[iptables -A OUTPUT -p icmp --icmp-type destination-unreachable -j DROP]
    FCMD[iptables -A INPUT -p icmp --icmp-type time-exceeded -j ACCEPT]
    FCMD[iptables -A FORWARD -o br0 -p icmp --icmp-type time-exceeded -d 192.168.0.1 -j ACCEPT]
    FCMD[iptables -A OUTPUT -p icmp --icmp-type echo-request -m state --state NEW -j ACCEPT]
    FCMD[iptables -X bad-ping]
    FCMD[iptables -N bad-ping]
    FCMD[iptables -A bad-ping -p icmp --icmp-type echo-request -m limit --limit 20/s --limit-burst 20 -j ACCEPT]
    FCMD[iptables -A bad-ping -p icmp --icmp-type echo-request -j DROP]
    FCMD[iptables -A INPUT -i br0 -p icmp --icmp-type echo-request -j bad-ping]
    FCMD[iptables -A OUTPUT -o br0 -s 192.168.0.1 -j ACCEPT]
    FCMD[iptables -A FORWARD -i br0 -o br0 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -j ACCEPT]
    FCMD[/sbin/ifconfig eth0.1 up]
    Iptable restart VPN ACL ...VPN ACL ...
    FCMD[echo 1 > /proc/sys/net/ipv4/ip_forward]
    FCMD[echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter]
    FCMD[echo 15 > /proc/sys/net/ipv4/route/gc_interval]
    FCMD[echo 1 > /proc/sys/net/ipv4/ip_dynaddr]
    FCMD[echo 1 > /proc/sys/net/ipv4/conf/eth0.2/arp_filter]
    cmd [sh /var/sysconfd/iptables.sh]
    iptables: No chain/target/match by that name.
    iptables: No chain/target/match by that name.
    iptables: No chain/target/match by that name.
    OK
    cmd [cp /apps/etc/ethertypes /etc/ethertypes]
    Configuring Bridge filtering ...FCMD[ebtables -A FORWARD --in-interface ath1 --out-interface ath0 -j DROP]
    FCMD[ebtables -A FORWARD --in-interface ath0 --out-interface ath1 -j DROP]
    FCMD[ebtables -A FORWARD --in-interface ath1 --out-interface ath3 -j DROP]
    FCMD[ebtables -A FORWARD --in-interface ath3 --out-interface ath1 -j DROP]
    FCMD[ebtables -A FORWARD --in-interface ath1 --out-interface ath2 -j DROP]
    FCMD[ebtables -A FORWARD --in-interface ath2 --out-interface ath1 -j DROP]
    FCMD[ebtables -A FORWARD --in-interface ath1 --out-interface eth0.1 -j DROP]
    FCMD[ebtables -A FORWARD --in-interface eth0.1 --out-interface ath1 -j DROP]
    cmd [sh /var/sysconfd/ebtables.sh]
    Ebtables v2.0 registered
    OK
    cmd [echo 0 23 1 > /proc/simple_config/simple_config_led]
    Starting SiteBlock server ...            
    Netpacket Filter Open ....              sysGetKernelInfo: netv :1.0
    Kernel netpkt ver netv: 1.0
    cmd [insmod /lib/netpktfilter.ko]
    bsfdrv_major = 235
    cmd [echo lan-add eth0.1 > /proc/netpktconfig/config_interface]
    cmd [echo lan-add ath2 > /proc/netpktconfig/config_interface]
    cmd [echo lan-add ath1 > /proc/netpktconfig/config_interface]
    cmd [echo lan-add ath0 > /proc/netpktconfig/config_interface]
    cmd [echo lan-add ath3 > /proc/netpktconfig/config_interface]
    cmd [echo BSF 0 > /proc/netpktconfig/config_interface]
    cmd [echo wlan-add ath2 > /proc/netpktconfig/config_interface]
    cmd [echo wlan-add ath1 > /proc/netpktconfig/config_interface]
    cmd [echo wlan-add ath0 > /proc/netpktconfig/config_interface]
    cmd [echo wlan-add ath3 > /proc/netpktconfig/config_interface]
    cmd [echo wan-add eth0.2 > /proc/netpktconfig/config_interface]
    cmd [echo pppoe 0 > /proc/netpktconfig/config_interface]
    cmd [echo ipv6 1 > /proc/netpktconfig/config_interface]
    cmd [echo lan-ip c0a80001 > /proc/netpktconfig/config_interface]
    cmd [echo igmp_snooping 1 > /proc/netpktconfig/config_interface]
    OK
    Starting UPNPD  ...  -----> LOG : UPnP, Start
    cmd [uuidgen -m 3476C5351130]
    WAN Speed = 10 Mbps
    cmd [route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    route: SIOCADDRT: File exists
    cmd [mkdir -p /etc/linuxigd]
    cmd [ln -sf /apps/etc/linuxigd/* /etc/linuxigd/.]
    cmd [upnpd -f  ppp0 br0&]
    FAILED
    IGMP Proxy is disabled...  -----> LOG : HTTP, start
    cmd [httpd&]
    Starting DDNS  ...  Disabled
    Staring ALG...           OK
    Starting LLTD ...           -----> LOG : WLAN, start LLTD
    cmd [lld2d -d -t 31 br0 &]
    OK
    -----> LOG : WAN, stop Hardware NAT
    cmd [echo 0 > /proc/qca_switch/nf_athrs17_hnat]
    cmd [ethreg 0x30=0x80000300]
    ethreg: eth0: Success
    cmd [echo WN-AC1600DGR > /etc/hostname]
    cmd [echo "iface br0 static" > /etc/network/interfaces]
    cmd [echo -540 > /etc/gmoffset]
    cmd [HDLFind -c /etc/HDLFind.conf]
    cmd [route add -net 224.0.0.0 netmask 224.0.0.0 br0]
    cmd [HDLQC -c /etc/HDLQC.conf]
    cmd [mkdir -p /etc/sxpsplus]
    cmd [cp -f /apps/etc/sxpsplus/* /etc/sxpsplus/]
    cmd [cp -f /lib/modules/2.6.31/kernel/drivers/usb/class/usblp.ko /lib/]
    cmd [insmod /lib/usblp.ko]
    usbcore: registered new interface driver usblp
    cmd [/etc/sxpsplus/rc.sxpsplus.sh start]
    Initialize SX PrintServer Plus
    Starting SX PrintServer Plus Daemon: /sbin/sxpspd -i br0 -D
    cmd [mkdir -p /lib/modules/sxuptp/daemon]
    cmd [ln -sf /apps/lib/modules/sxuptp/daemon/* /lib/modules/sxuptp/daemon]
    cmd [mkdir -p /lib/modules/sxuptp/drivers]
    cmd [ln -sf /apps/lib/modules/sxuptp/drivers/* /lib/modules/sxuptp/drivers]
    cmd [mkdir -p /lib/modules/sxuptp/wq]
    cmd [ln -sf /apps/lib/modules/sxuptp/wq/* /lib/modules/sxuptp/wq]
    cmd [mkdir -p /etc/sxuptp]
    cmd [cp -f /apps/etc/sxuptp/* /etc/sxuptp]
    cmd [mkdir -p /etc/sxnasplus]
    cmd [mkdir -p /tmp/sxnasplus]
    cmd [cp -f /apps/etc/sxnasplus/* /etc/sxnasplus/]
    cmd [ln -sf /sbin/ntfs-3g /sbin/ntfsvlabel]
    cmd [ln -sf /sbin/mtools /sbin/mlabel]
    cmd [ln -sf /sbin/sxhotplugd /sbin/sxhotpluginfo]
    cmd [ln -sf /sbin/sxhotplugd /sbin/sxmount]
    cmd [ln -sf /sbin/sxhotplugd /sbin/sxunmount]
    cmd [cp -f /lib/modules/2.6.31/kernel/drivers/usb/storage/usb-storage.ko /lib/]
    cmd [mkdir -p /etc/minidlna]
    cmd [cp -f /apps/etc/minidlna/* /etc/minidlna/]
    cmd [mkdir -p /tmp/minidlna]
    cmd [mkdir -p /etc/rlwebaccess]
    cmd [cp -f /apps/etc/rlwebaccess/* /etc/rlwebaccess/]
    cmd [chmod 755 /sbin/snihotplug]
    cmd [sysctl -w kernel.hotplug=/sbin/snihotplug]
    kernel.hotplug = /sbin/snihotplug
    cmd [echo OK > /tmp/rl_upnp_result]
    cmd [ln -sf /etc/minidlna/rc.minidlna.sh /tmp/sxnasplus/rc.minidlna.sh]
    cmd [insmod /lib/usb-storage.ko]
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    cmd [/etc/sxnasplus/rc.sxhotplug.sh start]
    Initialize Hotplug
    Starting HotPlug:                       /sbin/sxhotplugd
    cmd [/etc/sxnasplus/rc.sxnasplus.sh start]
    Initialize SX NAS Plus
    Starting SX NAS Plus FSS Daemon:            /sbin/sxnas-fssd
    Starting SX NAS Plus NS Daemon:             /sbin/sxnas-nsd
    cmd [echo 10626 > /tmp/remotelink_port]
    Initialization has completed
    cmd [date > /var/sysconfd_start_time]
    *We used 24.610000 seconds to initialize all modules*
    cmd [/sbin/processmanager &]
    pSEM_GETID got id 65538
    cmd [/sbin/rmgmt &]
    cmd [/etc/rc.d/rc.local &]
    [RMGMT DBG] RMGMT_VERSION: 3.45.34
    cmd [kill -SIGUSR2 2088]
    *** PROCESS MANAGER Starts ***
    Processmanager update modules
    Reload WAN: ppp0 ...
    Close WAN: ppp0 ...
    -----> LOG : WAN, stop PPPoE mode
    cmd [/sbin/wanmanager -m stop0]
    cmd [/sbin/wanmanager -m stop1]
    cmd [ifconfig eth0.2   0.0.0.0   up]
    Configuring WAN device[WAN0] ...
    cmd [echo 1 > /proc/wancon_type ]
    Connect to ISP using PPPoE ... -----> LOG : WAN, start PPPoE mode
    cmd [chmod 755 /etc/ppp/pap-secrets]
    cmd [chmod 755 /etc/ppp/chap-secrets]
    cmd [chmod 755 /etc/ppp/options.tty0]
    cmd [chmod 0755 /etc/wanconn0.conf]
    cmd [ifconfig eth0.2   0.0.0.0   up]
    cmd [/sbin/wanmanager -m reload0]
    -----> LOG : WAN, No PHY Link
    No PHY Link
    VPN Disconnect ...
    Phy(eth0.2) link disconnected ...Wait for link recover
    Restarting Iptables ....-----> LOG : NET, stop NAT
    -----> LOG : NET, stop Firewall
    Clean iptable...cmd [iptables --flush]
    cmd [iptables -t nat --flush]
    cmd [iptables -t mangle --flush]
    cmd [iptables --policy INPUT   ACCEPT]
    cmd [iptables --policy OUTPUT  ACCEPT]
    cmd [iptables --policy FORWARD ACCEPT]
    OK
    -----> LOG : NET, start NAT
    -----> LOG : NET, start Firewall
    Configuring network routing and filtering ...FCMD[iptables --flush]
    FCMD[iptables -t nat --flush]
    FCMD[iptables -t mangle --flush]
    FCMD[iptables -A INPUT -i lo -j ACCEPT]
    FCMD[iptables -A OUTPUT -o lo -j ACCEPT]
    FCMD[iptables --policy INPUT DROP]
    FCMD[iptables --policy OUTPUT DROP]
    FCMD[iptables --policy FORWARD DROP]
    FCMD[iptables -t nat --policy PREROUTING ACCEPT]
    FCMD[iptables -t nat --policy OUTPUT ACCEPT]
    FCMD[iptables -t nat --policy POSTROUTING ACCEPT]
    FCMD[iptables -t mangle --policy PREROUTING ACCEPT]
    FCMD[iptables -t mangle --policy POSTROUTING ACCEPT]
    FCMD[iptables -t mangle --policy OUTPUT ACCEPT]
    FCMD[iptables --delete-chain]
    FCMD[iptables -t nat --delete-chain]
    FCMD[iptables -t mangle --delete-chain]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ALL NONE -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags ALL NONE -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ALL ALL -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ALL SYN,RST,ACK,FIN,URG -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags SYN,RST SYN,RST -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN,RST -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags FIN,RST FIN,RST -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags FIN,RST FIN,RST -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ACK,FIN FIN -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags ACK,FIN FIN -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ACK,PSH PSH -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags ACK,PSH PSH -j DROP]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp --tcp-flags ACK,URG URG -j DROP]
    FCMD[iptables -A FORWARD -p tcp --tcp-flags ACK,URG URG -j DROP]
    FCMD[iptables -X synflood]
    FCMD[iptables -N synflood]
    FCMD[iptables -A synflood -p tcp --syn -m limit --limit 20/s --limit-burst 20 -j RETURN]
    FCMD[iptables -A synflood -p tcp -j REJECT --reject-with tcp-reset]
    FCMD[iptables -A INPUT  ! -i br0  -p tcp -m state --state NEW -j synflood]
    FCMD[iptables -t filter -X urlfilter]
    FCMD[iptables -t filter -N urlfilter]
    FCMD[iptables -t nat -A PREROUTING -i br0 -p tcp -d 192.168.0.1 --dport 8080 -j DROP]
    FCMD[iptables -t nat -A PREROUTING -i br0 -p tcp --sport 1024:65535 -d 192.168.0.1 --dport 80 -j DNAT --to-destination 192.168.0.1:8080]
    FCMD[iptables -t nat -A PREROUTING -i br0 -p tcp --sport 1024:65535 ! -d 192.168.0.1 --dport 80 -j DNAT --to-destination 192.168.0.1:10404]
    FCMD[iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT]
    FCMD[iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT]
    FCMD[iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT]
    FCMD[iptables -A INPUT -s 192.168.0.1 -j DROP]
    FCMD[iptables -A FORWARD -s 192.168.0.1 -j DROP]
    FCMD[iptables -A OUTPUT -o br0 ! -s 192.168.0.1 -j DROP]
    FCMD[iptables -A INPUT -i br0 -p udp --dport 1900 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -p tcp --dport 2869 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -d 0.0.0.0 -j DROP]
    FCMD[iptables -A INPUT   ! -p udp -d 224.0.0.0/4 -j DROP]
    FCMD[iptables -A FORWARD ! -p udp -d 224.0.0.0/4 -j DROP]
    FCMD[iptables -A INPUT -i br0 -s 239.0.0.0/8 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -d 239.0.0.0/8 -j ACCEPT]
    FCMD[iptables -A OUTPUT -o br0 -p udp -s 0.0.0.0 --sport 67 -d 255.255.255.255 --dport 68 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -p tcp --dport 53 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -p udp --dport 53 -j ACCEPT]
    FCMD[iptables -A OUTPUT -o eth0.2 -p udp --dport 53 -j ACCEPT]
    FCMD[iptables -A OUTPUT -o eth0.2 -p tcp --dport 53 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -p udp --dport 69 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -p udp -s 192.168.0.0/255.255.255.0 --dport 123 -j ACCEPT]
    FCMD[iptables -A INPUT --fragment -p icmp -j DROP]
    FCMD[iptables -A OUTPUT --fragment -p icmp -j DROP]
    FCMD[iptables -A FORWARD --fragment -p icmp -j DROP]
    FCMD[iptables -A OUTPUT -p icmp --icmp-type source-quench -j ACCEPT]
    FCMD[iptables -A FORWARD -p icmp --icmp-type source-quench -j ACCEPT]
    FCMD[iptables -A INPUT -p icmp --icmp-type parameter-problem -j ACCEPT]
    FCMD[iptables -A OUTPUT -p icmp --icmp-type parameter-problem -j ACCEPT]
    FCMD[iptables -A FORWARD -p icmp --icmp-type parameter-problem -j ACCEPT]
    FCMD[iptables -A INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT]
    FCMD[iptables -A OUTPUT -o br0 -p icmp --icmp-type destination-unreachable -d 192.168.0.1 -j ACCEPT]
    FCMD[iptables -A FORWARD -o br0 -p icmp --icmp-type destination-unreachable -d 192.168.0.1 -j ACCEPT]
    FCMD[iptables -A OUTPUT -p icmp --icmp-type fragmentation-needed -j ACCEPT]
    FCMD[iptables -A FORWARD -p icmp --icmp-type fragmentation-needed -j ACCEPT]
    FCMD[iptables -A OUTPUT -p icmp --icmp-type destination-unreachable -j DROP]
    FCMD[iptables -A INPUT -p icmp --icmp-type time-exceeded -j ACCEPT]
    FCMD[iptables -A FORWARD -o br0 -p icmp --icmp-type time-exceeded -d 192.168.0.1 -j ACCEPT]
    FCMD[iptables -A OUTPUT -p icmp --icmp-type echo-request -m state --state NEW -j ACCEPT]
    FCMD[iptables -X bad-ping]
    FCMD[iptables -N bad-ping]
    FCMD[iptables -A bad-ping -p icmp --icmp-type echo-request -m limit --limit 20/s --limit-burst 20 -j ACCEPT]
    FCMD[iptables -A bad-ping -p icmp --icmp-type echo-request -j DROP]
    FCMD[iptables -A INPUT -i br0 -p icmp --icmp-type echo-request -j bad-ping]
    FCMD[iptables -A OUTPUT -o br0 -s 192.168.0.1 -j ACCEPT]
    FCMD[iptables -A FORWARD -i br0 -o br0 -j ACCEPT]
    FCMD[iptables -A INPUT -i br0 -j ACCEPT]
    FCMD[/sbin/ifconfig eth0.1 up]
    Iptable restart VPN ACL ...VPN ACL ...
    FCMD[echo 1 > /proc/sys/net/ipv4/ip_forward]
    FCMD[echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter]
    FCMD[echo 15 > /proc/sys/net/ipv4/route/gc_interval]
    FCMD[echo 1 > /proc/sys/net/ipv4/ip_dynaddr]
    FCMD[echo 1 > /proc/sys/net/ipv4/conf/eth0.2/arp_filter]
    cmd [sh /var/sysconfd/iptables.sh]
    iptables: No chain/target/match by that name.
    iptables: No chain/target/match by that name.
    iptables: No chain/target/match by that name.
    OK
    OK
    Reloading dnsProxy ...            Stopping DNS Proxy ...            OK
    -----> LOG : DNS, start DNS Proxy
    Set Domain Routing for FLET'S Square Connection...            
    Starting DNS Proxy ...            cmd [/sbin/dnsmasq -C /etc/dnsmasq.conf -i br0 -k &]
    OK
    cmd [kill -SIGUSR1 2088]
    Processmanager update modules
    cmd [ifconfig ath0 down]
    br0: port 2(ath0) entering disabled state
    cmd [iwpriv ath0 mode 11nght40]
    cmd [ifconfig ath1 down]
    br0: port 3(ath1) entering disabled state
    cmd [iwpriv ath1 mode 11nght40]
    cmd [ifconfig ath2 down]
    cmd [iwpriv ath2 mode 11nght40]
    cmd [iwpriv ath0 disablecoext 1]
    
    cmd [iwconfig ath0 channel 0]
    cmd [ifconfig ath0 up]
    Invoking ACS module for Best channel selection 
    br0: port 2(ath0) entering learning state
    cmd [ifconfig ath1 up]
    br0: port 2(ath0) entering forwarding state
    Invoking ACS module for Best channel selection 
    br0: port 3(ath1) entering learning state
    br0: port 3(ath1) entering forwarding state
    cmd [iwconfig ath0 | grep Frequency >/mnt/acsChan]
    -----> LOG : WLAN[2.4G], AutoChannel change to 3
    cmd [ifconfig ath3 down]
    wmi_unified_vdev_stop_send 
    STOPPED EVENT for vap 0 
    br0: port 5(ath3) entering disabled state
    cmd [iwpriv ath3  blockdfschan 1]
    
    cmd [iwconfig ath3 channel 0]OL vap_stop +
    
    wmi_unified_vdev_stop_send 
    OL vap_stop -
    cmd [ifconfig ath3 up]
    OL vap_stop +
    wmi_unified_vdev_stop_send 
    OL vap_stop -
    STOPPED EVENT for vap 0 
    Invoking ACS module for Best channel selection 
    br0: port 5(ath3) entering learning state
    br0: port 5(ath3) entering forwarding state
    STOPPED EVENT for vap 0 
    Function ieee80211_acs_find_best_11na_centerchan best 5G channel is 48
    OL vap_start +
    OL vap_start -
    ol_vdev_start_resp_ev
    ol_ath_vap_join: join operation is only for STA/IBSS mode
    ol_ath_wmm_update:
    Setting vdev param = 3, value = 100
    Notification to UMAC VAP layer
    cmd [iwconfig ath3 | grep Frequency >/mnt/acsChan]