ОК, поставил kmod-rt2800-usb. lsusb найти не может. Spoiler: вот Code: root@LEDE:/# opkg update Downloading http://downloads.lede-project.org/releases/17.01.4/targets/ramips/mt7620/packages/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_core Downloading http://downloads.lede-project.org/releases/17.01.4/targets/ramips/mt7620/packages/Packages.sig Signature check passed. Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_base Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/base/Packages.sig Signature check passed. Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/luci/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_luci Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/luci/Packages.sig Signature check passed. Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_packages Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/packages/Packages.sig Signature check passed. Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/routing/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_routing Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/routing/Packages.sig Signature check passed. Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_telephony Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mipsel_24kc/telephony/Packages.sig Signature check passed. root@LEDE:/# opkg install lsusb Unknown package 'lsusb'. Collected errors: * opkg_install_cmd: Cannot install package lsusb. Spoiler: opkg list Code: root@LEDE:~# opkg list aircrack-ng - 1.2-rc1-1 base-files - 173.1-r3560-79f57e422d block-mount - 2017-06-30-bdcb075f-1 busybox - 1.25.1-4 dnsmasq - 2.78-1 dropbear - 2017.75-2 e2fsprogs - 1.43.3-2 firewall - 2017-05-27-a4d98aea-1 fstools - 2017-06-30-bdcb075f-1 fwtool - 1 hostapd-common - 2016-12-19-ad02e79d-6 iptables - 1.4.21-2 iw - 4.9-1 iwinfo - 2016-09-21-fd9e17be-1 jshn - 2017-02-24-96305a3c-1 jsonfilter - 2016-07-02-dea067ad-1 kernel - 4.4.92-1-e19b9950ed08c60448d97dc11fbd6537 kmod-cfg80211 - 4.4.92+2017-01-31-3 kmod-crypto-crc32c - 4.4.92-1 kmod-crypto-hash - 4.4.92-1 kmod-eeprom-93cx6 - 4.4.92-1 kmod-fs-ext4 - 4.4.92-1 kmod-fs-vfat - 4.4.92-1 kmod-gpio-button-hotplug - 4.4.92-2 kmod-ip6tables - 4.4.92-1 kmod-ipt-conntrack - 4.4.92-1 kmod-ipt-core - 4.4.92-1 kmod-ipt-nat - 4.4.92-1 kmod-leds-gpio - 4.4.92-1 kmod-lib-crc-ccitt - 4.4.92-1 kmod-lib-crc-itu-t - 4.4.92-1 kmod-lib-crc16 - 4.4.92-1 kmod-mac80211 - 4.4.92+2017-01-31-3 kmod-mt76 - 4.4.92+2017-10-12-1be430fc-1 kmod-mt76-core - 4.4.92+2017-10-12-1be430fc-1 kmod-mt7603 - 4.4.92+2017-10-12-1be430fc-1 kmod-mt76x2 - 4.4.92+2017-10-12-1be430fc-1 kmod-nf-conntrack - 4.4.92-1 kmod-nf-conntrack6 - 4.4.92-1 kmod-nf-ipt - 4.4.92-1 kmod-nf-ipt6 - 4.4.92-1 kmod-nf-nat - 4.4.92-1 kmod-nls-base - 4.4.92-1 kmod-nls-cp437 - 4.4.92-1 kmod-nls-iso8859-1 - 4.4.92-1 kmod-nls-utf8 - 4.4.92-1 kmod-ppp - 4.4.92-1 kmod-pppoe - 4.4.92-1 kmod-pppox - 4.4.92-1 kmod-rt2800-lib - 4.4.92+2017-01-31-3 kmod-rt2800-mmio - 4.4.92+2017-01-31-3 kmod-rt2800-pci - 4.4.92+2017-01-31-3 kmod-rt2800-soc - 4.4.92+2017-01-31-3 kmod-rt2800-usb - 4.4.92+2017-01-31-3 kmod-rt2x00-lib - 4.4.92+2017-01-31-3 kmod-rt2x00-mmio - 4.4.92+2017-01-31-3 kmod-rt2x00-pci - 4.4.92+2017-01-31-3 kmod-rt2x00-usb - 4.4.92+2017-01-31-3 kmod-rtl8187 - 4.4.92+2017-01-31-3 kmod-scsi-core - 4.4.92-1 kmod-slhc - 4.4.92-1 kmod-usb-core - 4.4.92-1 kmod-usb-ohci - 4.4.92-1 kmod-usb-storage - 4.4.92-1 kmod-usb2 - 4.4.92-1 lede-keyring - 2017-01-20-a50b7529-1 libblobmsg-json - 2017-02-24-96305a3c-1 libc - 1.1.16-1 libext2fs - 1.43.3-2 libgcc - 5.4.0-1 libip4tc - 1.4.21-2 libip6tc - 1.4.21-2 libiwinfo - 2016-09-21-fd9e17be-1 libiwinfo-lua - 2016-09-21-fd9e17be-1 libjson-c - 0.12.1-1 libjson-script - 2017-02-24-96305a3c-1 liblua - 5.1.5-1 libncurses - 6.0-1 libnl-core - 3.2.29-1 libnl-genl - 3.2.29-1 libnl-tiny - 0.1-5 libopenssl - 1.0.2o-1 libpcap - 1.8.1-1 libpthread - 1.1.16-1 librt - 1.1.16-1 libubox - 2017-02-24-96305a3c-1 libubus - 2017-02-18-34c6e818-1 libubus-lua - 2017-02-18-34c6e818-1 libuci - 2016-07-04-e1bf4356-1 libuci-lua - 2016-07-04-e1bf4356-1 libuclient - 2017-09-06-24d6eded-1 libuuid - 2.29.2-1 libxtables - 1.4.21-2 logd - 2017-03-10-16f7e161-1 lua - 5.1.5-1 luci - git-17.290.79498-d3f0685-1 luci-app-firewall - git-17.290.79498-d3f0685-1 luci-base - git-17.290.79498-d3f0685-1 luci-i18n-base-ru - git-18.147.69097-36945b5-1 luci-lib-ip - git-17.290.79498-d3f0685-1 luci-lib-jsonc - git-17.290.79498-d3f0685-1 luci-lib-nixio - git-17.290.79498-d3f0685-1 luci-mod-admin-full - git-17.290.79498-d3f0685-1 luci-proto-ipv6 - git-17.290.79498-d3f0685-1 luci-proto-ppp - git-17.290.79498-d3f0685-1 luci-theme-bootstrap - git-17.290.79498-d3f0685-1 mtd - 21 nano - 2.7.5-1 netifd - 2017-01-25-650758b1-1 odhcp6c - 2017-01-30-c13b6a05-2 odhcpd - 2017-10-02-c6f3d5d4-2 opkg - 2017-03-23-1d0263bb-1 ppp - 2.4.7-11 ppp-mod-pppoe - 2.4.7-11 procd - 2017-08-08-66be6a23-1 rpcd - 2016-12-03-0577cfc1-1 rt2800-pci-firmware - 2016-09-21-42ad5367-1 rt2800-usb-firmware - 2016-09-21-42ad5367-1 swconfig - 11 terminfo - 6.0-1 ubox - 2017-03-10-16f7e161-1 ubus - 2017-02-18-34c6e818-1 ubusd - 2017-02-18-34c6e818-1 uci - 2016-07-04-e1bf4356-1 uclient-fetch - 2017-09-06-24d6eded-1 uhttpd - 2017-08-19-3fd58e9b-1 uhttpd-mod-ubus - 2017-08-19-3fd58e9b-1 usign - 2015-07-04-ef641914-1 wpad-mini - 2016-12-19-ad02e79d-6 zlib - 1.2.11-1 Code: root@LEDE:~# iw dev phy#0 Interface wlan0 ifindex 7 wdev 0x2 addr 20:28:18:a1:39:c6 ssid AndroidAP1 type AP channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz txpower 20.00 dBm Вопрос еще. Надо было что-то редактировать в /etc/config/wireless ? Или достаточно было поставить пакеты и воткнуть модуль ?
Возьмите свою прошивку с предустановленными пакетами, должно все работать из коробки. У меня тоже ralink только младшей серии с этими пакетами работал в паре с trl8187 На гугл диске есть файл ReadMe - с описанием С вас отзыв о работе меню "выбора адаптера для запуска режима монитора" в оболочке pentest lsusb - usbutils пакет Для автоматического добавления адаптера, ничего делать не нужно, но можно в ручную Code: wifi detect
Скачал, накатил. Code: root@OpenWrt:/# wifi detect WARNING: Wifi detect is deprecated. Use wifi config instead For more information, see commit 5f8f8a366136a07df661e31decce2458357c167a root@OpenWrt:/# iw dev phy#0 Interface wlan0 ifindex 7 wdev 0x2 addr 20:28:13:b5:43:c3 ssid Open0 type AP channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz txpower 20.00 dBm Поставил пакет usbutil, перезагрузился. Тоже самое. Альфу мое не видно, индикатор не горит. Spoiler: dmesg Code: root@OpenWrt:~# dmesg [ 0.000000] Linux version 4.14.48 (asus@asus-System-Product-Name) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7005-0c59c9c)) #0 Thu Jun 7 13:18:55 2018 [ 0.000000] Board has DDR1 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc) [ 0.000000] MIPS: machine is Nexx WT3020 (8M) [ 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, PIPT, no 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] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat 8043ea90, node_mem_map 81000040 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,57600 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=0005c000 [ 0.000000] Readback ErrCtl register=0005c000 [ 0.000000] Memory: 60120K/65536K available (3363K kernel code, 172K rwdata, 816K rodata, 184K init, 216K bss, 5416K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns [ 0.000000] systick: enable autosleep mode [ 0.000000] systick: running - mult: 214748, shift: 32 [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.015460] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.087696] pid_max: default: 32768 minimum: 301 [ 0.097108] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.110123] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.128852] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.148322] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.160490] pinctrl core: initialized pinctrl subsystem [ 0.171336] NET: Registered protocol family 16 [ 0.202886] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.213907] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.226498] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.237487] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.250063] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.260875] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.276958] clocksource: Switched to clocksource systick [ 0.288598] NET: Registered protocol family 2 [ 0.298014] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.311779] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.324377] TCP: Hash tables configured (established 1024 bind 1024) [ 0.337151] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.348656] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.361358] NET: Registered protocol family 1 [ 0.369924] PCI: CLS 0 bytes, default 32 [ 0.372168] rt-timer 10000100.timer: maximum frequency is 1220Hz [ 0.384838] Crashlog allocated RAM at address 0x3f00000 [ 0.396463] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.414764] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.426252] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.453766] io scheduler noop registered [ 0.461461] io scheduler deadline registered (default) [ 0.472544] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.486210] console [ttyS0] disabled [ 0.493251] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103 [ 0.512925] console [ttyS0] enabled [ 0.526747] bootconsole [early0] disabled [ 0.543206] cacheinfo: Failed to find cpu0 device node [ 0.553472] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.569644] spi spi0.0: force spi mode3 [ 0.587018] m25p80 spi0.0: s25fl064k (8192 Kbytes) [ 0.596605] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.609271] Creating 4 MTD partitions on "spi0.0": [ 0.618823] 0x000000000000-0x000000030000 : "u-boot" [ 0.629605] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.641075] 0x000000040000-0x000000050000 : "factory" [ 0.651996] 0x000000050000-0x000000800000 : "firmware" [ 1.592910] 2 uimage-fw partitions found on MTD device firmware [ 1.604737] 0x000000050000-0x0000001b4364 : "kernel" [ 1.615520] 0x0000001b4364-0x000000800000 : "rootfs" [ 1.626237] mtd: device 5 (rootfs) set to be root filesystem [ 1.638808] 1 squashfs-split partitions found on MTD device rootfs [ 1.651183] 0x00000058b000-0x000000800000 : "rootfs_data" [ 1.663570] libphy: Fixed MDIO Bus: probed [ 1.675939] gsw: setting port4 to ephy mode [ 1.684341] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex) [ 1.702537] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 4 link up (100Mbps/Full duplex) [ 1.720950] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver [ 1.733450] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 1.750449] rt2880_wdt 10000120.watchdog: Initialized [ 1.761867] NET: Registered protocol family 10 [ 1.774156] Segment Routing with IPv6 [ 1.781636] NET: Registered protocol family 17 [ 1.790545] 8021q: 802.1Q VLAN Support v1.8 [ 1.812810] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 1.827907] Freeing unused kernel memory: 184K [ 1.836752] This architecture does not have kernel memory protection. [ 2.686963] random: fast init done [ 3.398016] init: Console is alive [ 3.404994] init: - watchdog - [ 6.187038] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 6.549581] usbcore: registered new interface driver usbfs [ 6.560672] usbcore: registered new interface driver hub [ 6.571378] usbcore: registered new device driver usb [ 6.613888] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 6.635931] SCSI subsystem initialized [ 6.648666] ehci-platform: EHCI generic platform driver [ 6.669458] phy phy-usbphy.0: remote usb device wakeup disabled [ 6.681265] phy phy-usbphy.0: UTMI 16bit 30MHz [ 6.690130] ehci-platform 101c0000.ehci: EHCI Host Controller [ 6.701618] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 6.717515] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 6.739314] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 6.752814] hub 1-0:1.0: USB hub found [ 6.760657] hub 1-0:1.0: 1 port detected [ 6.771905] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 6.785908] ohci-platform: OHCI generic platform driver [ 6.796658] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 6.810256] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 6.826141] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 6.864141] hub 2-0:1.0: USB hub found [ 6.872038] hub 2-0:1.0: 1 port detected [ 6.887220] usbcore: registered new interface driver usb-storage [ 6.899896] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 6.918421] init: - preinit - [ 7.846892] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 8.153537] random: procd: uninitialized urandom read (4 bytes read) [ 8.717640] 8021q: adding VLAN 0 to HW filter on device eth0 [ 10.000120] mount_root: loading kmods from internal overlay [ 10.046685] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 10.062129] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 11.126340] jffs2: notice: (384) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (1 unchecked, 3 orphan) and 5 of xref (2 dead, 2 orphan) found. [ 11.157959] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 11.183022] block: extroot: not configured [ 11.553800] jffs2: notice: (382) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (1 unchecked, 3 orphan) and 5 of xref (2 dead, 2 orphan) found. [ 12.239778] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 12.263194] block: extroot: not configured [ 12.272667] mount_root: switching to jffs2 overlay [ 12.317019] overlayfs: upper fs does not support tmpfile. [ 12.334912] urandom-seed: Seeding with /etc/urandom.seed [ 12.475762] procd: - early - [ 12.482396] procd: - watchdog - [ 13.066955] procd: - watchdog - [ 13.073554] procd: - ubus - [ 13.356013] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.373559] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.386844] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.400510] procd: - init - [ 13.943068] kmodloader: loading kernel modules from /etc/modules.d/* [ 14.063834] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 14.087307] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.111064] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 14.127078] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 14.144923] ip_tables: (C) 2000-2006 Netfilter Core Team [ 14.166516] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 14.250434] xt_time: kernel timezone is -0000 [ 14.335095] PPP generic driver version 2.4.2 [ 14.346445] NET: Registered protocol family 24 [ 14.374485] usbcore: registered new interface driver rtl8187 [ 14.407300] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory" [ 14.421777] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected [ 14.437235] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected [ 14.451597] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 14.567917] usbcore: registered new interface driver rt2800usb [ 14.580572] kmodloader: done loading kernel modules from /etc/modules.d/* [ 15.991834] urandom_read: 5 callbacks suppressed [ 15.991844] random: jshn: uninitialized urandom read (4 bytes read) [ 23.265996] 8021q: adding VLAN 0 to HW filter on device eth0 [ 23.292743] br-lan: port 1(eth0.1) entered blocking state [ 23.303745] br-lan: port 1(eth0.1) entered disabled state [ 23.314860] device eth0.1 entered promiscuous mode [ 23.324441] device eth0 entered promiscuous mode [ 23.404286] br-lan: port 1(eth0.1) entered blocking state [ 23.415107] br-lan: port 1(eth0.1) entered forwarding state [ 23.426467] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 24.293120] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 31.989572] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 32.050891] br-lan: port 2(wlan0) entered blocking state [ 32.061548] br-lan: port 2(wlan0) entered disabled state [ 32.072513] device wlan0 entered promiscuous mode [ 33.276799] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 33.289698] br-lan: port 2(wlan0) entered blocking state [ 33.300322] br-lan: port 2(wlan0) entered forwarding state [ 53.071592] random: crng init done
Индикатор загорится когда вы активируете сеть (enabled) usbutil - уже есть в прошивке которую я скидывал, дайте вывод lsusb а также подключите к ПК адаптер и скиньте его Id PCI\VEN_xxxxx_DEVxxxx
Code: root@OpenWrt:~# lsusb Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub oem69.inf:Atheros.NTamd64:ATHER_DEV_9271.ndi:2.0.0.32:usb\vid_0cf3&pid_9271 USB\VID_0CF3&PID_9271&REV_0108 GUID {4d36e972-e325-11ce-bfc1-08002be10318}
Ditfrid может быть еще что питания не хватает, попробуй другой кабели по покороче http://forum.ixbt.com/topic.cgi?id=14:63027-99 У WT3020 USB-порт напрямую соединен с microUSB разъемом питания - и напряжение и ток будут ограничиваться лишь USB-зарядкой и кабелем питания. Ставишь получше - и нет проблем. Кондёр тоже вариант - правда я OSCON SEPC ставил (и флэшку на 16 заодно, и радиатор). Но к данной ветке и прошивке это не имеет никакого отношения.
Лежит как раз двойной кабель. 2 папы у него на конце. 1 тогда конец вставлю в роутер (тот что основной), другой (тот что отходит вбок тонкий) запитаю от ноута. Увы, не помогло. Code: root@OpenWrt:~# lsusb Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Самое занятное, что роутер в такой связке работает и питается выходит от своего же USB-порта.... выдернул питание а он все так же работает. Лол.
Ditfrid БП какой 5V 2A ? пробуй 2.5-3A, у меня было такое на GL-AR150 ставил Alfa отваливалася покамиси кабели покороче не поставил
Эх вы, вот в каком месте у вас rtl8187L? Вы сами себя в заблуждения ввели У вас atheross qualcom AR9271, позже пересоберу нужный драйвер По питанию все норм, спецификация усб 2,0 500мА, дополнителльного не нужно
Кабель решил проверить на ПК. Работает отлично и на 1 кабеле, тянет. Запитываю от ноута или от банки xiomi NDY-02-AL оригинальной. Но такой нюанс о котором не знал: Менял порты и каждый раз перетыкал адаптер в точку. Толку нет. Code: [ 158.484397] usb 1-1: USB disconnect, device number 2 [ 177.596559] usb 1-1: new high-speed USB device number 3 using ehci-platform [ 213.464109] usb 1-1: USB disconnect, device number 3 [ 214.414507] usb 1-1: new high-speed USB device number 4 using ehci-platform
Проверяйте Но тут я уже не уверен на 100% что будет работать. Есть подозрения что проблема с мощностью устройства может возникнуть, если ее не пропатчили, но свисток n772 или как то так, на схожем чипсете работает.
Поставил. Все так же. Решил поставить kmod-ath9k-htc (This module adds support for wireless adapters based on Atheros USB AR9271 and AR7010 family of chipsets) вроде как раз то что мне надо. Но вылезла ошибка: Беда какая-то.
Во первых этот пакет kmod-ath9k-htc уже установлен по умолчанию, приведите вывод dmseg Пересобрал еще раз, возможно криво настройки компилятора выставил, перекачайте прошивку А невозможность поставить пакеты вызвана тем что, пакеты ядра в репозитории отличаются от моих, у меня версия транк Во всяком случае приводите dmseg, так понятнее в чем проблема
Скачал эту прошивку. Накатил. Вот dmseg при перезагрузке с адаптером. [Pastebin] Code: root@OpenWrt:~# dmesg [ 0.000000] Linux version 4.14.48 (asus@asus-System-Product-Name) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7005-0c59c9c)) #0 Thu Jun 7 13:18:55 2018 [ 0.000000] Board has DDR1 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc) [ 0.000000] MIPS: machine is Nexx WT3020 (8M) [ 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, PIPT, no 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] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat 8043ea90, node_mem_map 81000040 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,57600 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=0005e000 [ 0.000000] Readback ErrCtl register=0005e000 [ 0.000000] Memory: 60120K/65536K available (3363K kernel code, 172K rwdata, 816K rodata, 184K init, 216K bss, 5416K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns [ 0.000000] systick: enable autosleep mode [ 0.000000] systick: running - mult: 214748, shift: 32 [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.015460] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.087709] pid_max: default: 32768 minimum: 301 [ 0.097121] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.110137] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.128866] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.148335] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.160504] pinctrl core: initialized pinctrl subsystem [ 0.171350] NET: Registered protocol family 16 [ 0.202898] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.213920] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.226511] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.237500] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.250076] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.260888] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.276972] clocksource: Switched to clocksource systick [ 0.288612] NET: Registered protocol family 2 [ 0.298028] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.311793] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.324391] TCP: Hash tables configured (established 1024 bind 1024) [ 0.337166] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.348670] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.361372] NET: Registered protocol family 1 [ 0.369938] PCI: CLS 0 bytes, default 32 [ 0.372182] rt-timer 10000100.timer: maximum frequency is 1220Hz [ 0.384852] Crashlog allocated RAM at address 0x3f00000 [ 0.396477] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.414778] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.426266] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.453779] io scheduler noop registered [ 0.461474] io scheduler deadline registered (default) [ 0.472556] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.486224] console [ttyS0] disabled [ 0.493266] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103 [ 0.512939] console [ttyS0] enabled [ 0.526761] bootconsole [early0] disabled [ 0.543220] cacheinfo: Failed to find cpu0 device node [ 0.553485] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.569658] spi spi0.0: force spi mode3 [ 0.587034] m25p80 spi0.0: s25fl064k (8192 Kbytes) [ 0.596622] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.609289] Creating 4 MTD partitions on "spi0.0": [ 0.618842] 0x000000000000-0x000000030000 : "u-boot" [ 0.629625] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.641095] 0x000000040000-0x000000050000 : "factory" [ 0.652016] 0x000000050000-0x000000800000 : "firmware" [ 1.592979] 2 uimage-fw partitions found on MTD device firmware [ 1.604808] 0x000000050000-0x0000001b4364 : "kernel" [ 1.615590] 0x0000001b4364-0x000000800000 : "rootfs" [ 1.626309] mtd: device 5 (rootfs) set to be root filesystem [ 1.638880] 1 squashfs-split partitions found on MTD device rootfs [ 1.651254] 0x00000058b000-0x000000800000 : "rootfs_data" [ 1.663643] libphy: Fixed MDIO Bus: probed [ 1.676012] gsw: setting port4 to ephy mode [ 1.684414] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex) [ 1.702611] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 4 link up (100Mbps/Full duplex) [ 1.721023] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver [ 1.733523] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 1.750523] rt2880_wdt 10000120.watchdog: Initialized [ 1.761941] NET: Registered protocol family 10 [ 1.774230] Segment Routing with IPv6 [ 1.781710] NET: Registered protocol family 17 [ 1.790619] 8021q: 802.1Q VLAN Support v1.8 [ 1.812883] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 1.827976] Freeing unused kernel memory: 184K [ 1.836822] This architecture does not have kernel memory protection. [ 2.686951] random: fast init done [ 3.398167] init: Console is alive [ 3.405148] init: - watchdog - [ 6.187029] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 6.549415] usbcore: registered new interface driver usbfs [ 6.560506] usbcore: registered new interface driver hub [ 6.571212] usbcore: registered new device driver usb [ 6.613989] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 6.636009] SCSI subsystem initialized [ 6.648727] ehci-platform: EHCI generic platform driver [ 6.669520] phy phy-usbphy.0: remote usb device wakeup disabled [ 6.681328] phy phy-usbphy.0: UTMI 16bit 30MHz [ 6.690194] ehci-platform 101c0000.ehci: EHCI Host Controller [ 6.701682] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 6.717579] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 6.739363] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 6.752864] hub 1-0:1.0: USB hub found [ 6.760705] hub 1-0:1.0: 1 port detected [ 6.771947] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 6.785957] ohci-platform: OHCI generic platform driver [ 6.796709] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 6.810306] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 6.826190] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 6.864192] hub 2-0:1.0: USB hub found [ 6.872089] hub 2-0:1.0: 1 port detected [ 6.887259] usbcore: registered new interface driver usb-storage [ 6.899935] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 6.918464] init: - preinit - [ 7.847258] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 8.154007] random: procd: uninitialized urandom read (4 bytes read) [ 8.717375] 8021q: adding VLAN 0 to HW filter on device eth0 [ 9.663814] mount_root: loading kmods from internal overlay [ 9.710275] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 9.725716] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 10.789811] jffs2: notice: (384) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (2 unchecked, 2 orphan) and 6 of xref (2 dead, 0 orphan) found. [ 10.821502] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 10.846569] block: extroot: not configured [ 11.216167] jffs2: notice: (382) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (2 unchecked, 2 orphan) and 6 of xref (2 dead, 0 orphan) found. [ 11.901730] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 11.924857] block: extroot: not configured [ 11.934341] mount_root: switching to jffs2 overlay [ 11.977819] overlayfs: upper fs does not support tmpfile. [ 11.995870] urandom-seed: Seeding with /etc/urandom.seed [ 12.137302] procd: - early - [ 12.143136] procd: - watchdog - [ 12.720638] procd: - watchdog - [ 12.727266] procd: - ubus - [ 13.012744] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.030191] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.043500] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.057188] procd: - init - [ 13.599902] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.720807] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 13.744351] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 13.767976] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 13.783989] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 13.801975] ip_tables: (C) 2000-2006 Netfilter Core Team [ 13.823627] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 13.907340] xt_time: kernel timezone is -0000 [ 13.992909] PPP generic driver version 2.4.2 [ 14.004212] NET: Registered protocol family 24 [ 14.032356] usbcore: registered new interface driver rtl8187 [ 14.065245] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory" [ 14.079724] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected [ 14.095175] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected [ 14.109527] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 14.225851] usbcore: registered new interface driver rt2800usb [ 14.238504] kmodloader: done loading kernel modules from /etc/modules.d/* [ 15.650149] urandom_read: 5 callbacks suppressed [ 15.650158] random: jshn: uninitialized urandom read (4 bytes read) [ 22.944771] 8021q: adding VLAN 0 to HW filter on device eth0 [ 22.976411] br-lan: port 1(eth0.1) entered blocking state [ 22.987422] br-lan: port 1(eth0.1) entered disabled state [ 22.998541] device eth0.1 entered promiscuous mode [ 23.008123] device eth0 entered promiscuous mode [ 23.083204] br-lan: port 1(eth0.1) entered blocking state [ 23.094019] br-lan: port 1(eth0.1) entered forwarding state [ 23.105328] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 24.002106] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 31.345404] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 31.372123] br-lan: port 2(wlan0) entered blocking state [ 31.382759] br-lan: port 2(wlan0) entered disabled state [ 31.393736] device wlan0 entered promiscuous mode [ 32.429396] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 32.442299] br-lan: port 2(wlan0) entered blocking state [ 32.452924] br-lan: port 2(wlan0) entered forwarding state [ 53.358177] random: crng init done Вот dmseg когда адаптер вытащил и вставил по новой. [Pastebin] Code: root@OpenWrt:~# dmesg [ 0.000000] Linux version 4.14.48 (asus@asus-System-Product-Name) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7005-0c59c9c)) #0 Thu Jun 7 13:18:55 2018 [ 0.000000] Board has DDR1 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc) [ 0.000000] MIPS: machine is Nexx WT3020 (8M) [ 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, PIPT, no 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] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat 8043ea90, node_mem_map 81000040 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,57600 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=0005e000 [ 0.000000] Readback ErrCtl register=0005e000 [ 0.000000] Memory: 60120K/65536K available (3363K kernel code, 172K rwdata, 816K rodata, 184K init, 216K bss, 5416K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns [ 0.000000] systick: enable autosleep mode [ 0.000000] systick: running - mult: 214748, shift: 32 [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.015460] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.087709] pid_max: default: 32768 minimum: 301 [ 0.097121] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.110137] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.128866] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.148335] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.160504] pinctrl core: initialized pinctrl subsystem [ 0.171350] NET: Registered protocol family 16 [ 0.202898] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.213920] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.226511] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.237500] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.250076] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.260888] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.276972] clocksource: Switched to clocksource systick [ 0.288612] NET: Registered protocol family 2 [ 0.298028] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.311793] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.324391] TCP: Hash tables configured (established 1024 bind 1024) [ 0.337166] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.348670] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.361372] NET: Registered protocol family 1 [ 0.369938] PCI: CLS 0 bytes, default 32 [ 0.372182] rt-timer 10000100.timer: maximum frequency is 1220Hz [ 0.384852] Crashlog allocated RAM at address 0x3f00000 [ 0.396477] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.414778] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.426266] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.453779] io scheduler noop registered [ 0.461474] io scheduler deadline registered (default) [ 0.472556] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.486224] console [ttyS0] disabled [ 0.493266] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103 [ 0.512939] console [ttyS0] enabled [ 0.526761] bootconsole [early0] disabled [ 0.543220] cacheinfo: Failed to find cpu0 device node [ 0.553485] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.569658] spi spi0.0: force spi mode3 [ 0.587034] m25p80 spi0.0: s25fl064k (8192 Kbytes) [ 0.596622] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.609289] Creating 4 MTD partitions on "spi0.0": [ 0.618842] 0x000000000000-0x000000030000 : "u-boot" [ 0.629625] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.641095] 0x000000040000-0x000000050000 : "factory" [ 0.652016] 0x000000050000-0x000000800000 : "firmware" [ 1.592979] 2 uimage-fw partitions found on MTD device firmware [ 1.604808] 0x000000050000-0x0000001b4364 : "kernel" [ 1.615590] 0x0000001b4364-0x000000800000 : "rootfs" [ 1.626309] mtd: device 5 (rootfs) set to be root filesystem [ 1.638880] 1 squashfs-split partitions found on MTD device rootfs [ 1.651254] 0x00000058b000-0x000000800000 : "rootfs_data" [ 1.663643] libphy: Fixed MDIO Bus: probed [ 1.676012] gsw: setting port4 to ephy mode [ 1.684414] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex) [ 1.702611] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 4 link up (100Mbps/Full duplex) [ 1.721023] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver [ 1.733523] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 1.750523] rt2880_wdt 10000120.watchdog: Initialized [ 1.761941] NET: Registered protocol family 10 [ 1.774230] Segment Routing with IPv6 [ 1.781710] NET: Registered protocol family 17 [ 1.790619] 8021q: 802.1Q VLAN Support v1.8 [ 1.812883] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 1.827976] Freeing unused kernel memory: 184K [ 1.836822] This architecture does not have kernel memory protection. [ 2.686951] random: fast init done [ 3.398167] init: Console is alive [ 3.405148] init: - watchdog - [ 6.187029] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 6.549415] usbcore: registered new interface driver usbfs [ 6.560506] usbcore: registered new interface driver hub [ 6.571212] usbcore: registered new device driver usb [ 6.613989] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 6.636009] SCSI subsystem initialized [ 6.648727] ehci-platform: EHCI generic platform driver [ 6.669520] phy phy-usbphy.0: remote usb device wakeup disabled [ 6.681328] phy phy-usbphy.0: UTMI 16bit 30MHz [ 6.690194] ehci-platform 101c0000.ehci: EHCI Host Controller [ 6.701682] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 6.717579] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 6.739363] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 6.752864] hub 1-0:1.0: USB hub found [ 6.760705] hub 1-0:1.0: 1 port detected [ 6.771947] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 6.785957] ohci-platform: OHCI generic platform driver [ 6.796709] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 6.810306] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 6.826190] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 6.864192] hub 2-0:1.0: USB hub found [ 6.872089] hub 2-0:1.0: 1 port detected [ 6.887259] usbcore: registered new interface driver usb-storage [ 6.899935] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 6.918464] init: - preinit - [ 7.847258] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 8.154007] random: procd: uninitialized urandom read (4 bytes read) [ 8.717375] 8021q: adding VLAN 0 to HW filter on device eth0 [ 9.663814] mount_root: loading kmods from internal overlay [ 9.710275] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 9.725716] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 10.789811] jffs2: notice: (384) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (2 unchecked, 2 orphan) and 6 of xref (2 dead, 0 orphan) found. [ 10.821502] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 10.846569] block: extroot: not configured [ 11.216167] jffs2: notice: (382) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (2 unchecked, 2 orphan) and 6 of xref (2 dead, 0 orphan) found. [ 11.901730] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 11.924857] block: extroot: not configured [ 11.934341] mount_root: switching to jffs2 overlay [ 11.977819] overlayfs: upper fs does not support tmpfile. [ 11.995870] urandom-seed: Seeding with /etc/urandom.seed [ 12.137302] procd: - early - [ 12.143136] procd: - watchdog - [ 12.720638] procd: - watchdog - [ 12.727266] procd: - ubus - [ 13.012744] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.030191] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.043500] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.057188] procd: - init - [ 13.599902] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.720807] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 13.744351] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 13.767976] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 13.783989] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 13.801975] ip_tables: (C) 2000-2006 Netfilter Core Team [ 13.823627] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 13.907340] xt_time: kernel timezone is -0000 [ 13.992909] PPP generic driver version 2.4.2 [ 14.004212] NET: Registered protocol family 24 [ 14.032356] usbcore: registered new interface driver rtl8187 [ 14.065245] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory" [ 14.079724] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected [ 14.095175] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected [ 14.109527] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 14.225851] usbcore: registered new interface driver rt2800usb [ 14.238504] kmodloader: done loading kernel modules from /etc/modules.d/* [ 15.650149] urandom_read: 5 callbacks suppressed [ 15.650158] random: jshn: uninitialized urandom read (4 bytes read) [ 22.944771] 8021q: adding VLAN 0 to HW filter on device eth0 [ 22.976411] br-lan: port 1(eth0.1) entered blocking state [ 22.987422] br-lan: port 1(eth0.1) entered disabled state [ 22.998541] device eth0.1 entered promiscuous mode [ 23.008123] device eth0 entered promiscuous mode [ 23.083204] br-lan: port 1(eth0.1) entered blocking state [ 23.094019] br-lan: port 1(eth0.1) entered forwarding state [ 23.105328] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 24.002106] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 31.345404] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 31.372123] br-lan: port 2(wlan0) entered blocking state [ 31.382759] br-lan: port 2(wlan0) entered disabled state [ 31.393736] device wlan0 entered promiscuous mode [ 32.429396] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 32.442299] br-lan: port 2(wlan0) entered blocking state [ 32.452924] br-lan: port 2(wlan0) entered forwarding state [ 53.358177] random: crng init done [ 109.115147] usb 1-1: USB disconnect, device number 2 [ 110.358041] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 14.032356] usbcore: registered new interface driver rtl8187 - Как такое возможно? Прошейте без сохранения настроек или factory, у вас прошивка или не ту поставили или не прошился аппарат, Нет драйвера rt8187 в мною собранной прошивке, и я не вижу kmod-ath9k-htc/ проверьте себя, в установленных пакетах должен быть драйвер
Странно. Я через breed прошивал (и прошивка 100% встала тк параметры все по новой забивал). Быть может по ссылке не обновили? Тк я скачивал и ставил от туда, ссылка то есть прежней осталась. Сейчас по новой залью на роутер. А пока вот пакеты. Ничего не трогал, не ставил и не обновлял. Code: root@OpenWrt:~# opkg list aircrack-ng - 1.2-rc2-2 airmon-ng - 1.2-rc2-2 base-files - 191-r7005-0c59c9c block-mount - 2018-04-16-e2436836-1 bully - 1.1-31 busybox - 1.28.3-2 dnsmasq - 2.80test2-1 dropbear - 2017.75-5 ethtool - 4.15-1 firewall - 2018-05-14-b45e162e-1 fstools - 2018-04-16-e2436836-1 fwtool - 1 hostapd-common - 2018-04-09-fa617ee6-5 ip6tables - 1.6.2-1 iptables - 1.6.2-1 iw - 4.14-1 iwinfo - 2018-02-15-223e09bf-1 jshn - 2018-04-12-6eff829d-1 jsonfilter - 2018-02-04-c7e938d6-1 kernel - 4.14.48-1-8862a8cd82e27e2aec2fc04d75db492a kmod-cfg80211 - 4.14.48+2017-11-01-8 kmod-crypto-crc32c - 4.14.48-1 kmod-crypto-hash - 4.14.48-1 kmod-eeprom-93cx6 - 4.14.48-1 kmod-fs-ext4 - 4.14.48-1 kmod-fs-ntfs - 4.14.48-1 kmod-fs-vfat - 4.14.48-1 kmod-gpio-button-hotplug - 4.14.48-2 kmod-ip6tables - 4.14.48-1 kmod-ipt-conntrack - 4.14.48-1 kmod-ipt-core - 4.14.48-1 kmod-ipt-nat - 4.14.48-1 kmod-ipt-offload - 4.14.48-1 kmod-leds-gpio - 4.14.48-1 kmod-lib-crc-ccitt - 4.14.48-1 kmod-lib-crc-itu-t - 4.14.48-1 kmod-lib-crc16 - 4.14.48-1 kmod-mac80211 - 4.14.48+2017-11-01-8 kmod-mt76 - 4.14.48+2018-05-15-e87f9256-1 kmod-mt76-core - 4.14.48+2018-05-15-e87f9256-1 kmod-mt7603 - 4.14.48+2018-05-15-e87f9256-1 kmod-mt76x2 - 4.14.48+2018-05-15-e87f9256-1 kmod-nf-conntrack - 4.14.48-1 kmod-nf-conntrack6 - 4.14.48-1 kmod-nf-flow - 4.14.48-1 kmod-nf-ipt - 4.14.48-1 kmod-nf-ipt6 - 4.14.48-1 kmod-nf-nat - 4.14.48-1 kmod-nf-reject - 4.14.48-1 kmod-nf-reject6 - 4.14.48-1 kmod-nls-base - 4.14.48-1 kmod-nls-cp437 - 4.14.48-1 kmod-nls-iso8859-1 - 4.14.48-1 kmod-nls-utf8 - 4.14.48-1 kmod-ppp - 4.14.48-1 kmod-pppoe - 4.14.48-1 kmod-pppox - 4.14.48-1 kmod-rt2800-lib - 4.14.48+2017-11-01-8 kmod-rt2800-mmio - 4.14.48+2017-11-01-8 kmod-rt2800-pci - 4.14.48+2017-11-01-8 kmod-rt2800-soc - 4.14.48+2017-11-01-8 kmod-rt2800-usb - 4.14.48+2017-11-01-8 kmod-rt2x00-lib - 4.14.48+2017-11-01-8 kmod-rt2x00-mmio - 4.14.48+2017-11-01-8 kmod-rt2x00-pci - 4.14.48+2017-11-01-8 kmod-rt2x00-usb - 4.14.48+2017-11-01-8 kmod-rtl8187 - 4.14.48+2017-11-01-8 kmod-scsi-core - 4.14.48-1 kmod-slhc - 4.14.48-1 kmod-usb-core - 4.14.48-1 kmod-usb-ehci - 4.14.48-1 kmod-usb-ohci - 4.14.48-1 kmod-usb-storage - 4.14.48-1 kmod-usb2 - 4.14.48-1 libblobmsg-json - 2018-04-12-6eff829d-1 libc - 1.1.19-1 libgcc - 7.3.0-1 libgcrypt - 1.6.6-2 libgpg-error - 1.12-1 libip4tc - 1.6.2-1 libip6tc - 1.6.2-1 libiwinfo - 2018-02-15-223e09bf-1 libiwinfo-lua - 2018-02-15-223e09bf-1 libjson-c - 0.12.1-1 libjson-script - 2018-04-12-6eff829d-1 liblua - 5.1.5-1 liblucihttp - 2018-04-22-ccc685e5-1 liblucihttp-lua - 2018-04-22-ccc685e5-1 libnl-core - 3.3.0-1 libnl-genl - 3.3.0-1 libnl-tiny - 0.1-5 libpcap - 1.8.1-1 libpthread - 1.1.19-1 librt - 1.1.19-1 libubox - 2018-04-12-6eff829d-1 libubus - 2018-01-16-5bae22eb-1 libubus-lua - 2018-01-16-5bae22eb-1 libuci - 2018-03-24-5d2bf09e-1 libuclient - 2017-11-02-4b87d831-1 libusb-1.0 - 1.0.22-1 libuuid - 2.32-2 libxtables - 1.6.2-1 logd - 2018-02-14-128bc35f-1 lua - 5.1.5-1 luci - git-18.149.30568-29b4c71-1 luci-app-firewall - git-18.149.30568-29b4c71-1 luci-app-pentest - git-18.149.30568-29b4c71-1 luci-app-upnp - git-18.149.30568-29b4c71-1 luci-base - git-18.149.30568-29b4c71-1 luci-lib-ip - git-18.149.30568-29b4c71-1 luci-lib-jsonc - git-18.149.30568-29b4c71-1 luci-lib-nixio - git-18.149.30568-29b4c71-1 luci-mod-admin-full - git-18.149.30568-29b4c71-1 luci-proto-ipv6 - git-18.149.30568-29b4c71-1 luci-proto-ppp - git-18.149.30568-29b4c71-1 luci-proto-relay - git-18.149.30568-29b4c71-1 luci-theme-bootstrap - git-18.149.30568-29b4c71-1 mdk3 - mod-1 miniupnpd - 2.1-1 mtd - 21 netifd - 2018-04-26-56cecedb-1 odhcp6c - 2018-04-29-5316d7f8-11 odhcpd-ipv6only - 1.7-1 openwrt-keyring - 2018-05-18-103a32e9-1 opkg - 2017-12-07-3b417b9f-2 pixiewps - 1.4.2-2 ppp - 2.4.7-12 ppp-mod-pppoe - 2.4.7-12 procd - 2018-03-28-dfb68f85-1 reaver - 1.6.5-1 relayd - 2016-02-07-ad0b25ad-2 rpcd - 2018-05-13-82062195-1 rpcd-mod-rrdns - 20170710 rt2800-pci-firmware - 2017-09-06-a61ac5cf-1 rt2800-usb-firmware - 2017-09-06-a61ac5cf-1 swconfig - 11 ubox - 2018-02-14-128bc35f-1 ubus - 2018-01-16-5bae22eb-1 ubusd - 2018-01-16-5bae22eb-1 uci - 2018-03-24-5d2bf09e-1 uclient-fetch - 2017-11-02-4b87d831-1 uhttpd - 2017-11-04-a235636a-1 uhttpd-mod-ubus - 2017-11-04-a235636a-1 usbutils - 007-7 usign - 2015-07-04-ef641914-1 vsftpd - 3.0.3-2 wireless-regdb - 2017-10-20-4343d359 wireless-tools - 29-5 wpad-mini - 2018-04-09-fa617ee6-5 zlib - 1.2.11-2
Все тоже самое Code: root@OpenWrt:~# dmesg [ 0.000000] Linux version 4.14.48 (asus@asus-System-Product-Name) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7005-0c59c9c)) #0 Thu Jun 7 13:18:55 2018 [ 0.000000] Board has DDR1 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc) [ 0.000000] MIPS: machine is Nexx WT3020 (8M) [ 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, PIPT, no 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] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat 8043ea90, node_mem_map 81000040 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,57600 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=0005e00f [ 0.000000] Readback ErrCtl register=0005e00f [ 0.000000] Memory: 60120K/65536K available (3363K kernel code, 172K rwdata, 816K rodata, 184K init, 216K bss, 5416K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns [ 0.000000] systick: enable autosleep mode [ 0.000000] systick: running - mult: 214748, shift: 32 [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.015460] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.087702] pid_max: default: 32768 minimum: 301 [ 0.097114] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.110130] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.128858] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.148328] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.160496] pinctrl core: initialized pinctrl subsystem [ 0.171343] NET: Registered protocol family 16 [ 0.202889] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.213910] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.226502] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.237490] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.250067] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.260878] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.276961] clocksource: Switched to clocksource systick [ 0.288601] NET: Registered protocol family 2 [ 0.298017] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.311782] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.324381] TCP: Hash tables configured (established 1024 bind 1024) [ 0.337155] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.348659] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.361361] NET: Registered protocol family 1 [ 0.369927] PCI: CLS 0 bytes, default 32 [ 0.372171] rt-timer 10000100.timer: maximum frequency is 1220Hz [ 0.384841] Crashlog allocated RAM at address 0x3f00000 [ 0.396466] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.414767] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.426255] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.453768] io scheduler noop registered [ 0.461463] io scheduler deadline registered (default) [ 0.472546] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.486213] console [ttyS0] disabled [ 0.493254] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103 [ 0.512928] console [ttyS0] enabled [ 0.526750] bootconsole [early0] disabled [ 0.543210] cacheinfo: Failed to find cpu0 device node [ 0.553476] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.569647] spi spi0.0: force spi mode3 [ 0.587036] m25p80 spi0.0: s25fl064k (8192 Kbytes) [ 0.596624] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.609290] Creating 4 MTD partitions on "spi0.0": [ 0.618843] 0x000000000000-0x000000030000 : "u-boot" [ 0.629625] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.641095] 0x000000040000-0x000000050000 : "factory" [ 0.652016] 0x000000050000-0x000000800000 : "firmware" [ 1.592946] 2 uimage-fw partitions found on MTD device firmware [ 1.604773] 0x000000050000-0x0000001b4364 : "kernel" [ 1.615557] 0x0000001b4364-0x000000800000 : "rootfs" [ 1.626274] mtd: device 5 (rootfs) set to be root filesystem [ 1.638845] 1 squashfs-split partitions found on MTD device rootfs [ 1.651219] 0x00000058b000-0x000000800000 : "rootfs_data" [ 1.663607] libphy: Fixed MDIO Bus: probed [ 1.675983] gsw: setting port4 to ephy mode [ 1.684385] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex) [ 1.702581] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 4 link up (100Mbps/Full duplex) [ 1.720994] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver [ 1.733494] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 1.750494] rt2880_wdt 10000120.watchdog: Initialized [ 1.761912] NET: Registered protocol family 10 [ 1.774201] Segment Routing with IPv6 [ 1.781681] NET: Registered protocol family 17 [ 1.790591] 8021q: 802.1Q VLAN Support v1.8 [ 1.812854] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 1.827948] Freeing unused kernel memory: 184K [ 1.836793] This architecture does not have kernel memory protection. [ 2.686938] random: fast init done [ 3.398226] init: Console is alive [ 3.405207] init: - watchdog - [ 6.187012] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 6.549156] usbcore: registered new interface driver usbfs [ 6.560244] usbcore: registered new interface driver hub [ 6.570951] usbcore: registered new device driver usb [ 6.613472] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 6.635563] SCSI subsystem initialized [ 6.648262] ehci-platform: EHCI generic platform driver [ 6.669055] phy phy-usbphy.0: remote usb device wakeup disabled [ 6.680862] phy phy-usbphy.0: UTMI 16bit 30MHz [ 6.689728] ehci-platform 101c0000.ehci: EHCI Host Controller [ 6.701217] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 6.717114] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 6.739044] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 6.752540] hub 1-0:1.0: USB hub found [ 6.760385] hub 1-0:1.0: 1 port detected [ 6.771633] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 6.785639] ohci-platform: OHCI generic platform driver [ 6.796389] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 6.809986] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 6.825868] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 6.863859] hub 2-0:1.0: USB hub found [ 6.871756] hub 2-0:1.0: 1 port detected [ 6.886938] usbcore: registered new interface driver usb-storage [ 6.899618] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 6.918148] init: - preinit - [ 7.846843] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 8.153387] random: procd: uninitialized urandom read (4 bytes read) [ 8.716668] 8021q: adding VLAN 0 to HW filter on device eth0 [ 9.997614] mount_root: loading kmods from internal overlay [ 10.044136] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 10.059474] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 11.120503] jffs2: notice: (384) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (2 unchecked, 1 orphan) and 3 of xref (1 dead, 0 orphan) found. [ 11.152051] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 11.175754] block: extroot: not configured [ 11.544294] jffs2: notice: (382) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (2 unchecked, 1 orphan) and 3 of xref (1 dead, 0 orphan) found. [ 12.229079] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 12.251293] block: extroot: not configured [ 12.260774] mount_root: switching to jffs2 overlay [ 12.307415] overlayfs: upper fs does not support tmpfile. [ 12.325307] urandom-seed: Seeding with /etc/urandom.seed [ 12.466335] procd: - early - [ 12.472254] procd: - watchdog - [ 13.056505] procd: - watchdog - [ 13.063047] procd: - ubus - [ 13.347874] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.534692] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.547915] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.561648] procd: - init - [ 13.926855] kmodloader: loading kernel modules from /etc/modules.d/* [ 14.047616] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 14.071087] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.095059] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 14.111067] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 14.128807] ip_tables: (C) 2000-2006 Netfilter Core Team [ 14.150509] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 14.235728] xt_time: kernel timezone is -0000 [ 14.320898] PPP generic driver version 2.4.2 [ 14.332192] NET: Registered protocol family 24 [ 14.360242] usbcore: registered new interface driver rtl8187 [ 14.393016] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory" [ 14.407495] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected [ 14.422943] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected [ 14.437312] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 14.543097] usbcore: registered new interface driver rt2800usb [ 14.555762] kmodloader: done loading kernel modules from /etc/modules.d/* [ 15.977327] urandom_read: 5 callbacks suppressed [ 15.977336] random: jshn: uninitialized urandom read (4 bytes read) [ 24.927198] 8021q: adding VLAN 0 to HW filter on device eth0 [ 24.988430] br-lan: port 1(eth0.1) entered blocking state [ 24.999255] br-lan: port 1(eth0.1) entered disabled state [ 25.010371] device eth0.1 entered promiscuous mode [ 25.019965] device eth0 entered promiscuous mode [ 25.147760] br-lan: port 1(eth0.1) entered blocking state [ 25.158580] br-lan: port 1(eth0.1) entered forwarding state [ 25.169909] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 25.974086] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 35.099659] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 35.219738] br-lan: port 2(wlan0) entered blocking state [ 35.230411] br-lan: port 2(wlan0) entered disabled state [ 35.241372] device wlan0 entered promiscuous mode [ 36.461108] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 36.474029] br-lan: port 2(wlan0) entered blocking state [ 36.484652] br-lan: port 2(wlan0) entered forwarding state [ 54.135223] random: crng init done [ 77.853239] device wlan0 left promiscuous mode [ 77.862289] br-lan: port 2(wlan0) entered disabled state [ 82.112472] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 82.184380] br-lan: port 2(wlan0) entered blocking state [ 82.195048] br-lan: port 2(wlan0) entered disabled state [ 82.206021] device wlan0 entered promiscuous mode [ 84.465595] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 84.478509] br-lan: port 2(wlan0) entered blocking state [ 84.489132] br-lan: port 2(wlan0) entered forwarding state
Дубль три, сейчас пересоберу через полное очищение, хз что может быть, удалите на всякий все ранее скачанные прошивки На всякий пересоздал директорию Проверяйте!
Огромное спасибо! Все работает! Момент с pentest`ом. Если адаптер самостоятельно перевести в режим монитора. В разделе pentest все равно просит перевести адаптер в режим монитора... то есть без нажатия на кнопку "MonitorMode" он ничего не дает сделать, хотя адаптер и так в мониторе. Если нажать на MonitorMode, он думает и якобы переводит адаптер в монитор. Дает выбрать Airodump и так далее. Показывает что сканирует, лампочка на адаптере моргает. Но результат не выдает. Если нажать Disable в разделе Wireless (то есть отключить адаптер который работает в режиме монитора) напротив адаптера Alfa и тогда в pentest видно что адаптер отключен, нажимаем MonitorMode ... и ничего не меняется Все точно так же пытается якобы сканировать но выхлоп нулевой. Что бы заработало все, модуль должен быть выключен и быть в режиме точки доступа. Тогда уже в оболочке pentest можно включить адаптер и перевести его в монитор. Все отлично сканирует. Еще такой момент со сменой мака. В разделе Смена МАС видно 2 адаптера. Отлично. Я хочу сменить мак только одного адаптера и... и не дает. То есть я вбиваю в адаптер ALFA новый мак, напротив загорается зеленая галка. Нажимаю на "Сменить" и фиг. Просит указать еще мак встроенного интерфейса. А мне его менять и не надо, да и сижу через него. Отвалится ведь все. А, только пока писал заметил. В данном разделе указывается всего 1 мак-адрес - встроенный. Смотрите Но если посмотреть в консоль Code: root@OpenWrt:~iw dev phy#1 Interface wlan1 ifindex 113 wdev 0x100000065 addr 00:c0:ca:***:**:** type AP txpower 20.00 dBm phy#0 Interface wlan0 ifindex 114 wdev 0x8 addr 20:28:**:**:**:** ssid Open0 type AP channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz txpower 20.00 dBm Если вбить разные MAC-адреса в поле для встроенного адаптера и альфы - ничего не поменяется. Если вбить одинаковый MAC-адрес в поля для встроенного адаптера и альфы - точно так же, мак не меняется. В идеале конечно для pentest что бы с каждой загрузкой выдавался рандомный мак, ну на всякий случай чувствую пока придется ставить macchanger, но на прошлой прошивке он как-то очень странно работал у меня. На этой пока не знаю. На прошлой он при ключе "рандом" выбирал одни и тот же якобы рандомный адрес, что странно. Ибо вроде как рандом но адрес один и тот же (хоть и рандомный). Если же выбрать рандомный мак из списка вендеров - точно так же выдвал мак от некого хуавея и все. То есть macchanger работал только в режиме: 1) Указать мак руками самостоятельно. 2) Выбрать рандом и получить стабильно один и тот же адрес 3) Выбрать вендора и получить мак хуавея. Скажите что еще потестить и потыкать, с радостью проверю.