Nanobeam AC Gen 2?

Ì modified nel/mac80211/files/lib/wifi/mac80211.sh that the ssid is not disabled automatically and flashed an image.

Here is the bootlog with latest openwrt master:

root@OpenWrt:~# logread
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.000000] Linux version 5.4.52 (nick@epyc-1) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13685-4bb5e33)) #0 Tue Jul 21 10:02:35 2020
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] printk: bootconsole [early0] enabled
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] MIPS: machine is Ubiquiti NanoBeam AC (WA)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] SoC: Atheros AR9342 rev 3
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Tue Jul 21 10:02:42 2020 kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Tue Jul 21 10:02:42 2020 kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Zone ranges:
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Movable zone start for each node
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Early memory node ranges
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
Tue Jul 21 10:02:42 2020 kern.debug kernel: [    0.000000] On node 0 totalpages: 16384
Tue Jul 21 10:02:42 2020 kern.debug kernel: [    0.000000]   Normal zone: 144 pages used for memmap
Tue Jul 21 10:02:42 2020 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Tue Jul 21 10:02:42 2020 kern.debug kernel: [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
Tue Jul 21 10:02:42 2020 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Tue Jul 21 10:02:42 2020 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] Memory: 57412K/65536K available (4719K kernel code, 185K rwdata, 1100K rodata, 1220K init, 196K bss, 8124K reserved, 0K cma-reserved)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] NR_IRQS: 51
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x518 with crng_init=0
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] CPU clock: 535.000 MHz
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.008329] Calibrating delay loop... 267.26 BogoMIPS (lpj=534528)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.050912] pid_max: default: 32768 minimum: 301
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.056011] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.063815] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.077404] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.087847] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.095265] pinctrl core: initialized pinctrl subsystem
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.102143] NET: Registered protocol family 16
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.147635] clocksource: Switched to clocksource MIPS
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.154538] NET: Registered protocol family 2
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.160279] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.169266] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.177453] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.184980] TCP: Hash tables configured (established 1024 bind 1024)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.191921] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.198953] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.206817] NET: Registered protocol family 1
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.211545] PCI: CLS 0 bytes, default 32
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.220505] workingset: timestamp_bits=14 max_order=14 bucket_order=0
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.235878] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.242123] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.272589] pinctrl-single 1804002c.pinmux: 544 pins, size 68
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.280017] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.287773] printk: console [ttyS0] disabled
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.292410] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.301633] printk: console [ttyS0] enabled
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.310548] printk: bootconsole [early0] disabled
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.334560] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.339913] 5 fixed-partitions partitions found on MTD device spi0.0
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.346387] Creating 5 MTD partitions on "spi0.0":
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.351274] 0x000000000000-0x000000040000 : "u-boot"
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.357516] 0x000000040000-0x000000050000 : "u-boot-env"
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.364193] 0x000000050000-0x000000fb0000 : "firmware"
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.374094] 2 uimage-fw partitions found on MTD device firmware
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.380183] Creating 2 MTD partitions on "firmware":
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.385261] 0x000000000000-0x0000001f0000 : "kernel"
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.391383] 0x0000001f0000-0x000000f60000 : "rootfs"
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.397579] mtd: device 4 (rootfs) set to be root filesystem
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.405770] 1 squashfs-split partitions found on MTD device rootfs
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.412139] 0x000000410000-0x000000f60000 : "rootfs_data"
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.418814] 0x000000fb0000-0x000000ff0000 : "cfg"
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    0.424828] 0x000000ff0000-0x000001000000 : "art"
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.433230] libphy: Fixed MDIO Bus: probed
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.777699] libphy: ag71xx_mdio: probed
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.785262] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
Tue Jul 21 10:02:42 2020 kern.err kernel: [    0.791927] ar8327: qca,phy-rgmii-en is not specified
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.797360] ag71xx 19000000.eth: connected to PHY at mdio.0:04 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.808686] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.815284] i2c /dev entries driver
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.821671] NET: Registered protocol family 10
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.833295] Segment Routing with IPv6
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.837236] NET: Registered protocol family 17
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.841882] 8021q: 802.1Q VLAN Support v1.8
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.847261] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.853555]  MEM 0x0000000010000000..0x0000000013ffffff
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.858883]   IO 0x0000000000000000..0x0000000000000000
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.864431] PCI host bridge to bus 0000:00
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.868653] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.875643] pci_bus 0000:00: root bus resource [io  0x0000]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.881317] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.888215] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.896303] pci 0000:00:00.0: [0777:11ac] type 00 class 0x028000
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.902481] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.909441] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.916339] pci 0000:00:00.0: supports D1 D2
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.921882] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.928672] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.936134] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.949546] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.964851] Freeing unused kernel memory: 1220K
Tue Jul 21 10:02:42 2020 kern.warn kernel: [    0.969489] This architecture does not have kernel memory protection.
Tue Jul 21 10:02:42 2020 kern.info kernel: [    0.976030] Run /sbin/init as init process
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    1.171669] random: fast init done
Tue Jul 21 10:02:42 2020 user.info kernel: [    1.748680] init: Console is alive
Tue Jul 21 10:02:42 2020 user.info kernel: [    1.752570] init: - watchdog -
Tue Jul 21 10:02:42 2020 user.info kernel: [    2.835922] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Tue Jul 21 10:02:42 2020 user.info kernel: [    2.913683] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Tue Jul 21 10:02:42 2020 user.info kernel: [    2.931689] init: - preinit -
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    4.052225] random: jshn: uninitialized urandom read (4 bytes read)
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    4.208500] random: jshn: uninitialized urandom read (4 bytes read)
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    4.315399] random: jshn: uninitialized urandom read (4 bytes read)
Tue Jul 21 10:02:42 2020 kern.info kernel: [    4.729365] (NULL device *): Port 2 is up
Tue Jul 21 10:02:42 2020 user.notice kernel: [    9.006723] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
Tue Jul 21 10:02:42 2020 user.warn kernel: [    9.042639] urandom-seed: Seed file not found (/etc/urandom.seed)
Tue Jul 21 10:02:42 2020 user.info kernel: [    9.140598] procd: - early -
Tue Jul 21 10:02:42 2020 user.info kernel: [    9.143737] procd: - watchdog -
Tue Jul 21 10:02:42 2020 user.info kernel: [    9.791791] procd: - watchdog -
Tue Jul 21 10:02:42 2020 user.info kernel: [    9.795374] procd: - ubus -
Tue Jul 21 10:02:42 2020 kern.warn kernel: [    9.910722] urandom_read: 5 callbacks suppressed
Tue Jul 21 10:02:42 2020 kern.notice kernel: [    9.910732] random: ubusd: uninitialized urandom read (4 bytes read)
Tue Jul 21 10:02:42 2020 kern.notice kernel: [   10.048487] random: ubusd: uninitialized urandom read (4 bytes read)
Tue Jul 21 10:02:42 2020 user.info kernel: [   10.057148] procd: - init -
Tue Jul 21 10:02:42 2020 user.info kernel: [   10.895371] kmodloader: loading kernel modules from /etc/modules.d/*
Tue Jul 21 10:02:42 2020 kern.info kernel: [   11.079186] Loading modules backported from Linux version v5.7-rc3-0-g6a8b55ed4056
Tue Jul 21 10:02:42 2020 kern.info kernel: [   11.086952] Backport generated by backports.git v5.7-rc3-1-0-gc0c7d2bb
Tue Jul 21 10:02:42 2020 kern.info kernel: [   11.162651] xt_time: kernel timezone is -0000
Tue Jul 21 10:02:42 2020 kern.info kernel: [   11.340604] PPP generic driver version 2.4.2
Tue Jul 21 10:02:42 2020 kern.info kernel: [   11.356904] NET: Registered protocol family 24
Tue Jul 21 10:02:42 2020 user.info kernel: [   11.429504] urngd: v1.0.2 started.
Tue Jul 21 10:02:42 2020 kern.warn kernel: [   11.487086] ath: phy0: disabling 5GHz band
Tue Jul 21 10:02:42 2020 kern.debug kernel: [   11.492322] ath: EEPROM regdomain sanitized
Tue Jul 21 10:02:42 2020 kern.debug kernel: [   11.492329] ath: EEPROM regdomain: 0x64
Tue Jul 21 10:02:42 2020 kern.debug kernel: [   11.492334] ath: EEPROM indicates we should expect a direct regpair map
Tue Jul 21 10:02:42 2020 kern.debug kernel: [   11.492361] ath: Country alpha2 being used: 00
Tue Jul 21 10:02:42 2020 kern.debug kernel: [   11.492365] ath: Regpair used: 0x64
Tue Jul 21 10:02:42 2020 kern.debug kernel: [   11.507382] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Tue Jul 21 10:02:42 2020 kern.info kernel: [   11.510035] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=12
Tue Jul 21 10:02:42 2020 user.info kernel: [   11.652151] kmodloader: done loading kernel modules from /etc/modules.d/*
Tue Jul 21 10:02:42 2020 kern.notice kernel: [   11.872649] random: crng init done
Tue Jul 21 10:02:42 2020 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Tue Jul 21 10:02:43 2020 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: Connected to system UBus
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: started, version 2.82 cachesize 150
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: DNS service limited to local subnets
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: UBus support enabled: connected to system bus
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: using only locally-known addresses for domain test
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: using only locally-known addresses for domain onion
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: using only locally-known addresses for domain localhost
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: using only locally-known addresses for domain local
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: using only locally-known addresses for domain invalid
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: using only locally-known addresses for domain bind
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: using only locally-known addresses for domain lan
Tue Jul 21 10:02:43 2020 daemon.warn dnsmasq[959]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: read /etc/hosts - 4 addresses
Tue Jul 21 10:02:43 2020 daemon.info dnsmasq[959]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Tue Jul 21 10:02:59 2020 authpriv.info dropbear[1005]: Not backgrounding
Tue Jul 21 10:03:01 2020 daemon.notice wpa_supplicant[1073]: Successfully initialized wpa_supplicant
Tue Jul 21 10:03:01 2020 user.notice : Added device handler type: 8021ad
Tue Jul 21 10:03:01 2020 user.notice : Added device handler type: 8021q
Tue Jul 21 10:03:01 2020 user.notice : Added device handler type: macvlan
Tue Jul 21 10:03:01 2020 user.notice : Added device handler type: veth
Tue Jul 21 10:03:01 2020 user.notice : Added device handler type: bridge
Tue Jul 21 10:03:01 2020 user.notice : Added device handler type: Network device
Tue Jul 21 10:03:01 2020 user.notice : Added device handler type: tunnel
Tue Jul 21 10:03:03 2020 kern.warn kernel: [   39.039871] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
Tue Jul 21 10:03:03 2020 kern.warn kernel: [   39.059747] jffs2_build_filesystem(): unlocking the mtd device...
Tue Jul 21 10:03:03 2020 kern.warn kernel: [   39.059754] done.
Tue Jul 21 10:03:08 2020 kern.warn kernel: [   39.068016] jffs2_build_filesystem(): erasing all blocks after the end marker...
Tue Jul 21 10:03:08 2020 kern.info kernel: [   43.341954] br-lan: port 1(eth0) entered blocking state
Tue Jul 21 10:03:08 2020 kern.info kernel: [   43.354927] br-lan: port 1(eth0) entered disabled state
Tue Jul 21 10:03:08 2020 kern.info kernel: [   43.360646] device eth0 entered promiscuous mode
Tue Jul 21 10:03:08 2020 daemon.notice netifd: Interface 'lan' is enabled
Tue Jul 21 10:03:08 2020 daemon.notice netifd: Interface 'lan' is setting up now
Tue Jul 21 10:03:08 2020 daemon.debug dnsmasq[959]: listening on br-lan(#4): 192.168.1.1 port 53
Tue Jul 21 10:03:08 2020 daemon.notice netifd: Interface 'lan' is now up
Tue Jul 21 10:03:08 2020 daemon.debug dnsmasq[959]: listening on lo(#1): 127.0.0.1 port 53
Tue Jul 21 10:03:08 2020 daemon.debug dnsmasq[959]: listening on lo(#1): ::1 port 53
Tue Jul 21 10:03:08 2020 daemon.notice netifd: Interface 'loopback' is enabled
Tue Jul 21 10:03:08 2020 daemon.notice netifd: Interface 'loopback' is setting up now
Tue Jul 21 10:03:08 2020 daemon.notice netifd: Interface 'loopback' is now up
Tue Jul 21 10:03:08 2020 daemon.notice netifd: Network device 'lo' link is up
Tue Jul 21 10:03:08 2020 daemon.notice netifd: Interface 'loopback' has link connectivity
Tue Jul 21 10:03:08 2020 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Tue Jul 21 10:03:09 2020 daemon.err odhcpd[1148]: Failed to send to ff02::1%lan@br-lan (Address not available)
Tue Jul 21 10:03:10 2020 kern.warn kernel: [   46.179735] jffs2: Newly-erased block contained word 0x0 at offset 0x00480000
Tue Jul 21 10:03:10 2020 kern.warn kernel: [   46.219716] jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00470000
Tue Jul 21 10:03:11 2020 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.418052] jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00450000
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.475769] jffs2: Newly-erased block contained word 0xb3aedd63 at offset 0x00440000
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.503697] jffs2: Newly-erased block contained word 0xd31704ef at offset 0x00430000
Tue Jul 21 10:03:11 2020 kern.info kernel: [   46.521684] br-lan: port 2(wlan0) entered blocking state
Tue Jul 21 10:03:11 2020 kern.info kernel: [   46.527155] br-lan: port 2(wlan0) entered disabled state
Tue Jul 21 10:03:11 2020 kern.info kernel: [   46.533111] device wlan0 entered promiscuous mode
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.545407] jffs2: Newly-erased block contained word 0x756c245f at offset 0x00420000
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.565392] jffs2: Newly-erased block contained word 0x672c1aa9 at offset 0x00410000
Tue Jul 21 10:03:11 2020 kern.info kernel: [   46.600109] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Tue Jul 21 10:03:11 2020 kern.info kernel: [   46.606871] br-lan: port 2(wlan0) entered blocking state
Tue Jul 21 10:03:11 2020 kern.info kernel: [   46.612327] br-lan: port 2(wlan0) entered forwarding state
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.623728] jffs2: Newly-erased block contained word 0xb59345ff at offset 0x00400000
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.643765] jffs2: Newly-erased block contained word 0x45e1dc8b at offset 0x003f0000
Tue Jul 21 10:03:11 2020 kern.info kernel: [   46.656070] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Tue Jul 21 10:03:11 2020 daemon.notice netifd: bridge 'br-lan' link is up
Tue Jul 21 10:03:11 2020 daemon.notice netifd: Interface 'lan' has link connectivity
Tue Jul 21 10:03:11 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->ENABLED
Tue Jul 21 10:03:11 2020 daemon.notice hostapd: wlan0: AP-ENABLED
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.685309] jffs2: Newly-erased block contained word 0x9e92aeea at offset 0x003e0000
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.723952] jffs2: Newly-erased block contained word 0xf9d35c83 at offset 0x003d0000
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.762977] jffs2: Newly-erased block contained word 0xc2075909 at offset 0x003c0000
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.799731] jffs2: Newly-erased block contained word 0x87facdde at offset 0x003b0000
Tue Jul 21 10:03:11 2020 daemon.notice netifd: radio0 (1241): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process  path (/proc/exe)
Tue Jul 21 10:03:11 2020 kern.warn kernel: [   46.835738] jffs2: Newly-erased block contained word 0x65c65c73 at offset 0x003a0000
Tue Jul 21 10:03:11 2020 daemon.notice netifd: radio0 (1241): Command failed: Invalid argument
Tue Jul 21 10:03:12 2020 daemon.err odhcpd[1148]: Failed to send to ff02::1%lan@br-lan (Address not available)
Tue Jul 21 10:03:12 2020 daemon.debug dnsmasq[959]: listening on wlan0(#5): fe80::e063:daff:fe94:d9b7%wlan0 port 53
Tue Jul 21 10:03:13 2020 daemon.notice netifd: Network device 'wlan0' link is up
Tue Jul 21 10:03:13 2020 daemon.debug dnsmasq[959]: listening on br-lan(#4): fdbb:e21d:6907::1 port 53
Tue Jul 21 10:03:13 2020 daemon.debug dnsmasq[959]: listening on br-lan(#4): fe80::e263:daff:fe95:d9b7%br-lan port 53
Tue Jul 21 10:03:15 2020 daemon.info dnsmasq[959]: exiting on receipt of SIGTERM
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: Connected to system UBus
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: started, version 2.82 cachesize 150
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: DNS service limited to local subnets
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: UBus support enabled: connected to system bus
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq-dhcp[1463]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: using only locally-known addresses for domain test
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: using only locally-known addresses for domain onion
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: using only locally-known addresses for domain localhost
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: using only locally-known addresses for domain local
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: using only locally-known addresses for domain invalid
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: using only locally-known addresses for domain bind
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: using only locally-known addresses for domain lan
Tue Jul 21 10:03:16 2020 daemon.warn dnsmasq[1463]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: read /etc/hosts - 4 addresses
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq-dhcp[1463]: read /etc/ethers - 0 addresses
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: read /etc/hosts - 4 addresses
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq[1463]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Tue Jul 21 10:03:16 2020 daemon.info dnsmasq-dhcp[1463]: read /etc/ethers - 0 addresses
Tue Jul 21 10:03:19 2020 daemon.info dnsmasq[1463]: read /etc/hosts - 4 addresses
Tue Jul 21 10:03:19 2020 daemon.info dnsmasq[1463]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Tue Jul 21 10:03:19 2020 daemon.info dnsmasq-dhcp[1463]: read /etc/ethers - 0 addresses
Tue Jul 21 10:03:27 2020 kern.warn kernel: [   62.614525] done.
Tue Jul 21 10:03:27 2020 kern.notice kernel: [   62.616590] jffs2: notice: (1210) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Tue Jul 21 10:03:27 2020 kern.warn kernel: [   62.768637] overlayfs: upper fs does not support tmpfile.
Tue Jul 21 10:03:27 2020 daemon.info mount_root: performing overlay whiteout
Tue Jul 21 10:03:27 2020 daemon.info mount_root: syncronizing overlay
Tue Jul 21 10:03:27 2020 daemon.err mount_root: failed to sync jffs2 overlay
Tue Jul 21 10:03:28 2020 daemon.info procd: - init complete -
Tue Jul 21 10:03:29 2020 daemon.info urandom_seed[1641]: Seed saved (/etc/urandom.seed)
Tue Jul 21 10:05:36 2020 daemon.info hostapd: wlan0: STA a4:34:d9:ee:eb:48 IEEE 802.11: authenticated
Tue Jul 21 10:05:36 2020 daemon.info hostapd: wlan0: STA a4:34:d9:ee:eb:48 IEEE 802.11: associated (aid 1)
Tue Jul 21 10:05:36 2020 daemon.notice hostapd: wlan0: AP-STA-CONNECTED a4:34:d9:ee:eb:48
Tue Jul 21 10:05:36 2020 daemon.info dnsmasq-dhcp[1463]: DHCPREQUEST(br-lan) 10.11.0.240 a4:34:d9:ee:eb:48
Tue Jul 21 10:05:36 2020 daemon.info dnsmasq-dhcp[1463]: DHCPNAK(br-lan) 10.11.0.240 a4:34:d9:ee:eb:48 wrong network
Tue Jul 21 10:05:39 2020 daemon.info dnsmasq-dhcp[1463]: DHCPDISCOVER(br-lan) 10.11.0.240 a4:34:d9:ee:eb:48
Tue Jul 21 10:05:39 2020 daemon.info dnsmasq-dhcp[1463]: DHCPOFFER(br-lan) 192.168.1.240 a4:34:d9:ee:eb:48
Tue Jul 21 10:05:39 2020 daemon.info dnsmasq[1463]: read /etc/hosts - 4 addresses
Tue Jul 21 10:05:39 2020 daemon.info dnsmasq[1463]: read /tmp/hosts/odhcpd - 1 addresses
Tue Jul 21 10:05:39 2020 daemon.info dnsmasq[1463]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Tue Jul 21 10:05:39 2020 daemon.info dnsmasq-dhcp[1463]: read /etc/ethers - 0 addresses
Tue Jul 21 10:05:39 2020 daemon.info dnsmasq-dhcp[1463]: DHCPDISCOVER(br-lan) 10.11.0.240 a4:34:d9:ee:eb:48
Tue Jul 21 10:05:39 2020 daemon.info dnsmasq-dhcp[1463]: DHCPOFFER(br-lan) 192.168.1.240 a4:34:d9:ee:eb:48
Tue Jul 21 10:05:39 2020 daemon.info dnsmasq-dhcp[1463]: DHCPREQUEST(br-lan) 192.168.1.240 a4:34:d9:ee:eb:48
Tue Jul 21 10:05:39 2020 daemon.info dnsmasq-dhcp[1463]: DHCPACK(br-lan) 192.168.1.240 a4:34:d9:ee:eb:48 nick-arch
Tue Jul 21 10:06:08 2020 authpriv.info dropbear[1670]: Child connection from 192.168.1.240:50738
Tue Jul 21 10:06:12 2020 authpriv.notice dropbear[1670]: Auth succeeded with blank password for 'root' from 192.168.1.240:50738
root@OpenWrt:~# cat /etc/config/wireless 

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'platform/ahb/18100000.wmac'
	option htmode 'HT20'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'OpenWrt'
	option encryption 'none'
root@OpenWrt:~# cat /etc/config/network 

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

config globals 'globals'
	option ula_prefix 'fdbb:e21d:6907::/48'

config interface 'lan'
	option type 'bridge'
	option ifname 'eth0'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '60'

If I plugin remove the device from my switch and put it back I get following error

Tue Jul 21 10:20:45 2020 kern.info kernel: [ 1101.120380] (NULL device *): Port 2 is down
Tue Jul 21 10:20:51 2020 kern.info kernel: [ 1106.240104] (NULL device *): Port 2 is up

@mk24 I used the whole day to get a PR working for the ac gen2. It would be nice if you could test. :slight_smile:

Got the hardware out again and hooked up serial. It was flashed with 19.07.2 for Nanobeam AC, which as you noted does not work. The switch chip (AR8334) is not detected, and no data can flow from the Ethernet ports. I know that at some point I had it running OpenWrt with Ethernet and everything-- this would have been before 19.07 so it must have been a snapshot build. Then I must have upgraded it to an incompatible version and confused that with hardware failure. Which seemed unusual at the time since it would be the first Ubiquiti hardware I've had fail that hadn't been struck by lightning.

Today I determined clearly the Ethernet is OK since the bootloader can answer pings and TFTP files.

The hardware is actually very similar to the Nanostation AC. It looks to be the same set of chips with a different antenna. So I booted up the 19.07.3 initramfs image for Nanostation AC, and Ethernet works with OpenWrt. I'm still testing that image. It looks like there are two wifi radios and an Ethernet switch like there should be.

So executive summary is: Use Nanostation AC builds on the Nanobeam AC Gen2. Maybe.

The design of kmod-ath10k-ct allocates a lot of RAM in favor of performance. The smallbuffers version is essential on a box with 64M and a good idea with 128M. The regular version will take up all of the RAM and crash these routers.

I noticed that, too. :slight_smile: So I took the ethernet part dts stuff from nanostation ac. And it worked! :slight_smile:

I already switched to smallbuffers, but I forgot to push it. ^^

I've been running the release 19.07.3 Nanostation AC build on mine and it seems to work fine. Not sure if a separate model is necessary. Ubiquiti has tried to build groups of models around shared hardware platforms, though their naming scheme isn't always clear which one is inside your box.

The wiki pages on these need a lot of work. According to them there are two versions of the Nanobeam AC Gen2: one has a single Ethernet port and the other one (which I have) has two. Is yours also with two ports?

Yep.

Does your 2 wifi radios work? Could u post a dmesg or logread output?

I still have issues with jffs2. Here is a gist after flashing.

Here is the gist after a reboot

Yes both radios work. Realize that though the 2.4 radio is fully supported in software, its hardware has only a single tiny antenna so it is only suitable for close range.

I'm not seeing any problems with the jffs like you were. It looks like the flash chip is readable, but not responding to erase or write requests.

Did u try 5.4 kernel? Since that is the problematic kernel version for me.

I added a bug report: https://bugs.openwrt.org/index.php?do=details&task_id=3272

I can confirm that the 5.4 build of today's snapshot for Nanostation AC does not work on my Nanobeam AC Gen 2. The same failure to erase / write to the flash occurs. 19.07.3 ath79 builds work properly.

What isn't clear is whether this build would also crash on a Nanostation AC, or is there a real difference between the Nanobeam AC Gen2 and Nanostation AC. I don't have a Nanostation AC to test on.

1 Like

Thanks for testing! I believe this will affect every device with mx25l12805d flash.

Did u try going from 4.X Kernel to 5.4 without doing a "-n"? So erasing of the flash?

Guys...I think im in the same boat as you guys...what should i do now?

I did not use -n. The saved settings were initially present but it would not reboot properly (the top signal light just flashing indefinitely), so I had to TFTP recover and start over.

Could u please open the device again and look at the flash chip which model it is? And maybe make some good photos?

Or maybe this is enough: https://fccid.io/SWX-NBE5ACG2W/Internal-Photos/Internal-Photos-3546294

It is a mx25l12835f (16-pin package).

I glued the Nanobeam AC Gen2 back together and deployed it in my home network, so that one is off the table. Mostly because I was tired of looking at it taken apart.

However I do have a Nanostation AC loco which is the same "XW" platform and the same MX25l12835F flash chip, so I tested it with today's snapshot (for that model). It has the same problem. There are errors "newly erased block contains" and the overlay fs is not persistent. So I would say there's a major problem here with support for that whole platform.

Unlike the Nanobeam AC the Nanostation AC loco is very easy to open the case and connect serial.

1 Like

Just to be sure, is the flash chip also a 16-pin package? I've put an MX25L12835F chip in my TP-Link device and I don't have any issues at all. But I've used the 8-pin version. Other devices with this chip also don't appear to experience any issues, even the ones added with a recent kernel.

Yes it's a 16 pin chip.
All the markings on the top of the chip are:

(MXIC logo) X182459
MX25L12835FMI-10G
18A00406

Edit: It looks like the hardware write protect of the flash chip is controlled by something on the board, most likely a GPIO. There is a transistor driving pin 9 of the chip. Since the transistor inverts the logic, the GPIO needs to be low to allow writing. If it is in input mode a resistor pulls it high so writing is not allowed.

I'm going to try to find out which GPIO it is.

Did some more testing on the Nanostation AC Loco and a snapshot build. It looks like the write protect circuit really isn't an issue since the GPIO stays low thus hardware write protection is inactive. I defeated the circuit by grounding out the transistor base so the chip should stay unprotected all the time.

There are still problems with jffs. Installing a package is not persistent. The only error that is apparent is there are "dead" and "orphaned" blocks. This same message occurs the same way on repeated reboots without having written anything to the filesystem.
[ 9.456629] jffs2: notice: (533) jffs2_build_xattr_subsystem: complete building xattr subsystem, 20 of xdatum (14 unchecked, 6 orphan) and 30 of xref (4 dead, 6 orphan) found.

For what it's worth, I see these dead/orphan xattr notices on my flash chips (SOP-8, TP-Link devices) too. No issues with persistence on any of them.

[    0.296639] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[   15.146007] jffs2: notice: (516) jffs2_build_xattr_subsystem: complete building xattr subsystem, 12 of xdatum (0 unchecked, 3 orphan) and 15 of xref (3 dead, 0 orphan) found.
[    0.300177] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[   15.202175] jffs2: notice: (517) jffs2_build_xattr_subsystem: complete building xattr subsystem, 36 of xdatum (31 unchecked, 3 orphan) and 60 of xref (3 dead, 0 orphan) found.
[    0.307247] spi-nor spi0.0: w25q128 (16384 Kbytes)
[   10.022240] jffs2: notice: (532) jffs2_build_xattr_subsystem: complete building xattr subsystem, 16 of xdatum (9 unchecked, 1 orphan) and 23 of xref (1 dead, 0 orphan) found.