Распаковка и разборка CPE KuWfi

Discussion in 'Беспроводные технологии/Wi-Fi/Wardriving' started by Triton_Mgn, 7 Mar 2017.

  1. Kevin Shindel

    Kevin Shindel Elder - Старейшина

    Joined:
    24 May 2015
    Messages:
    1,011
    Likes Received:
    1,192
    Reputations:
    62
    Га? Шо? Хто? Я малюю ща по ОпенВРТ мануал... если шо стучите... вот почти дописал.. малёха осталось...
    https://forum.antichat.ru/threads/449293/

    Сборка прошивки с нуля, перепаковка с помощью ImageBuilder, балансировка провайдеров, добавление\удаление пакетов...
     
    Triton_Mgn likes this.
  2. saimonyz

    saimonyz Member

    Joined:
    23 Jun 2012
    Messages:
    156
    Likes Received:
    41
    Reputations:
    2
    #102 saimonyz, 20 Mar 2017
    Last edited: 20 Mar 2017
  3. Kevin Shindel

    Kevin Shindel Elder - Старейшина

    Joined:
    24 May 2015
    Messages:
    1,011
    Likes Received:
    1,192
    Reputations:
    62
    там всё просто....
    opkg update
    opkg rea.... а дальше клацаешь [TAB] и ОпенВРТешка сама дописывает остальное.... полностью знать имя пакета не надо, только начальные символы...

    Кто сечёт в железе, или знает даташит это безделушки сколько там RAM и FLASH памяти?
    Если флеша всего 4 Мб тогда надо выпиливать левые пакеты.... есть опыт.
     
    saimonyz likes this.
  4. saimonyz

    saimonyz Member

    Joined:
    23 Jun 2012
    Messages:
    156
    Likes Received:
    41
    Reputations:
    2
    если верить то


    Chipset Atheros 9531
    Wireless 802.11N, 2T2R 300M MIMO Technology
    Memory 64MB DDR2 RAM (128MB available by extra cost)
    Flash 16MB
    Interface 2 10/100 Mbps RJ45 Port, support 12~24V PoE
    1 Reset Button
    1 DC Jack, 12V Power Supply
    Antenna 14dBi Panel Antenna
    LED Light POWER WIFI WAN LAN S1(GPIO9) S2(GPIO14) S3(GPIO11) S4(GPIO12)
    Size L 257mm ,W: 87mm,H: 38 mm
    Power 12V(POE 24V)/1A;110V/220V

    а вот и донор можно попробавать прошить https://www.gl-inet.com/ar300m/ =)) у самого есть GL-AR150

    QCA9531 это Atheros 9531 или наборот
     
  5. Kevin Shindel

    Kevin Shindel Elder - Старейшина

    Joined:
    24 May 2015
    Messages:
    1,011
    Likes Received:
    1,192
    Reputations:
    62
    64Mb - ОЗУ не кисло!
    16Mb - Флеш тоже нормально, можно спокойно хэндшейки ловить... через WinSCP переливать на винду без гемора...

    Проблемы с памятью не вижу, этого вполне достаточно для комфортной работы... даже более чем...
     
    yx-ex and Triton_Mgn like this.
  6. saimonyz

    saimonyz Member

    Joined:
    23 Jun 2012
    Messages:
    156
    Likes Received:
    41
    Reputations:
    2
    [ 0.000000] Linux version 3.3.8 (yangyi@ubuntu) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon Oct 17 15:43:05 CST 2016
    [ 0.000000] MyLoader: sysp=8debcfd6, boardp=c7c7c925, parts=c9d7cfce
    [ 0.000000] bootconsole [early0] enabled
    [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
    [ 0.000000] SoC: Qualcomm Atheros QCA9531 rev 2
    [ 0.000000] Clocks: CPU:650.000MHz, DDR:597.265MHz, AHB:216.666MHz, Ref:25.000MHz
    [ 0.000000] Determined physical RAM map:
    [ 0.000000] memory: 04000000 @ 00000000 (usable)
    [ 0.000000] Initrd not found or empty - disabling initrd
    [ 0.000000] Zone PFN ranges:
    [ 0.000000] Normal 0x00000000 -> 0x00004000
    [ 0.000000] Movable zone start PFN for each node
    [ 0.000000] Early memory PFN ranges
    [ 0.000000] 0: 0x00000000 -> 0x00004000
    [ 0.000000] On node 0 totalpages: 16384
    [ 0.000000] free_area_init_node: node 0, pgdat 803c0110, node_mem_map 81000000
    [ 0.000000] Normal zone: 128 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 16256 pages, LIFO batch:3
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
    [ 0.000000] Kernel command line: board=AP147 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),14528k(rootfs),1472k(kernel),64k(art),16000k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
    [ 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] 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] Writing ErrCtl register=00000000
    [ 0.000000] Readback ErrCtl register=00000000
    [ 0.000000] Memory: 60640k/65536k available (2746k kernel code, 4896k reserved, 711k data, 228k init, 0k highmem)
    [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] NR_IRQS:83
    [ 0.000000] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
    [ 0.060000] pid_max: default: 32768 minimum: 301
    [ 0.060000] Mount-cache hash table entries: 512
    [ 0.070000] Performance counters: mips/24K PMU enabled, 2 32-bit counters available to each CPU, irq 13
    [ 0.080000] Initialized recycle list for cpu 0.
    [ 0.080000] NET: Registered protocol family 16
    [ 0.090000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
    [ 0.090000] MIPS: machine is Qualcomm Atheros AP147 reference board
    [ 0.100000] ar724x-pci ar724x-pci.0: PCIe link is down
    [ 0.100000] registering PCI controller with io_map_base unset
    [ 0.110000] ar71xx: invalid MDIO id 1
    [ 0.520000] bio: create slab <bio-0> at 0
    [ 0.520000] PCI host bridge to bus 0000:00
    [ 0.530000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
    [ 0.530000] pci_bus 0000:00: root bus resource [io 0x0000]
    [ 0.540000] Switching to clocksource MIPS
    [ 0.540000] NET: Registered protocol family 2
    [ 0.550000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.550000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    [ 0.560000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.560000] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.570000] TCP reno registered
    [ 0.570000] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.580000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.580000] NET: Registered protocol family 1
    [ 0.590000] PCI: CLS 0 bytes, default 32
    [ 0.600000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.610000] NTFS driver 2.1.30 [Flags: R/W].
    [ 0.610000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [ 0.620000] msgmni has been set to 118
    [ 0.620000] io scheduler noop registered
    [ 0.630000] io scheduler deadline registered (default)
    [ 0.630000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    [ 0.660000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
    [ 0.670000] console [ttyS0] enabled, bootconsole disabled
    [ 0.680000] m25p80 spi0.0: found w25q128, expected m25p80
    [ 0.690000] m25p80 spi0.0: w25q128 (16384 Kbytes)
    [ 0.690000] 6 cmdlinepart partitions found on MTD device spi0.0
    [ 0.700000] Creating 6 MTD partitions on "spi0.0":
    [ 0.700000] 0x000000000000-0x000000040000 : "u-boot"
    [ 0.710000] 0x000000040000-0x000000050000 : "u-boot-env"
    [ 0.710000] 0x000000050000-0x000000e80000 : "rootfs"
    [ 0.720000] mtd: partition "rootfs" set to be root filesystem
    [ 0.730000] mtd: partition "rootfs_data" created automatically, ofs=A60000, len=420000
    [ 0.740000] 0x000000a60000-0x000000e80000 : "rootfs_data"
    [ 0.740000] 0x000000e80000-0x000000ff0000 : "kernel"
    [ 0.750000] 0x000000ff0000-0x000001000000 : "art"
    [ 0.750000] 0x000000050000-0x000000ff0000 : "firmware"
    [ 0.780000] ag71xx_mdio: probed
    [ 0.810000] ar8216: Unknown Atheros device [ver=2, rev=1, phy_id=004dd042]
    [ 0.840000] ar8216: Unknown Atheros device [ver=2, rev=1, phy_id=004dd042]
    [ 0.860000] ar8216: Unknown Atheros device [ver=2, rev=1, phy_id=004dd042]
    [ 0.880000] ar8216: Unknown Atheros device [ver=2, rev=1, phy_id=004dd042]
    [ 0.910000] ar8216: Unknown Atheros device [ver=2, rev=1, phy_id=004dd042]
    [ 0.920000] ag71xx_mdio: probed
    [ 0.920000] eth0: Atheros AG71xx at 0xb9000000, irq 4
    [ 1.480000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
    [ 1.490000] eth1: Atheros AG71xx at 0xba000000, irq 5
    [ 2.050000] eth1: Found an AR934X built-in switch
    [ 3.080000] GACT probability on
    [ 3.080000] Mirror/redirect action on
    [ 3.080000] netem: version 1.3
    [ 3.090000] u32 classifier
    [ 3.090000] Performance counters on
    [ 3.090000] input device check on
    [ 3.100000] Actions configured
    [ 3.100000] Netfilter messages via NETLINK v0.30.
    [ 3.110000] nf_conntrack version 0.5.0 (947 buckets, 3788 max)
    [ 3.110000] ctnetlink v0.93: registering with nfnetlink.
    [ 3.120000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 3.130000] TCP cubic registered
    [ 3.130000] NET: Registered protocol family 17
    [ 3.130000] Bridge firewalling registered
    [ 3.140000] Ebtables v2.0 registered
    [ 3.140000] 8021q: 802.1Q VLAN Support v1.8
    [ 3.150000] ### of_selftest(): No testcase data in device tree; not running tests
    [ 3.160000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
    [ 3.170000] Freeing unused kernel memory: 228k freed
    [ 5.210000] Registered led device: ap147:green:status
    [ 5.210000] Registered led device: ap147:green:wlan
    [ 5.210000] Registered led device: ap147:green:signal0
    [ 5.210000] Registered led device: ap147:green:signal1
    [ 5.210000] Registered led device: ap147:green:signal2
    [ 5.210000] Registered led device: ap147:green:signal3
    [ 8.490000] JFFS2 notice: (646) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 210 of xref (0 dead, 191 orphan) found.
    [ 10.250000] qca_ssdk: Unknown symbol rt6_lookup (err 0)
    [ 10.430000] NET: Registered protocol family 10
    [ 10.640000] SCSI subsystem initialized
    [ 10.680000] Button Hotplug driver version 0.4.1
    [ 11.180000] PPP generic driver version 2.4.2
    [ 11.210000] NET: Registered protocol family 24
    [ 11.340000] asf: module license 'Proprietary' taints kernel.
    [ 11.350000] Disabling lock debugging due to kernel taint
    [ 11.370000] ****Address of trace_timer :830ae620
    [ 11.690000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D)
    [ 11.710000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    [ 11.730000] ath_dfs: Version 2.0.0
    [ 11.730000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    [ 11.760000] ath_spectral: Version 2.0.0
    [ 11.760000] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
    [ 11.770000] SPECTRAL module built on Oct 20 2016 18:01:48
    [ 11.850000] ath_tx99: Version 2.0
    [ 11.850000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
    [ 12.030000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    [ 14.080000] __ath_attach: Set global_scn[0]
    [ 14.090000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead ***
    [ 14.100000] ACBKMinfree = 48
    [ 14.100000] ACBEMinfree = 32
    [ 14.100000] ACVIMinfree = 16
    [ 14.110000] ACVOMinfree = 0
    [ 14.110000] CABMinfree = 48
    [ 14.110000] UAPSDMinfree = 0
    [ 14.110000] ATH_TXBUF=540
    [ 14.120000] Enterprise mode: 0x03fc0000
    [ 14.130000] Restoring Cal data from DRAM
    [ 14.130000]
    [ 14.130000] ART Version : -48.0.0
    [ 14.140000] SW Image Version : -48.0.0.0.0
    [ 14.140000] Board Revision :
    [ 14.150000] ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125
    [ 14.150000] SPECTRAL : get_capability not registered
    [ 14.160000] HAL_CAP_PHYDIAG : Capable
    [ 14.160000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
    [ 14.170000] SPECTRAL : get_capability not registered
    [ 14.180000] HAL_CAP_RADAR : Capable
    [ 14.180000] SPECTRAL : Need to fix the capablity check for SPECTRAL
    [ 14.180000] (spectral_attach : 236)
    [ 14.190000] SPECTRAL : get_capability not registered
    [ 14.200000] HAL_CAP_SPECTRAL_SCAN : Capable
    [ 14.200000] SPECTRAL : get_tsf64 not registered
    [ 14.200000] spectral_init_netlink 65 NULL SKB
    [ 14.210000] SPECTRAL : No ADVANCED SPECTRAL SUPPORT
    [ 14.210000] SPECTRAL :----- module attached
    [ 14.220000] Green-AP : Green-AP : Attached
    [ 14.220000]
    [ 14.230000] ath_get_caps[6169] rx chainmask mismatch actual 3 sc_chainmak 0
    [ 14.230000] ath_get_caps[6144] tx chainmask mismatch actual 3 sc_chainmak 0
    [ 14.250000] band steering initialized for direct attach hardware
    [ 14.250000] ieee80211_bsteering_attach: Band steering initialized
    [ 14.260000] ath_attach_dfs[12691] dfsdomain 1
    [ 14.270000] SPECTRAL : module already attached
    [ 14.280000] osif_wrap_attach:296 osif wrap attached
    [ 14.280000] osif_wrap_devt_init:916 osif wrap dev table init done
    [ 14.290000] ath_tx_paprd_init sc 831e0000 PAPRD disabled in HAL
    [ 14.300000] wifi0: Atheros ???: mem=0xb8100000, irq=47
    [ 14.310000] ath_pci: SmartAntenna-DRT-0.1 (Atheros/multi-bss)
    [ 14.400000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [ 14.960000] xt_time: kernel timezone is -0000
    [ 15.460000] nf_conntrack_rtsp v0.6.21 loading
    [ 15.480000] nf_nat_rtsp v0.6.21 loading
    [ 15.570000] arp_tables: (C) 2002 David S. Miller
    [ 16.000000] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [ 16.280000] fuse init (API version 7.18)
    [ 20.240000] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 20.250000] device eth0 entered promiscuous mode
    [ 20.250000] ADDRCONF(NETDEV_UP): br-lan: link is not ready
    [ 21.310000] ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 21.310000] device eth1 entered promiscuous mode
    [ 22.690000] eth0: link up (100Mbps/Full duplex)
    [ 22.690000] br-lan: port 1(eth0) entered forwarding state
    [ 22.700000] br-lan: port 1(eth0) entered forwarding state
    [ 22.700000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 22.720000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
    [ 24.700000] br-lan: port 1(eth0) entered forwarding state
    [ 26.600000] ath_attach_dfs[12691] dfsdomain 1
    [ 26.710000] wlan_vap_create : enter. devhandle=0x82540380, opmode=IEEE80211_M_STA, flags=0x1
    [ 26.720000] wlan_vap_create : exit. devhandle=0x82540380, opmode=IEEE80211_M_STA, flags=0x1.
    [ 26.730000] VAP device ath0 created osifp: (82629380) os_if: (832ec000)
    [ 26.820000] WARNING: Fragmentation with HT mode NOT ALLOWED!!
    [ 26.870000] This command only support on Host AP mode.
    [ 26.890000]
    [ 26.890000] DES SSID SET=
    [ 26.910000]
    [ 26.910000] DES SSID SET=Aroma
    [ 27.010000] 8021q: adding VLAN 0 to HW filter on device ath0
    [ 28.750000] ieee80211_ioctl_getparam : parameter 0x284 not supported
    [ 30.640000]
    [ 30.640000] DES SSID SET=Aroma
    [ 30.660000] [ieee80211_ioctl_setmlme] set desired bssid e0:19:1d:62:c2:84
    [ 30.680000] vap-0(ath0):ieee80211_setup_node forcing sta to associate in 8 mode
    [ 30.680000] Getting extcaps from Scan Entry
    [ 30.690000] wlan_mlme_join_infra.. SETTING CHANNEL NUMBER 1 CURR CHANNEl is 1 flags 0x10080
    [ 30.800000] vap-0(ath0):ieee80211_setup_node forcing sta to associate in 8 mode
    [ 30.800000] Getting extcaps from Scan Entry
    [ 30.810000] wlan_mlme_join_infra.. SETTING CHANNEL NUMBER 1 CURR CHANNEl is 1 flags 0x10080
    [ 37.680000] ath0: no IPv6 routers present
    [ 43.480000] fast-classifier: starting up
    [ 43.480000] fast-classifier: registered

    root@android-6db06436a326add9:~# cat /proc/version
    Linux version 3.3.8 (yangyi@ubuntu) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon Oct 17 15:43:05 CST 2016
    root@android-6db06436a326add9:~# cat /proc/cpuinfo
    system type : Qualcomm Atheros QCA9531 rev 2
    machine : Qualcomm Atheros AP147 reference board
    processor : 0
    cpu model : MIPS 24Kc V7.4
    BogoMIPS : 432.53
    wait instruction : yes
    microsecond timers : yes
    tlb_entries : 16
    extra interrupt vector : yes
    hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ff8, 0x0ff8, 0x0ff8]
    ASEs implemented : mips16
    shadow register sets : 1
    kscratch registers : 0
    core : 0
    VCED exceptions : not available
    VCEI exceptions : not available

    root@android-6db06436a326add9:~# cat /proc/mtd
    dev: size erasesize name
    mtd0: 00040000 00010000 "u-boot"
    mtd1: 00010000 00010000 "u-boot-env"
    mtd2: 00e30000 00010000 "rootfs"
    mtd3: 00420000 00010000 "rootfs_data"
    mtd4: 00170000 00010000 "kernel"
    mtd5: 00010000 00010000 "art"
    mtd6: 00fa0000 00010000 "firmware"
    root@android-6db06436a326add9:~# cat /proc/modules
    fast_classifier 40725 0 - Live 0x81ce0000 (O)
    fuse 53661 0 - Live 0x824f0000
    ath79_wdt 2816 1 - Live 0x824c4000
    ledtrig_netdev 3328 0 - Live 0x8248a000
    ip6t_REJECT 2400 2 - Live 0x824c6000
    ip6t_LOG 6224 0 - Live 0x824ca000
    ip6t_rt 1536 0 - Live 0x824c2000
    ip6t_hbh 1264 0 - Live 0x824c0000
    ip6t_mh 704 0 - Live 0x824bc000
    ip6t_ipv6header 992 0 - Live 0x824b7000
    ip6t_frag 864 0 - Live 0x824bb000
    ip6t_eui64 704 0 - Live 0x824b9000
    ip6t_ah 800 0 - Live 0x824b4000
    ip6table_raw 576 1 - Live 0x824b3000
    ip6_queue 4064 0 - Live 0x8249f000
    ip6table_mangle 944 1 - Live 0x824a2000
    ip6table_filter 608 1 - Live 0x8245f000
    ip6_tables 9612 9 ip6t_LOG,ip6t_rt,ip6t_hbh,ip6t_ipv6header,ip6t_frag,ip6t_ah,ip6table_raw,ip6table_mangle,ip6table_filter, Live 0x824ac000
    nf_conntrack_ipv6 4512 5 - Live 0x824a8000
    nf_defrag_ipv6 4993 1 nf_conntrack_ipv6, Live 0x824a4000
    ebt_nflog 624 0 - Live 0x8249d000
    ebt_ulog 3856 0 - Live 0x8248f000
    ebt_log 2048 0 - Live 0x82497000
    ebt_snat 832 0 - Live 0x82495000
    ebt_dnat 784 0 - Live 0x8248e000
    ebt_arpreply 1024 0 - Live 0x82492000
    ebt_ip 1248 0 - Live 0x8248c000
    ebt_arp 1568 0 - Live 0x8248d000
    ebt_redirect 848 0 - Live 0x82406000
    ebt_mark 672 0 - Live 0x82488000
    ebt_vlan 912 0 - Live 0x82486000
    ebt_stp 1824 0 - Live 0x8247b000
    ebt_pkttype 528 0 - Live 0x8247c000
    ebt_mark_m 592 0 - Live 0x82482000
    ebt_limit 896 0 - Live 0x82476000
    ebt_among 2032 0 - Live 0x82477000
    ebt_802_3 672 0 - Live 0x8247a000
    ebtable_nat 912 0 - Live 0x82475000
    ebtable_filter 912 0 - Live 0x8245e000
    ebtable_broute 736 0 - Live 0x82456000
    arptable_filter 576 0 - Live 0x82454000
    arpt_mangle 880 0 - Live 0x823de000
    arp_tables 8145 1 arptable_filter, Live 0x8245a000
    nfnetlink_log 5474 0 - Live 0x82458000
    nf_nat_rtsp 3344 0 - Live 0x8241f000 (O)
    nf_conntrack_rtsp 4378 1 nf_nat_rtsp, Live 0x82450000 (O)
    xt_LOGMARK 1680 0 - Live 0x8244c000 (O)
    xt_ipv4options 640 0 - Live 0x8241e000 (O)
    xt_IPMARK 832 0 - Live 0x82440000 (O)
    xt_ACCOUNT 8736 0 - Live 0x82448000 (O)
    xt_u32 960 0 - Live 0x8240b000
    nf_nat_tftp 480 0 - Live 0x8242d000
    nf_conntrack_tftp 2432 1 nf_nat_tftp, Live 0x82416000
    nf_nat_snmp_basic 7024 0 - Live 0x82418000
    nf_conntrack_snmp 736 1 nf_nat_snmp_basic, Live 0x823c7000
    nf_nat_sip 5200 0 - Live 0x82408000
    nf_conntrack_sip 16237 1 nf_nat_sip, Live 0x8240c000
    nf_nat_pptp 1376 0 - Live 0x83bd4000
    nf_conntrack_pptp 3216 1 nf_nat_pptp, Live 0x8242c000
    nf_nat_h323 4576 0 - Live 0x82400000
    nf_conntrack_h323 33647 1 nf_nat_h323, Live 0x82420000
    nf_nat_proto_gre 912 1 nf_nat_pptp, Live 0x823c1000
    nf_conntrack_proto_gre 2629 1 nf_conntrack_pptp, Live 0x82402000
    nf_nat_amanda 688 0 - Live 0x823dc000
    nf_conntrack_amanda 1648 1 nf_nat_amanda, Live 0x823d3000
    nf_conntrack_broadcast 829 1 nf_conntrack_snmp, Live 0x823da000
    nf_nat_irc 864 0 - Live 0x823bc000
    nf_conntrack_irc 2560 1 nf_nat_irc, Live 0x823d9000
    nf_nat_ftp 1072 0 - Live 0x823d5000
    nf_conntrack_ftp 4560 1 nf_nat_ftp, Live 0x823d6000
    xt_iprange 960 0 - Live 0x823d0000
    xt_HL 1296 1 - Live 0x823c8000
    xt_hl 784 1 - Live 0x823cd000
    xt_ecn 1248 0 - Live 0x823c6000
    ipt_ECN 1344 0 - Live 0x823bd000
    xt_CLASSIFY 576 0 - Live 0x823b0000
    xt_time 1552 0 - Live 0x823c0000
    xt_tcpmss 976 0 - Live 0x823c2000
    xt_statistic 768 0 - Live 0x823bf000
    xt_length 688 5 - Live 0x823b7000
    xt_DSCP 1456 0 - Live 0x8237f000
    xt_dscp 992 0 - Live 0x823ae000
    xt_string 752 0 - Live 0x823b2000
    xt_layer7 9236 0 - Live 0x823b8000
    xt_quota 752 0 - Live 0x823b1000
    xt_pkttype 608 0 - Live 0x823a9000
    xt_physdev 1328 0 - Live 0x823ad000
    xt_owner 672 0 - Live 0x823aa000
    compat_xtables 1884 3 xt_LOGMARK,xt_IPMARK,xt_ACCOUNT, Live 0x823a0000 (O)
    ipt_NETMAP 672 0 - Live 0x823a6000
    ipt_MASQUERADE 1072 1 - Live 0x8237a000
    xt_recent 5840 0 - Live 0x823a2000
    xt_helper 864 0 - Live 0x822d6000
    xt_connbytes 1520 0 - Live 0x822de000
    xt_CT 1408 0 - Live 0x82370000
    xt_NOTRACK 544 0 - Live 0x822c0000
    iptable_raw 640 1 - Live 0x822dc000
    sd_mod 22400 0 - Live 0x82398000
    ipt_REJECT 1888 2 - Live 0x822d5000
    xt_TCPMSS 2640 4 - Live 0x822d7000
    ipt_LOG 6304 0 - Live 0x822d8000
    xt_comment 480 0 - Live 0x822c6000
    xt_multiport 1200 5 - Live 0x822c5000
    xt_mac 608 0 - Live 0x822e0000
    iptable_mangle 928 1 - Live 0x83065000
    iptable_filter 672 1 - Live 0x82372000
    msdos 5696 0 - Live 0x822d0000
    bonding 75207 0 - Live 0x82380000
    ifb 2576 0 - Live 0x822e2000
    ath_pktlog 14044 0 - Live 0x822e4000 (PO)
    umac 2799665 1 ath_pktlog, Live 0x82000000 (O)
    ath_dev 270248 2 ath_pktlog,umac, Live 0x83300000 (PO)
    hst_tx99 7844 2 umac,ath_dev, Live 0x830ba000 (PO)
    ath_spectral 25657 2 umac,ath_dev, Live 0x832b8000 (PO)
    ath_dfs 49770 1 umac, Live 0x831f0000 (PO)
    ath_rate_atheros 34912 3 ath_pktlog,umac,ath_dev, Live 0x830b0000 (PO)
    ath_hal 741714 5 ath_pktlog,umac,ath_dev,hst_tx99,ath_rate_atheros, Live 0x83200000 (PO)
    adf 13195 5 umac,ath_dev,hst_tx99,ath_dfs,ath_hal, Live 0x830ac000 (PO)
    asf 6952 6 ath_pktlog,umac,ath_dev,ath_spectral,ath_dfs,ath_hal, Live 0x8306a000 (PO)
    pppoe 7712 0 - Live 0x83066000
    pppox 1370 1 pppoe, Live 0x83096000
    ppp_async 6064 0 - Live 0x83172000
    ppp_generic 19474 3 pppoe,pppox,ppp_async, Live 0x83060000
    slhc 4571 1 ppp_generic, Live 0x8304e000
    vfat 7936 0 - Live 0x83b3e000
    fat 43550 2 msdos,vfat, Live 0x830a0000
    ext4 246302 0 - Live 0x830c0000
    jbd2 41445 1 ext4, Live 0x83050000
    mbcache 4013 1 ext4, Live 0x8313b000
    button_hotplug 2752 0 - Live 0x8314a000 (O)
    nls_iso8859_1 2880 0 - Live 0x83bb0000
    nls_cp437 4416 0 - Live 0x83148000
    scsi_mod 76115 1 sd_mod, Live 0x83080000
    crc16 1015 1 ext4, Live 0x83069000
    crc_ccitt 1019 1 ppp_async, Live 0x8314f000
    ipv6 232257 21 ip6t_REJECT,ip6_queue,ip6table_mangle,nf_conntrack_ipv6,nf_defrag_ipv6, Live 0x83100000
    shortcut_fe 49993 1 fast_classifier, Live 0x83040000 (O)
    ledtrig_timer 1152 0 - Live 0x83ad9000
    ledtrig_default_on 496 0 - Live 0x83b6c000
    leds_gpio 2800 0 - Live 0x83b70000
    gpio_button_hotplug 3296 0 - Live 0x83b39000 (O)
    root@android-6db06436a326add9:~# cat /proc/devices
    Character devices:
    1 mem
    4 ttyS
    5 /dev/tty
    5 /dev/console
    5 /dev/ptmx
    10 misc
    13 input
    90 mtd
    108 ppp
    128 ptm
    136 pts
    253 sfe_ipv4
    254 ttyATH

    Block devices:
    259 blkext
    8 sd
    31 mtdblock
    65 sd
    66 sd
    67 sd
    68 sd
    69 sd
    70 sd
    71 sd
    128 sd
    129 sd
    130 sd
    131 sd
    132 sd
    133 sd
    134 sd
    135 sd
    root@android-6db06436a326add9:~# free
    total used free shared buffers
    Mem: 60868 44568 16300 0 5720
    -/+ buffers: 38848 22020
    Swap: 0 0 0
    root@android-6db06436a326add9:~# cat /proc/meminfo
    MemTotal: 60868 kB
    MemFree: 16312 kB
    Buffers: 5720 kB
    Cached: 16268 kB
    SwapCached: 0 kB
    Active: 7396 kB
    Inactive: 17268 kB
    Active(anon): 2756 kB
    Inactive(anon): 340 kB
    Active(file): 4640 kB
    Inactive(file): 16928 kB
    Unevictable: 0 kB
    Mlocked: 0 kB
    SwapTotal: 0 kB
    SwapFree: 0 kB
    Dirty: 0 kB
    Writeback: 0 kB
    AnonPages: 2692 kB
    Mapped: 2144 kB
    Shmem: 420 kB
    Slab: 10108 kB
    SReclaimable: 1672 kB
    SUnreclaim: 8436 kB
    KernelStack: 432 kB
    PageTables: 444 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    WritebackTmp: 0 kB
    CommitLimit: 30432 kB
    Committed_AS: 11152 kB
    VmallocTotal: 1048372 kB
    VmallocUsed: 1384 kB
    VmallocChunk: 1026168 kB
    root@android-6db06436a326add9:~# cat /proc/iomem
    00000000-03ffffff : System RAM
    00060000-0030eb07 : Kernel code
    0030eb08-003c07bf : Kernel data
    10000000-11ffffff : mem_base
    10000000-11ffffff : PCI memory space
    14000000-14000fff : cfg_base
    14000000-14000fff : cfg_base
    18020000-180200ff : serial8250.0
    18020000-1802001f : serial
    180c0000-180c0fff : crp_base
    180c0000-180c0fff : crp_base
    180f0000-180f00ff : ctrl_base
    180f0000-180f00ff : ctrl_base
    18100000-1811ffff : qca953x_wmac
    19000000-190001ff : mac_base
    19000000-190001ff : mdio_base
    1a000000-1a0001ff : mac_base
    1a000000-1a0001ff : mdio_base
    1b000000-1b0001ff : ehci-platform.0
    1f000000-1fffffff : ath79-spi
    root@android-6db06436a326add9:~# ps
    PID USER VSZ STAT COMMAND
    1 root 1520 S init
    2 root 0 SW [kthreadd]
    3 root 0 SW [ksoftirqd/0]
    5 root 0 SW [kworker/u:0]
    6 root 0 SW< [khelper]
    7 root 0 SW [kworker/u:1]
    20 root 0 SW [irq/10-ath79-gp]
    72 root 0 SW [sync_supers]
    74 root 0 SW [bdi-default]
    76 root 0 SW< [kblockd]
    110 root 0 SW [kswapd0]
    159 root 0 SW [fsnotify_mark]
    166 root 0 SW< [crypto]
    176 root 0 SW< [ath79-spi]
    187 root 0 SW [mtdblock0]
    192 root 0 SW [mtdblock1]
    197 root 0 SW [mtdblock2]
    202 root 0 SW [mtdblock3]
    207 root 0 SW [mtdblock4]
    212 root 0 SW [mtdblock5]
    217 root 0 SW [mtdblock6]
    405 root 0 SW [kworker/0:1]
    647 root 0 SWN [jffs2_gcd_mtd3]
    672 root 1552 S {rcS} /bin/sh /etc/init.d/rcS S boot
    673 root 1520 S init
    675 root 1512 S logger -s -p 6 -t sysinit
    732 root 0 SW< [bond0]
    863 root 1524 S /sbin/syslogd -C16
    865 root 1508 S /sbin/klogd
    867 root 880 S /sbin/hotplug2 --override --persistent --set-rules-file /etc/hotplug2.rules --set-coldplug-cmd /sbin/udevtrigger --max-children 1
    873 root 884 S /sbin/ubusd
    923 root 1556 S /sbin/netifd
    987 root 1516 S /sbin/watchdog -t 5 /dev/watchdog
    1012 root 0 SW [kworker/0:2]
    1302 root 1524 S udhcpc -p /var/run/udhcpc-ath0.pid -P 68 -s /lib/netifd/dhcp.script -f -t 0 -i ath0 -H android-6db06436a326add9 -C
    1317 root 1684 S wpa_supplicant -B -P /var/run/wifi-ath0.pid -D athr -i ath0 -c /var/run/wpa_supplicant-ath0.conf
    1661 root 1160 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
    1665 root 1224 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
    1721 root 1520 S {exe} ash /sbin/dhcpchek.sh 192.168.1.1 ath0
    1806 root 1144 S /usr/sbin/uhttpd -f -h /www -r android-6db06436a326add9 -x /cgi-bin -t 120 -T 30 -A 0 -n 3 -R -p 0.0.0.0:80
    1925 root 1512 S -ash
    1981 nobody 1036 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
    1989 root 5420 S /usr/bin/monit -c /tmp/monitrc
    2025 root 1524 S {S95checksignal} /bin/sh /etc/rc.d/S95checksignal boot
    2040 root 1516 S /usr/sbin/ntpd -n -p time.windows.com
    2065 root 5436 S /sbin/server
    2067 root 5436 S /sbin/server
    2068 root 1508 S /usr/sbin/telnetd
    2553 root 1224 R /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
    2556 root 1520 S -ash
    2992 root 1508 S sleep 10
    2994 root 1504 S sleep 5
    2995 root 1512 R ps
    root@android-6db06436a326add9:~#
     
    #106 saimonyz, 20 Mar 2017
    Last edited: 20 Mar 2017
    yx-ex and khamyk like this.
  7. yx-ex

    yx-ex Well-Known Member

    Joined:
    14 May 2011
    Messages:
    758
    Likes Received:
    787
    Reputations:
    10
    Надо разбираться почему режим монитора не поднимается.Что у нас там вообще с интерфейсами?Может быть не тот интерфейс запускается командой?
    Я посмотрел ifconfig-ом,что то вообще запутался. Там интерфейс вайфай какой-то wifi0-00 ,и куча еще непонятных интерфейсов.
     
  8. khamyk

    khamyk Well-Known Member

    Joined:
    30 Dec 2013
    Messages:
    552
    Likes Received:
    337
    Reputations:
    0
    Скорее всего да,не тот интерфейс запускаете.
     
  9. yx-ex

    yx-ex Well-Known Member

    Joined:
    14 May 2011
    Messages:
    758
    Likes Received:
    787
    Reputations:
    10
    ифконфиг

    ---------------------------------------------------------------
    root@android-A219d64fn535k73:~# ifconfig
    ath0 Link encap:Ethernet HWaddr 78:D3:8D:F5:77:74
    inet addr:192.168.1.55 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::7ad3:8dff:fef5:7774/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:82235 errors:0 dropped:0 overruns:0 frame:0
    TX packets:7964 errors:0 dropped:3 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:5199553 (4.9 MiB) TX bytes:753442 (735.7 KiB)

    br-lan Link encap:Ethernet HWaddr 78:D3:8D:F5:77:72
    inet addr:192.168.188.253 Bcast:192.168.188.255 Mask:255.255.255.0
    inet6 addr: fe80::7ad3:8dff:fef5:7772/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:9519 errors:0 dropped:0 overruns:0 frame:0
    TX packets:6692 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:721051 (704.1 KiB) TX bytes:614037 (599.6 KiB)

    eth0 Link encap:Ethernet HWaddr 78:D3:8D:F5:77:72
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:4

    eth1 Link encap:Ethernet HWaddr 78:D3:8D:F5:77:73
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:9519 errors:0 dropped:0 overruns:0 frame:0
    TX packets:6692 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:854317 (834.2 KiB) TX bytes:614037 (599.6 KiB)
    Interrupt:5

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:823 (823.0 B) TX bytes:823 (823.0 B)

    wifi0 Link encap:UNSPEC HWaddr 78-D3-8D-F5-77-74-00-00-00-00-00-00-00-00-00
    -00
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:512472 errors:0 dropped:0 overruns:0 frame:0
    TX packets:16213 errors:4 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:539
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:47 Memory:b8100000-b8120000

    Так,с 00 понял,но все равно команда на стартует как положено,мониторинг не заводится
     
  10. yx-ex

    yx-ex Well-Known Member

    Joined:
    14 May 2011
    Messages:
    758
    Likes Received:
    787
    Reputations:
    10
    root@android-A219d64fn535k73:~# airmon-ng start wiwi0
    ps: invalid option -- A
    BusyBox v1.19.4 (2016-09-02 14:15:56 CST) multi-call binary.

    Usage: ps

    Show list of processes

    w Wide output



    Interface Chipset Driver

    ath0 Atheros madwifi

    root@android-A219d64fn535k73:~# wash -i mon0 -s

    Wash v1.4 WiFi Protected Setup Scan Tool
    Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetso
    l.com>

    [X] ERROR: Failed to open 'mon0' for capturing
     
  11. Triton_Mgn

    Triton_Mgn Elder - Старейшина

    Joined:
    6 Jul 2015
    Messages:
    3,657
    Likes Received:
    5,792
    Reputations:
    51
    root@android-A219d64fn535k73:~# iwconfig
    root@android-A219d64fn535k73:~# ifconfig
     
    Payer likes this.
  12. Payer

    Payer Elder - Старейшина

    Joined:
    14 May 2010
    Messages:
    1,061
    Likes Received:
    5,203
    Reputations:
    63
    мими?
    бубу?
    жужу?:D
    Запускайте wifi0
     
  13. Triton_Mgn

    Triton_Mgn Elder - Старейшина

    Joined:
    6 Jul 2015
    Messages:
    3,657
    Likes Received:
    5,792
    Reputations:
    51
    Очень странно что такой драйвер madwifi - если не заводится надо рыть в сторону
    nl80211
    Нагуглить можно - hostapd.config

    https://android.googlesource.com/pl...6848c8f2ab65ef18c6ac4c30/hostapd/hostapd.conf

    In case of madwifi, atheros, and nl80211 driver interfaces, an additional
    # configuration parameter, bridge, may be used to notify hostapd if the
    # interface is included in a bridge. This parameter is not used with Host AP
    # driver. If the bridge parameter is not set, the drivers will automatically
    # figure out the bridge interface (assuming sysfs is enabled and mounted to
    # /sys) and this parameter may not be needed.
    #
    # For nl80211, this parameter can be used to request the AP interface to be
    # added to the bridge automatically (brctl may refuse to do this before hostapd
    # has been started to change the interface mode). If needed, the bridge
    # interface is also created.
    #bridge=br0
    # Driver interface type (hostap/wired/madwifi/test/none/nl80211/bsd);
    # default: hostap). nl80211 is used with all Linux mac80211 drivers.
    # Use driver=none if building hostapd as a standalone RADIUS server that does
    # not control any wireless/wired driver.
    # driver=hostap
     
  14. Triton_Mgn

    Triton_Mgn Elder - Старейшина

    Joined:
    6 Jul 2015
    Messages:
    3,657
    Likes Received:
    5,792
    Reputations:
    51
    А проц как раз наш вариант - Qualcomm Atheros AP147 reference board
     
  15. khamyk

    khamyk Well-Known Member

    Joined:
    30 Dec 2013
    Messages:
    552
    Likes Received:
    337
    Reputations:
    0
    Попробуй запустить wifi0,если не захочет то запускай ath0
     
  16. saimonyz

    saimonyz Member

    Joined:
    23 Jun 2012
    Messages:
    156
    Likes Received:
    41
    Reputations:
    2
    вообще то в монитор моде надо переводить через веб интерфес openwrt

    типа так .. а еше можно добавить другую тему веб интерфеса что бы появились больше опций как то так opkg install luci-theme-bootstrap уже не помню будет время если получится отпишусь
     
  17. Kevin Shindel

    Kevin Shindel Elder - Старейшина

    Joined:
    24 May 2015
    Messages:
    1,011
    Likes Received:
    1,192
    Reputations:
    62
    гугу0
    биби0
    жужу0

    прям на брутфорс airmon-ng похоже )))))) с попыткой угадать интерфейс беспроводного адаптера )))
    как до сих пор словари не придумал под такие вещи ))))
    Типа качаешь новый кали и там уже встроенный словарь беспроводных интерфейсов...
    запускаешь брут и через 5 минут знаешь имя интерфейса )))
     
    #117 Kevin Shindel, 21 Mar 2017
    Last edited: 21 Mar 2017
    Payer, Triton_Mgn and binarymaster like this.
  18. devton

    devton Elder - Старейшина

    Joined:
    26 Oct 2007
    Messages:
    3,364
    Likes Received:
    5,122
    Reputations:
    48
    сравнительное тестирование получилось?
    как девайс по скорости работы с тд в соседнем доме?
    с самодельной ягой сравнивал?
     
    khamyk likes this.
  19. Triton_Mgn

    Triton_Mgn Elder - Старейшина

    Joined:
    6 Jul 2015
    Messages:
    3,657
    Likes Received:
    5,792
    Reputations:
    51
    Для тестов нет нормальных роутеров один хлам.

    Yagi самодельная сигнал -64 скор download 8,2 upload 5,4
    CPE сигнал -68 скор download 5,7 upload 24

    [​IMG]
     
    Payer likes this.
  20. yx-ex

    yx-ex Well-Known Member

    Joined:
    14 May 2011
    Messages:
    758
    Likes Received:
    787
    Reputations:
    10
    Ну промахнулся,бывает.
    Однако все равно после запуска сканирования точек нет.Пустота в поле точек с сигналами.