LAN-W451NGR

Atheros SoCを搭載しており、以前より気になっていた機種。最寄りのハードオフで ¥1,080 で置かれており、散々迷った挙句に確保。
発売時期に対してSoCが古く、RAMも少ないが折角なので進める。作業にあたってのメモ。

Switch

zone WAN LAN
port
(LAN-W451NGR)
WAN LAN1 LAN2 LAN3 LAN4
port
(AR8327)
port1 port2 port3 port4 port5

MAC

未確認

  • LAN: 34:95:DB:xx:xx:09
  • WAN: 34:95:DB:xx:xx:0F
  • 2.4G: 34:95:DB:xx:xx:0E

U-Boot

  • help
    ar7240> help
    autoscr - run script from memory
    ?       - alias for 'help'
    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    - Switch/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
    imls    - list all images found in flash
    itest   - return true/false on integer compare
    loadb   - load binary file over serial line (kermit mode)
    loads   - load S-Record file over serial line
    loady   - load binary file over serial line (ymodem mode)
    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 [] - Set to change CPU/AHB/DDR speeds
    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
    ar7240> version
    
    U-Boot 1.1.4 (Aug 29 2012 - 11:46:03)
    
  • printenv
    ar7240> printenv
    baudrate=115200
    ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
    ipaddr=192.168.1.2
    ethact=eth0
    bootcmd=bootm 0x9f0a0010
    bootargs=console=ttyS0,115200 root=1f02 rw rootfstype=jffs2 noinitrd mtdparts=ar7240-nor0:320k(u-boot)ro,3712k(web-cfg-linux),4032k(rootfs),64k(NVRAM),64k(ART)
    serverip=192.168.1.50
    bootdelay=2
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 345/65532 bytes
    
  • mii device
    ar7240> mii device
    MII devices: 'eth0' 'eth1' 
    Current device: 'eth0'
    
  • md.l 0x1805002c 1
    tftpboot前(恐らくpll_100)

    ar7240> md.l 0x1805002c 1
    1805002c: 00000101    ....
    

    tftpboot後(恐らくpll_1000)

    ar7240> md.l 0x1805002c 1
    1805002c: 1c000000    ....
    

Kernel

  • uname -a
    # uname -a
    Linux rlx-linux 2.6.31--LSDK-9.2.0_U10.5.13 #83 Thu Jan 31 19:33:31 CST 2013 mips GNU/Linux
    
  • cat /proc/version
    # cat /proc/version
    Linux version 2.6.31--LSDK-9.2.0_U10.5.13 (netronix@netronix-U46SV) (gcc version 4.5.2 (Linaro GCC 4.5-2011.02-0) ) #83 Thu Jan 31 19:33:31 CST 2013
    
  • cat /proc/cpuinfo
    実際にはAR7242

    # cat /proc/cpuinfo
    system type             : Atheros AR7240 (Python)
    processor               : 0
    cpu model               : MIPS 24Kc V7.4
    BogoMIPS                : 266.24
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 16
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0ff8, 0x0ff8, 0x0ff8]
    ASEs implemented        : mips16
    shadow register sets    : 1
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
  • cat /proc/meminfo
    # cat /proc/meminfo
    MemTotal:          29740 kB
    MemFree:           16680 kB
    Buffers:               0 kB
    Cached:             2724 kB
    SwapCached:            0 kB
    Active:             1320 kB
    Inactive:           2100 kB
    Active(anon):        720 kB
    Inactive(anon):        0 kB
    Active(file):        600 kB
    Inactive(file):     2100 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:           740 kB
    Mapped:              688 kB
    Slab:               7220 kB
    SReclaimable:        184 kB
    SUnreclaim:         7036 kB
    PageTables:          120 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       14868 kB
    Committed_AS:       2036 kB
    VmallocTotal:    1048404 kB
    VmallocUsed:        2024 kB
    VmallocChunk:    1043032 kB
    
  • cat /proc/mtd
    # cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00050000 00010000 "u-boot"
    mtd1: 003a0000 00010000 "web-cfg-linux"
    mtd2: 003f0000 00010000 "rootfs"
    mtd3: 00010000 00010000 "NVRAM"
    mtd4: 00010000 00010000 "ART"
    
  • ethreg
    # ethreg 0x4
    Read Reg: 0x00000004 = 0x07600000
    # ethreg 0xc
    Read Reg: 0x0000000c = 0x01000000
    # ethreg 0x50
    Read Reg: 0x00000050 = 0xffb7ffb7
    # ethreg 0x54
    Read Reg: 0x00000054 = 0xffb7ffb7
    # ethreg 0x58
    Read Reg: 0x00000058 = 0xffb7ffb7
    # ethreg 0x5c
    Read Reg: 0x0000005c = 0x03ffff00
    # ethreg 0x7c
    Read Reg: 0x0000007c = 0x0000007e
    # ethreg 0x94
    Read Reg: 0x00000094 = 0x00001080
    
  • bootlog
    U-Boot 1.1.4 (Aug 29 2012 - 11:46:03)
    
    AP111 (ar7241 - Virian) U-boot
    DRAM:  
    sri
    ar7240_ddr_initial_config(133): virian ddr1 init
    #### TAP VALUE 1 = 0x2, 2 = 0x2 [0x7061636b: 0x61676520]
    32 MB
    Top of RAM usable for U-Boot at: 82000000
    Reserving 224k for U-Boot at: 81fc4000
    Reserving 192k for malloc() at: 81f94000
    Reserving 44 Bytes for Board Info at: 81f93fd4
    Reserving 36 Bytes for Global Data at: 81f93fb0
    Reserving 128k for boot params() at: 81f73fb0
    Stack Pointer at: 81f73f98
    Now running in RAM - U-Boot at: 81fc4000
    Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x17
    sector count = 128
    Flash:  8 MB
    In:    serial
    Out:   serial
    Err:   serial
    Net:   ag7240_enet_initialize...
    No valid address in Flash. Using fixed address
    No valid address in Flash. Using fixed address
     wasp  reset mask:c03300 
    Virian MDC CFG Value ==> 4
    : cfg1 0xf cfg2 0x7114
    eth0: 00:03:7f:09:0b:ad
    athrs17_reg_init: complete
    eth0 up
    Virian MDC CFG Value ==> 4
    : cfg1 0xf cfg2 0x7214
    eth1: 00:03:7f:09:0b:ad
    eth1 up
    eth0, eth1
    Hit any key to stop autoboot:  0 
    ## Booting image at 9f0a0010 ...
       Image Name:   Linux Kernel Image
       Created:      2013-02-19   1:31:53 UTC
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1011308 Bytes = 987.6 kB
       Load Address: 80002000
       Entry Point:  802040c0
       Verifying Checksum at 0x9f0a0050 ...OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 802040c0) ...
    ## Giving linux memsize in bytes, 33554432
    
    Starting kernel ...
    
    Booting AR7240(Python)...
    Linux version 2.6.31--LSDK-9.2.0_U10.5.13 (netronix@netronix-U46SV) (gcc version 4.5.2 (Linaro GCC 4.5-2011.02-0) ) #83 Thu Jan 31 19:33:31 CST 2013
    flash_size passed from bootloader = 8
    arg 1: console=ttyS0,115200
    arg 2: root=1f02
    arg 3: rw
    arg 4: rootfstype=jffs2
    arg 5: noinitrd
    arg 6: mtdparts=ar7240-nor0:320k(u-boot)ro,3712k(web-cfg-linux),4032k(rootfs),64k(NVRAM),64k(ART)
    arg 7: mem=32M
    CPU revision is: 00019374 (MIPS 24Kc)
    Determined physical RAM map:
     memory: 02000000 @ 00000000 (usable)
    User-defined physical RAM map:
     memory: 02000000 @ 00000000 (usable)
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00002000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00002000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
    Kernel command line: console=ttyS0,115200 root=1f02 rw rootfstype=jffs2 noinitrd mtdparts=ar7240-nor0:320k(u-boot)ro,3712k(web-cfg-linux),4032k(rootfs),64k(NVRAM),64k(ART) mem=32M 
    PID hash table entries: 128 (order: 7, 512 bytes)
    Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
    Inode-cache hash table entries: 2048 (order: 1, 8192 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: 29608k/32768k available (2073k kernel code, 3160k reserved, 567k data, 132k init, 0k highmem)
    NR_IRQS:128
    plat_time_init: plat time init done - ar7240_cpu_freq=400000000 
    Calibrating delay loop... 266.24 BogoMIPS (lpj=532480) HZ=250
    Mount-cache hash table entries: 512
    NET: Registered protocol family 16
    ===== ar7240_platform_init: 0
    PCI init:ar7240_pcibios_init
    ar7240_pcibios_init(305): PCI CMD write: 0x356
    registering PCI controller with io_map_base unset
    bio: create slab  at 0
    SCSI subsystem initialized
    pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    pci 0000:00:00.0: PME# disabled
    Returning IRQ 48
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    TCP reno registered
    NET: Registered protocol family 1
    AR7240 GPIOC major 0
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    msgmni has been set to 57
    alg: No test for lzma (lzma-generic)
    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
    PPP generic driver version 2.4.2
    PPP MPPE Compression module registered
    NET: Registered protocol family 24
    5 cmdlinepart partitions found on MTD device ar7240-nor0
    Creating 5 MTD partitions on "ar7240-nor0":
    0x000000000000-0x000000050000 : "u-boot"
    0x000000050000-0x0000003f0000 : "web-cfg-linux"
    0x0000003f0000-0x0000007e0000 : "rootfs"
    0x0000007e0000-0x0000007f0000 : "NVRAM"
    0x0000007f0000-0x000000800000 : "ART"
    nf_conntrack version 0.5.0 (512 buckets, 2048 max)
    nf_conntrack_l2tp version 3.1 loaded
    nf_conntrack_rtsp v0.6.21 loading
    nf_conntrack_ipsec loaded
    nf_nat_ipsec loaded
    nf_nat_rtsp v0.6.21 loading
    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/ar7240/gpio.c (ar7240_simple_config_init) JUMPSTART_GPIO: 1
    
    ar7240: simple_config callback..sc 1, irq 0, ignorepb 0, jiffies 4294892466
    
    ar7240: calling simple_config callback.. push dur in sec 0
    
    ar7240: simple_config callback..sc 1, irq 0, ignorepb 1, jiffies 4294892470
    ar7240wdt_init: Registering WDT success
    VFS: Mounted root (jffs2 filesystem) on device 31:2.
    Freeing unused kernel memory: 132k freed
    slide mode is 1
    ATHR_GMAC: Length per segment 1536
    ATHR_GMAC: fifo cfg 3 01f00140
    ATHR_GMAC: Mac address for unit 0:bfff0000
    ATHR_GMAC: ff:ff:ff:ff:ff:ff 
    ATHR_GMAC: Max segments per packet :   1
    ATHR_GMAC: Max tx descriptor count :   40
    ATHR_GMAC: Max rx descriptor count :   252
    ATHR_GMAC: Mac capability flags    :   4381
    athr_gmac_ring_alloc Allocated 640 at 0x81ed0400
    athr_gmac_ring_alloc Allocated 4032 at 0x81d79000
    Virian MDC CFG Value ==> 4
    Setting Drop CRC Errors, Pause Frames and Length Error frames 
    athrs17_reg_init:done
    Setting PHY...
    Phy setup Complete
    [az] 802.3az init done.. 
    [az] 802.3az init done.. 
    [az] 802.3az init done.. 
    [az] 802.3az init done.. 
    [az] 802.3az init done.. 
    Write Reg: 0x00000624: Oldval = 0x003f3f3f Newval = 0x007f7f7f
    Write Reg: 0x00000010: Oldval = 0x40000000 Newval = 0x40000000
    Write Reg: 0x00000004: Oldval = 0x07500000 Newval = 0x07600000
    Write Reg: 0x0000000c: Oldval = 0x01000000 Newval = 0x01000000
    Write Reg: 0x0000007c: Oldval = 0x000000fe Newval = 0x0000007e
    Write Reg: 0x00000420: Oldval = 0x00010001 Newval = 0x00010001
    Write Reg: 0x00000430: Oldval = 0x00010001 Newval = 0x00010001
    Write Reg: 0x00000438: Oldval = 0x00010001 Newval = 0x00010001
    Write Reg: 0x00000440: Oldval = 0x00010001 Newval = 0x00010001
    Write Reg: 0x00000448: Oldval = 0x00010001 Newval = 0x00010001
    Write Reg: 0x00000428: Oldval = 0x00010001 Newval = 0x00020001
    Write Reg: 0x00000424: Oldval = 0x00003040 Newval = 0x00002040
    Write Reg: 0x0000042c: Oldval = 0x00003040 Newval = 0x00001040
    Write Reg: 0x00000434: Oldval = 0x00003040 Newval = 0x00001040
    Write Reg: 0x0000043c: Oldval = 0x00003040 Newval = 0x00001040
    Write Reg: 0x00000444: Oldval = 0x00003040 Newval = 0x00001040
    Write Reg: 0x0000044c: Oldval = 0x00003040 Newval = 0x00001040
    Write Reg: 0x00000620: Oldval = 0x000000f0 Newval = 0x000004f0
    Write Reg: 0x00000660: Oldval = 0x0014007e Newval = 0x0014017e
    Write Reg: 0x0000066c: Oldval = 0x0014007d Newval = 0x0014017d
    Write Reg: 0x00000678: Oldval = 0x0014007b Newval = 0x0014017b
    Write Reg: 0x00000684: Oldval = 0x00140077 Newval = 0x00140177
    Write Reg: 0x00000690: Oldval = 0x0014006f Newval = 0x0014016f
    Write Reg: 0x0000069c: Oldval = 0x0014005f Newval = 0x0014015f
    Write Reg: 0x00000610: Oldval = 0x00000000 Newval = 0x001b55e0
    Write Reg: 0x00000614: Oldval = 0x00000000 Newval = 0x80010002
    Write Reg: 0x00000610: Oldval = 0x00000000 Newval = 0x001bff60
    Write Reg: 0x00000614: Oldval = 0x00000002 Newval = 0x80020002
    ifconfig: ioctl 0x8913 failed: No such device
    bridge br0 doesn't exist; can't delete it
    Init Start...
    !!!!!!!!!!!! [1] !!!!!!!!!!!!!!
    open /proc/br_igmpProxy: No such file or directory
    open /proc/sw_nat: No such file or directory
    The macbuf is flash set DEF_WLAN0_SSID logitec-0a040f  
    
    Enet:0 port1 up
    ATH_MAC_TIMER: enet unit:0 is up...
    RGMii 1000Mbps full duplex
    ATH_MAC_TIMER: done cfg2 0x7215 ifctl 0x0 miictrl  
    The macbuf is flash set DEF_WLAN0_VAP0_SSID logitec2nd-0a040f  
    Init bridge interface...
    device eth0.1 entered promiscuous mode
    device eth0 entered promiscuous mode
    br0: port 1(eth0.1) entering forwarding state
    open /proc/gpio: No such file or directory
    0
    Disable
    ath0      no private ioctls.
    
    ath1      no private ioctls.
    
    ath2      no private ioctls.
    
    ath3      no private ioctls.
    
    ===================== 0 =============== 
    wifi0     no private ioctls.
    
    device eth1 entered promiscuous mode
    br0: port 2(eth1) entering forwarding state
    Write Reg: 0x00000030: Oldval = 0x80000300 Newval = 0x80000300
    killall: pppoe-relay: no process killed
    open /proc/custom_Passthru: No such file or directory
    open /proc/custom_Passthru_wlan: No such file or directory
    open /proc/br_igmpVersion: No such file or directory
    open /proc/br_igmpsnoop: No such file or directory
    open /proc/br_igmpquery: No such file or directory
    **** drop_caches_sysctl_handler: all done timer added ...**** 
    ln: /usr/www/ath_www: File exists
    +makeVAP ap logitec-0a040f 0:RF:11ng:11NGHT40 200 1
    0
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    eth0.1    no wireless extensions.
    
    eth1      no wireless extensions.
    
    br0       no wireless extensions.
    
    Args: 1
    asf: module license 'Proprietary' taints kernel.
    Disabling lock debugging due to kernel taint
    ath_hal: 0.9.17.1 (AR5416, AR9380, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D)
    ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    insmod: ath_spectral.ko: module not found
    insmod: ath_dfs.ko: module not found
    insmod: hst_tx99.ko: module not found
    ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    ath_pci: 9.2.0_U11.14 (Atheros/multi-bss)
    This is CAL_IN_FLASH_PCI__ath_attach: Set global_scn[0]
    ACBKMinfree = 48
    ACBEMinfree = 32
    ACVIMinfree = 16
    ACVOMinfree = 0
    CABMinfree = 48
    UAPSDMinfree = 0
    ar9300RadioAttach: Need analog access recipe!!
    Restoring Cal data from Flash
    Using Cal data from Flash 0xbf7f0000
    ath_get_caps[5184] rx chainmask mismatch actual 7 sc_chainmak 0
    ath_get_caps[5159] tx chainmask mismatch actual 7 sc_chainmak 0
    SC Callback Registration for wifi0
    wifi0: Atheros 9380: mem=0x10000000, irq=48 hw_base=0xb0000000
    wifi1     no private ioctls.
    
    Creating ap for logitec-0a040f on
    wlanconfig ath0 create wlandev wifi0 wlanmode ap
    wlan_vap_create : enter. devhandle=0x816082c0, opmode=IEEE80211_M_HOSTAP, flags=0x1
    wlan_vap_create : exit. devhandle=0x816082c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
    Added ath0 mode master
    Configuring RF . . .
    Error for wireless request "Set Tx Power" (8B26) :
        SET failed on device wifi0 ; Invalid argument.
     ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 
    Invalid command : setVowExt
    Invalid command : setKeySrchAlways
    Invalid command : set_vsp_enable
    Interface doesn't accept private ioctl...
    setPhyRestartWar (8BE0): Operation not permitted
    Invalid command : setVowExtStats
    WARNING: Fragmentation with HT mode NOT ALLOWED!!
    Created ath0 mode ap for logitec-0a040f
    +makeVAP ap logitec2nd-0a040f 0::11ng:11NGHT40 300 2
    0
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    eth0.1    no wireless extensions.
    
    eth1      no wireless extensions.
    
    br0       no wireless extensions.
    
    wifi0     no wireless extensions.
    
    Modules already loaded
    Creating ap for logitec2nd-0a040f on
    wlanconfig ath1 create wlandev wifi0 wlanmode ap
    Added ath1 mode master
    Non RF Configuration . . .
     ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 
    Invalid command : setVowExt
    Invalid command : setKeySrchAlways
    Invalid command : set_vsp_enable
    Interface doesn't accept private ioctl...
    setPhyRestartWar (8BE0): Operation not permitted
    Invalid command : setVowExtStats
    WARNING: Fragmentation with HT mode NOT ALLOWED!!
    Created ath1 mode ap for logitec2nd-0a040f
      activateVAP ath0 br0 WPA PSK 2 
    >>>2
    ************1**************************AP_CYPHER2
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    eth0.1    no wireless extensions.
    
    eth1      no wireless extensions.
    
    br0       no wireless extensions.
    
    wifi0     no wireless extensions.
    
    device br0 already exists; can't create bridge with the same name
    device ath0 entered promiscuous mode
    br0: port 3(ath0) entering forwarding state
    /etc/ath/activateVAP: line 209: arping: not found
    >>>>> WPS MODE, 2
    >>>>> WPS ENABLED, PSK
    The command noackpolicy needs exactly 3 argument(s)...
    The command noackpolicy needs exactly 3 argument(s)...
    The command noackpolicy needs exactly 3 argument(s)...
    The command noackpolicy needs exactly 3 argument(s)...
    Create DHCP and multi bridge...
      activateVAP ath1 br0 WEP PSK 0 
    >>>0
    sh: 1: unknown operand
    sh: 2: unknown operand
    sh: 3: unknown operand
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    eth0.1    no wireless extensions.
    
    eth1      no wireless extensions.
    
    br0       no wireless extensions.
    
    wifi0     no wireless extensions.
    
    device br0 already exists; can't create bridge with the same name
    device ath1 entered promiscuous mode
    br0: port 4(ath1) entering forwarding state
    /etc/ath/activateVAP: line 209: arping: not found
    >>>>> WPS MODE, 0
    The command noackpolicy needs exactly 3 argument(s)...
    The command noackpolicy needs exactly 3 argument(s)...
    The command noackpolicy needs exactly 3 argument(s)...
    The command noackpolicy needs exactly 3 argument(s)...
    Create DHCP and multi bridge...
    CHH: System Configuration
    AP_MODE:=ap
    AP_MODE_2:=ap
    AP_MODE_3:=ap
    AP_MODE_4:=ap
    AP_IPADDR:=192.168.1.2
    AP_NETMASK:=255.255.255.0
    WAN_MODE:=bridged
    WAN_IPADDR:=192.168.2.1
    WAN_NETMASK:=255.255.255.0
    WAN_IF:=eth0
    LAN_IF:=eth0
    WLAN_ON_BOOT:=y
    AP_STARTMODE:=multi
    AP_PRIMARY_CH:=11ng
    AP_CHMODE:=11NGHT40
    PUREG:=0
    PUREN:=0
    TXQUEUELEN:=1000
    SHORTGI:=1
    AMPDUENABLE:=1
    AMPDUFRAMES:=32
    AMPDULIMIT:=50000
    AMPDUMIN:=32768
    CWMMODE:=1
    RATECTL:=auto
    MANRATE:=0x8c8c8c8c
    MANRETRIES:=0x04040404
    RX_CHAINMASK:=7
    TX_CHAINMASK:=7
    LED_CUSTOM:=3
    COEXTENABLE:=0
    AP_SSID:=logitec-0a040f
    AP_SSID_2:=logitec2nd-0a040f
    ATH_countrycode:=392
    AP_MODE_5:=ap
    AP_MODE_6:=ap
    AP_MODE_7:=ap
    AP_MODE_8:=ap
    AP_SECMODE:=WPA
    AP_SECMODE_2:=WEP
    AP_SECMODE_3:=None
    AP_SECMODE_4:=None
    AP_SECMODE_5:=None
    AP_SECMODE_6:=None
    AP_SECMODE_7:=None
    AP_SECMODE_8:=None
    AP_SECFILE:=PSK
    AP_SECFILE_2:=PSK
    AP_SECFILE_3:=PSK
    AP_SECFILE_4:=PSK
    AP_SECFILE_5:=PSK
    AP_SECFILE_6:=PSK
    AP_SECFILE_7:=PSK
    AP_SECFILE_8:=PSK
    WPS_ENABLE:=2
    WPS_ENABLE_2:=0
    WPS_ENABLE_3:=0
    WPS_ENABLE_4:=0
    WPS_ENABLE_5:=0
    WPS_ENABLE_6:=0
    WPS_ENABLE_7:=0
    WPS_ENABLE_8:=0
    BEACON_INT:=100
    FRAG_THRESHOLD:=2346
    RTS_THRESHOLD:=2347
    PREAMBLE:=0
    RFPower:=100
    WE ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 
    PLEN:=2
    WEPLEN_ Scan in progress.. Cancelling it 
    2:=2
    WEPLEN_3:=2
    WEPLEN_4:=2
    WEPFORMAT:=1
    WEPFORMAT_2:=1
    WEPFORMAT_3:=1
    WEPFORMAT_4:=1
    AP_WEP_MODE:=1
    AP_WEP_MODE_2:=1
    AP_WEP_MODE_3:=1
    AP_WEP_MODE_4:=1
    AP_WPA:=2
    AP_WPA_2:=1
    AP_WPA_3:=1
    AP_WPA_4:=1
    AP_ENCRYPT:=2
    AP_CYPHER:=br0: port 3(ath0) entering disabled state
    CCMP
    WLAN_DISAB DEVICE IS DOWN ifname=ath0
    LED:=0
    WLAN_DIS DEVICE IS DOWN ifname=ath0
    ABLED_2:=0
    WLAN_DISABLED_3:=1
    WLAN_DISABLED_4:=1
    HIDDEN_SSID:=0
    HIDDEN_SSID_2:=0
    HIDDEN_SSID_3:=0
    HIDDEN_SSID_4:=0
    WLAN_WMM:=1
    WLAN_WMM_2:=1
    WLAN_WMM_3:=1
    WLAN_WMM_4:=1
    WLAN_DHCP:=0
    WLAN_DHCP_2:=0
    WLAN_DHCP_3:=0
    WLAN_DHCP_4:=0
    TX_RATE:=0
    TX_RATE_2:=0
    TX_RATE_3:=0
    TX_RATE_4:=0
    WLAN_PRIVATE_SEPARATE:=1
    WLAN_PRIVATE_SEPARATE_2:=1
    WLAN_PRIVATE_SEPARATE_3:=1
    WLAN_PRIVATE_SEPARATE_4:=1
    WLAN_SSID_SEPARATE:=1
    WLAN_SSID_SEPARATE_2:=1
    WLAN_SSID_SEPARATE_3:=1
    WLAN_SSID_SEPARATE_4:=1
    ACCESS_CONTROL_WEB:=1
    ACCESS_CONTROL_WEB_2:=1
    ACCESS_CONTROL_WEB_3:=1
    ACCESS_CONTROL_WEB_4:=1
    enablePIN:=1
    pskFormat:=0
    pskFormat_2:=0
    pskFormat_3:=0
    pskFormat_4:=0
    SLIDEMODE_TYPE:=1
    PSK_KEY:=9052797528282
    WSC_PIN:=90527975
    AP_PRIMARY_KEY:=2
    WEPKEY_1:=9052797528282
    WEPKEY_2:=9052797528282
    WEPKEY_3:=9052797528282
    WEPKEY_4:=9052797528282
    Add randomness: count=1 entropy=0
    random pool - hexdump(len=128): [REMOVED]
    random_mix_pool - hexdump(len=8): [REMOVED]
    random_mix_pool - hexdump(len=20): [REMOVED]
    random pool - hexdump(len=128): [REMOVED]
    random: Added entropy from /etc/wpa2/entropy (own_pool_ready=2)
    random: Trying to read entropy from /dev/random
    Get randomness: len=20 entropy=1
    random from os_get_random - hexdump(len=20): [REMOVED]
    random_mix_pool - hexdump(len=20): [REMOVED]
    random from internal pool - hexdump(len=16): [REMOVED]
    random_mix_pool - hexdump(len=20): [REMOVED]
    random from internal pool - hexdump(len=16): [REMOVED]
    mixed random - hexdump(len=20): [REMOVED]
    random: Updated entropy file /etc/wpa2/entropy (own_pool_ready=2)
    Configuration file: /etc/wpa2/WSC_ath0.conf
    Configure bridge br0 for EAPOL traffic.
    atheros_set_privacy: enabled=0
    atheros_receive_pkt Enter
    SIOCGIWRANGE: WE(compiled)=22 WE(source)=13 enc_capa=0xf
    BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
    Completing interface initialization
    Flushing old station entries
    atheros_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
    atheros: set80211priv: ath0: ioctl op=0x8be6 (SETMLME) len=42 failed: 22 (Invalid argument)
    atheros_sta_deauth: Failed to deauth STA (addr ff:ff:ff:ff:ff:ff reason 3)
    Could not connect to kernel driver.
    Deauthenticate all stations
    atheros_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=2
    atheros: set80211priv: ath0: ioctl op=0x8be6 (SETMLME) len=42 failed: 22 (Invalid argument)
    atheros_sta_deauth: Failed to deauth STA (addr ff:ff:ff:ff:ff:ff reason 2)
    atheros_set_privacy: enabled=0
    atheros_del_key: addr=00:00:00:00:00:00 key_idx=0
    atheros_del_key: addr=00:00:00:00:00:00 key_idx=1
    atheros_del_key: addr=00:00:00:00:00:00 key_idx=2
    atheros_del_key: addr=00:00:00:00:00:00 key_idx=3
    Using interface ath0 with hwaddr 34:95:db:0a:04:0e and ssid 'logitec-0a040f'
    Deriving WPA PSK based on passphrase
    SSID - hexdump_ascii(len=14):
         6c 6f 67 69 74 65 63 2d 30 61 30 34 30 66         logitec-0a040f  
    PSK (ASCII passphrase) - hexdump_ascii(len=13): [REMOVED]
    PSK (from passphrase) - hexdump(len=32): [REMOVED]
    WPS: UUID based on MAC address - hexdump(len=16): bc 90 be 5br0: port 3(ath0) entering forwarding state
    7 1f de 57 01 b2 a8 b8 86 78 c3 de 97
    WPS: Build Beacon IEs
    WPS:  * Version (hardcoded 0x10)
    WPS:  * Wi-Fi Protected Setup State (2)
    WPS:  * Version2 (0x20)
    WPS: Build Probe Response IEs
    WPS:  * Version (hardcoded 0x10)
    WPS:  * Wi-Fi Protected Setup State (2)
    WPS:  * Response Type (3)
    WPS:  * UUID-E
    WPS:  * Manufacturer
    WPS:  * Model Name
    WPS:  * Model Number
    WPS:  * Serial Number
    WPS:  * Primary Device Type
    WPS:  * Device Name
    WPS:  * Config Methods (2688)
    WPS:  * RF Bands (1)
    WPS:  * Version2 (0x20)
    WPS: Building WPS IE for (Re)Association Response
    WPS:  * Version (hardcoded 0x10)
    WPS:  * Response Type (3)
    WPS:  * Version2 (0x20)
    atheros_set_wps_ie buflen = 26
    atheros_set_wps_ie buflen = 26
    atheros_set_wps_ie buflen = 157
    WPS: David add
    hapd->wps=47de68
    atheros_set_ieee8021x: enabled=1
    atheros_configure_wpa: group key cipher=3
    atheros_configure_wpa: pairwise key ciphers=0x8
    atheros_configure_wpa: key management algorithms=0x2
    atheros_configure_wpa: rsn capabilities=0x0
    atheros_configure_wpa: enable WPA=0x2
    random: Got 20/20 bytes from /dev/random
    Get randomness: len=20 entropy=0
    random from os_get_random - hexdump(len=20): [REMOVED]
    random_mix_pool - hexdump(len=20): [REMOVED]
    random from internal pool - hexdump(len=16): [REMOVED]
    random_mix_pool - hexdump(len=20): [REMOVED]
    random from internal pool - hexdump(len=16): [REMOVED]
    mixed random - hexdump(len=20): [REMOVED]
    random: Updated entropy file /etc/wpa2/entropy (own_pool_ready=2)
    Get randomness: len=32 entropy=0
    random from os_get_random - hexdump(len=32): [REMOVED]
    random_mix_pool - hexdump(len=20): [REMOVED]
    random from internal pool - hexdump(len=16): [REMOVED]
    random_mix_pool - hexdump(len=20): [REMOVED]
    random from internal pool - hexdump(len=16): [REMOVED]
    mixed random - hexdump(len=32): [REMOVED]
    GMK - hexdump(len=32): [REMOVED]
    Get randomness: len=32 entropy=0
    random from os_get_random - hexdump(len=32): [REMOVED]
    random_mix_pool - hexdump(len=20): [REMOVED]
    random from internal pool - hexdump(len=16): [REMOVED]
    random_mix_pool - hexdump(len=20): [REMOVED]
    random from internal pool - hexdump(len=16): [REMOVED]
    mixed random - hexdump(len=32): [REMOVED]
    Key Counter - hexdump(len=32): [REMOVED]
    WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
    Get randomness: len=16 entropy=0
    random from os_get_random - hexdump(len=16): [REMOVED]
    random_mix_pool - hexdump(len=20): [REMOVED]
    random from internal pool - hexdump(len=16): [REMOVED]
    mixed random - hexdump(len=16): [REMOVED]
    GTK - hexdump(len=16): [REMOVED]
    WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
    atheros_set_key: alg=3 addr=ff:ff:ff:ff:ff:ff key_idx=1
    atheros_set_privacy: enabled=1
    atheros_set_opt_ie buflen = 22
    WPS UPnP: Init interface instance 0x47e4b8
    WPS UPnP: Initialize device context
    HTTP: Started server on 192.168.2.1:49152
    ath0: Setup of interface done.
    sh: bad number
    iwpriv ath0 disablecoext 0
    # 128+0 records in
    128+0 records out
    boa: server version Boa/0.94.14rc21
    boa: server built Feb 19 2013 at 09:30:09.
    boa: starting server pid=1875, port 80
    
広告

コメントを残す

以下に詳細を記入するか、アイコンをクリックしてログインしてください。

WordPress.com ロゴ

WordPress.com アカウントを使ってコメントしています。 ログアウト /  変更 )

Google フォト

Google アカウントを使ってコメントしています。 ログアウト /  変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト /  変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト /  変更 )

%s と連携中