You are here

Mikrotik hAP lite 952Ui-5ac2nD now in Nightly Builds -- aka AirRouter upgrade

128 posts / 0 new
Last post
AE6XE
AE6XE's picture
Mikrotik hAP lite 952Ui-5ac2nD now in Nightly Builds -- aka AirRouter upgrade

Take a look at a new MIkrotik device now available in the nightly build.  This hAP lite 952Ui-5ac2nD devices has:

1) 1 x WAN/Internet Port
2) 3 x LAN Ports
3) 1 x DtDLink Port

16 Mb Flash space (2x from all the UBNT AirMax devices)
64 Mb RAM 

2 Ghz MIMO 802.11n (2 antenna/polarization) mesh node
5 Ghz 80211/n/ac (1 antenna)   <- local mesh part 15 Access Point option to be added as a 2nd phase, not currently available in nightly build 

1 x POE (passive) on the DtDlink port    <-  not in nightly build, turning on POE to be added as a 2nd phase.    1 power feed to run 2 devices

This device is available for list price about ~$45.

Best or typical uses for this devices would included:

1) tunnel and/or meshchat server in the shack, and separate netgear or similar vlan switch to configure is not required
2) mobile station with local Access Point, simplified power cabling for 2nd mesh node using POE port to dish or sector uplink, ports for voip, laptop, and ipcam

The notes to install are located here:  https://www.arednmesh.org/content/installation-instructions-mikrotik-dev...

The install process is a few more steps and works from a linux laptop.  If these steps are too daunting, you may be able to find someone to load AREDN locally, or in the forums, and postage cost might be incurred.  Once AREDN is loaded,  future AREDN firmware versions can be loaded from the Administration UI page.

Please post any usage experience with this device good or bad.   We have at least 3 of these being prepared and going out for use in go-kits here in my local area already.

Joe AE6XE  
 

kj6dzb
kj6dzb's picture
Do you have a source for the

Do you have a source for the RB952Ui-5ac2nD (International) supports 2412-2484MHz and 5150MHz - 5875MHz range ? 

thanks again for the fix!!!

73 Mathison kj6dzb

AE6XE
AE6XE's picture
Streakwave is listing the

Streakwave is listing the International version, at least this is identified in the detailed description.   However, I expect the difference between US and International version is only in the RB OS, not the hardware.  If so, when loading the AREDN firmware, it would still have the same capabilities on both versions.   This means ch -1 and ch -2 on 2Ghz and is currently functioning in the nightly builds.   The 5Ghz channels are set within the open source driver we are reusing and the jury is still out if we can get it tweaked to cover part 97 channels.   this is a new driver we've not used before that supports 802.11ac.    We'll be looking at this in the next few weeks/months.  

Joe AE6XE

K6AH
K6AH's picture
Not a simple process...

Well, for some of you that procedure is straight forward enough.  I hope you enjoy this new device.  It looks intriguing.  But for the rest of us, that procedure is intimidating and I personally know I would botch it up good. 

So let me propose this... Until such time as the developers figure out a new way of loading these (and they do have at least one good idea), how many of you would be willing to pay an extra $15 to have an AREDN app pre-loaded?  There's little money to made here, and anyone wanting to provide this service is welcome to.  The benefit of this approach is that you get the utility of this great device right away, and going forward you can use the AREDN user interface to load upgrades to the app.

So, would you pay $15 for that?  Note the device itself runs around $45 (street price), so in your hands it would be around $60 plus one-way freight.

Andre, K6AH

 

AA7AU
AA7AU's picture
I would pay $60+shipping

I think that I would pay $60 (plus reasonable shipping) right now for one of those all setup and ready to go, especially if that extra bit goes to AREDN or one of the developers.

- Don - AA7AU

WB4TNH
Microtik router

I agree completely with Andre's suggestion.  I also would be willing to pay someone to do the update for me.

Richard, K6QS

KD2EVR
KD2EVR's picture
I'll bite

I've been looking for a way to fund my mesh habit in some small way.  

Lemme look into sourcing these things wholesale.  

 

K6AH
K6AH's picture
Have at it, Thomas.  Contact

Have at it, Thomas.  Contact Joe on this forum for technical support.  Be sure to order the correct device.  I'd be happy to be your first customer.

Andre, K6AH
 

AE6XE
AE6XE's picture
POE port is live or hot on the hAP lite!

The POE pass though to make the DTDLink port hot is on by default.  This is being turned on near power on of the device about the same time as the boot loader hands over to boot linux.   At present there isn't any AREDN added code to do anything with POE, one way or another.    The DtDLink port is staying hot after AREDN boots up.

The mikrotik documentations talks about overload and short circuit protections and a need for the load over the cat5 respective POE wires to be 3k to 26.5k ohms for the port to deliver power.  

The big assumption is that this protection behavior is still in place with openwrt and mikrotik defaults so nothing will smoke.  I've not tested this :)   I believe this is a safe assumption, however one never knows for sure until confirming.    I would avoid plugging this DtDlink port into a Nanostation port and also another POE feed into the other Nanostation port.  If one feed is 12v and the other 24v, not exactly sure what would happen...

Be sure to review the load requirements to match up to the Mikrotik 500 mA limit on the port.  With 24v @ 500 mA = 12 Watts of power can be delivered.  12v or 6 Watts of power may not be enough for a typical mesh node.   The overload protection should also shutdown the power if you are exceeding 500 mA .

Joe AE6XE

AJ6GZ
I run all my nodes from Locos

I run all my nodes from Locos to Rockets on MikroTik HEX PoE's. Plenty of power in a normal senario.

That being said, powering a nanostation from port 5 would be powering it "backwards" as we know we're supposed to use port 1. Yes I know some have tried it ;) There is support in RouterOS to shut down PoE but not sure in OpenWRT. Perhaps someone could make a DC blocker between port 5 and the other node if it was really an issue. If everything is on the same power supply reference I don't "think" it would matter. Who will be the first...

AE6XE
AE6XE's picture
Manually turning POE pass

Manually turning POE pass though off/on  

Until this is hooked into the UI settings the following can be manually used to turn on/off POE pass though on the hAP lite: 

off: echo 0 > /sys/class/gpio/gpio14/value
on: echo 1 > /sys/class/gpio/gpio14/value



 

AJ6GZ
hAP Lite up and running!

No problems during the install but you will need to pay attention to what port your laptop is plugged into. The first step, the initial .elf file transfer, will only work on Port 1 (the port assigned by Mikrotik for all recovery procedures using the reset button). Then you will need to move to port 2 to do the main .bin file copy once the initial AREDN code is running. Also I have noticed sometimes port 1 won't link up on some laptops and mikrotik combos (not unique to hAP) during reset button recovery. If you don't get a link, try a crossover cable. This is not needed during normal operation.

9MB of flash and 28MB of RAM free.

Max power 22 dBm on 2.4Ghz and seems quite happy thru one exterior wall.

Finally, the jury is still out on US locked vs. International version. I tried to buy a US version intentionally but they sent an International. Why can't I have that luck on the other ones I get? :)

Ian

K5DLQ
K5DLQ's picture
I have a US version and it

I have a US version and it works fine on channel -2.

DL4FLY
DL4FLY's picture
Mikrotik hAP lite 952Ui-5ac2nD european version not flashing

Thanks for migrating AREDN to Mikrotik hardware.
I have tried to flash a german market Mikrotik hAP lite 952Ui-5ac2nD.
First elf upload is working, scp the *ac.bin file is successfull.
When running sysupgrade the router disconnects from notebook:

"Commencing upgrade. Closing all shell sessions.
Connection closed by foreign host."

After some time, leds are flashing once and router starts with normal RouterOS.

Any ideas?

73 Timm
 

AE6XE
AE6XE's picture
1) check the image is valid. 

1) check the image is valid.  Do you get the same output?:
root@AE6XE-hAPlite:~# sha256sum aredn-256-c2894f8-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin
e6050df06ce49df0ae844502f360be7626990bfc288bfe286b5189b71e8ab470  aredn-256-c2894f8-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin

2) confirm the command is:
sysupgrade -n /tmp/aredn-256-c2894f8-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin

3) navigate to http://192.168.1.1.  Under setup->Adinistration  click the download support data button at the bottom and post back.  Let's check if there is anything in the environment.

sysupgrade must be encountering an error if RouterOS is still there.

DL4FLY
DL4FLY's picture
Still no success

I made all steps you told me.
1.) Image is valid, checksum matches
2.) I used this command each time
3.) Download button gives: "Bad Gateway. The process did not produce any response". I tried it before...

Before posting here, I checked the manual procedure for flashing OpenWRT to this device. There should be area of flash linked to /dev/mtdblock1 etc.
My /proc/mtd was empty. For me it looks like the boot image does not find the flash...

No error from sysupgrade, same message "Commencing upgrade. Closing all shell sessions."
I have also tried to upload via Administration/Firmwareupdate: Same behaviour.

Timm

AE6XE
AE6XE's picture
Is it possible to capture the

Is it possible to capture the "dmesg" output and post?   This will give the hardware environment linux detects and some indication of what the issue is.   sysupgrade issues can be difficult to troubleshoot since the steps disconnect shell environments and other processes to do the job.   The Developers would probably be using the serial console to follow along.   We can't see any errors after the ssh shell is terminated.

For completeness, to eliminate the possibilities:

1) the label on the bottom says exactly "​RB952Ui-5ac2nD".   There are other hAP lite models with potentially very different chipsets.
2) after running the sysupgrade command, it is left untouched with power on for up to 5 min.  

Joe AE6XE

DL4FLY
DL4FLY's picture
The label says exactly

The label says exactly RB952Ui-5ac2nD
When starting sysupgrade, after 30sec the computer gets a 192.168.88.xxx address and router shows the RouterOS config webpage.

Here is the dmesg file alfte booting the *.elf and logging in with telnet.
There are some error messages...

73 Timm


WARNING: passwords are sent unencrypted.
NOCALL login: root
Password:


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

              _____  ______ _____  _   _
        /\   |  __ \|  ____|  __ \| \ | |TM
       /  \  | |__) | |__  | |  | |  \| |
      / /\ \ |  _  /|  __| | |  | | . ` |
     / ____ \| | \ \| |____| |__| | |\  |
    /_/    \_\_|  \_\______|_____/|_| \_|
    AMATEUR  RADIO EMERGENCY DATA NETWORK
-----------------------------------------------
 * 1 Battery          Connect all devices
 * 2 POE injectors    Upgrade firmware to AREDN
 * 3 cat5 cables      Setup with your callsign
 * 1 UBNT NanoStation Point the Antenna
 * 1 ipCam            Welcome to the Mesh!
-----------------------------------------------
  256-c2894f8, r7258-5eb055306f
 ----------------------------------------------
root@NOCALL:~# dmesg
[    0.000000] Linux version 4.9.120 (aredn@b44933fd16b4) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7258-5eb055306f) ) #0 Thu Aug 16 07:51:15 2018
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 80460594, node_mem_map 81000020
[    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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: no-uart no-buzzer no-nand parts=1 boot_part_size=16777216 gpio=8520495 HZ=325000000 mem=64M kmac=CC:2D:E0:89:4E:1B board=952-hb board=952-hb hw_opt=00294005 boot=0 mlc=11 console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 55296K/65536K available (3180K kernel code, 144K rwdata, 776K rodata, 4916K init, 205K bss, 10240K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:650.000MHz, DDR:600.000MHz, AHB:300.000MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000009] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008863] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.071946] pid_max: default: 32768 minimum: 301
[    0.077292] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084799] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.095584] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.106784] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.114274] NET: Registered protocol family 16
[    0.122886] MIPS: machine is MikroTik RouterBOARD 952Ui-5ac2nD
[    0.133824] registering PCI controller with io_map_base unset
[    0.634472] PCI host bridge to bus 0000:00
[    0.639138] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.646981] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.653303] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.661008] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.670022] pci 0000:00:00.0: [168c:0050] type 00 class 0x028000
[    0.670070] pci 0000:00:00.0: reg 0x10: [mem 0x10000000-0x101fffff 64bit]
[    0.670149] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.670218] pci 0000:00:00.0: supports D1
[    0.670227] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.670438] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.670466] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[    0.678804] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[    0.687001] pci 0000:00:00.0: using irq 40 for pin 1
[    0.693364] clocksource: Switched to clocksource MIPS
[    0.700117] NET: Registered protocol family 2
[    0.705888] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.713861] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.721084] TCP: Hash tables configured (established 1024 bind 1024)
[    0.728409] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.735080] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.742418] NET: Registered protocol family 1
[    0.747440] PCI: CLS 0 bytes, default 32
[    2.593375] random: fast init done
[    6.614503] Crashlog allocated RAM at address 0x3f00000
[    6.621826] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    6.635483] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    6.642117] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    6.743615] io scheduler noop registered
[    6.748069] io scheduler deadline registered (default)
[    6.754219] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    6.761807] console [ttyS0] disabled
[    6.786002] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    6.795795] console [ttyS0] enabled
[    6.803343] bootconsole [early0] disabled
[    6.815978] m25p80 spi0.0: unrecognized JEDEC id bytes: ef, 70, 18
[    6.823349] libphy: Fixed MDIO Bus: probed
[    6.947835] libphy: ag71xx_mdio: probed
[    7.575942] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    7.586064] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    8.215894] ag71xx-mdio.1: Found an AR934X built-in switch
[    8.269205] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    8.278674] NET: Registered protocol family 17
[    8.283331] 8021q: 802.1Q VLAN Support v1.8
[    8.319874] Freeing unused kernel memory: 4916K
[    8.324587] This architecture does not have kernel memory protection.
[    8.343877] init: Console is alive
[    8.347617] init: - watchdog -
[    8.371707] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.390088] usbcore: registered new interface driver usbfs
[    8.395905] usbcore: registered new interface driver hub
[    8.401469] usbcore: registered new device driver usb
[    8.412073] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.419622] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    8.429417] init: - preinit -
[    8.614846] random: procd: uninitialized urandom read (4 bytes read)
[   10.677600] eth0: link up (100Mbps/Full duplex)
[   11.754882] eth0: link down
[   11.768778] procd: - early -
[   11.771857] procd: - watchdog -
[   12.303504] procd: - watchdog -
[   12.307010] procd: - ubus -
[   12.317343] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.360173] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.367203] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.374674] procd: - init -
[   12.568387] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.580836] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   12.589178] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   12.601640] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   12.670277] xt_time: kernel timezone is -0000
[   12.694695] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.765900] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   13.047374] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   13.058454] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.135802] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   13.145370] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   13.156090] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.329570] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/firmware-6.bin failed with error -2
[   13.340681] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.444628] firmware ath10k!QCA9887!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   13.456609] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[   13.466196] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   13.480115] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00033 api 5 features no-p2p,ignore-otp,skip-clock-init,mfp,allows-mesh-bcast crc32 c232a0c3
[   13.576349] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/board-2.bin failed with error -2
[   13.587198] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.673343] firmware ath10k!QCA9887!hw1.0!board-2.bin: firmware_loading_store: map pages failed
[   13.682768] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[   14.729380] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   14.865048] ath: EEPROM regdomain: 0x0
[   14.865058] ath: EEPROM indicates default country code should be used
[   14.865061] ath: doing EEPROM country->regdmn map search
[   14.865072] ath: country maps to regdmn code: 0x3a
[   14.865077] ath: Country alpha2 being used: US
[   14.865080] ath: Regpair used: 0x3a
[   14.928803] ath: EEPROM regdomain: 0x0
[   14.928813] ath: EEPROM indicates default country code should be used
[   14.928816] ath: doing EEPROM country->regdmn map search
[   14.928831] ath: country maps to regdmn code: 0x3a
[   14.928836] ath: Country alpha2 being used: US
[   14.928840] ath: Regpair used: 0x3a
[   14.939694] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   14.943713] ieee80211 phy1: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[   14.993779] kmodloader: done loading kernel modules from /etc/modules.d/*
[   16.203881] urandom_read: 5 callbacks suppressed
[   16.203889] random: jshn: uninitialized urandom read (4 bytes read)
[   24.766858] br-lan: port 1(eth1.0) entered blocking state
[   24.772450] br-lan: port 1(eth1.0) entered disabled state
[   24.778408] device eth1.0 entered promiscuous mode
[   24.783405] device eth1 entered promiscuous mode
[   26.997002] eth0: link up (100Mbps/Full duplex)
[   27.767592] br-lan: port 2(wlan1) entered blocking state
[   27.773091] br-lan: port 2(wlan1) entered disabled state
[   27.778984] device wlan1 entered promiscuous mode
[   27.783950] br-lan: port 2(wlan1) entered blocking state
[   27.789444] br-lan: port 2(wlan1) entered forwarding state
[   30.124952] br-lan: port 2(wlan1) entered disabled state
[   30.136432] br-lan: port 3(wlan0) entered blocking state
[   30.141935] br-lan: port 3(wlan0) entered disabled state
[   30.147835] device wlan0 entered promiscuous mode
[   30.173502] br-lan: port 2(wlan1) entered blocking state
[   30.179029] br-lan: port 2(wlan1) entered forwarding state
[   30.551737] br-lan: port 3(wlan0) entered blocking state
[   30.557296] br-lan: port 3(wlan0) entered forwarding state
[   35.315459] eth0: link down
[   35.565826] eth1: link up (1000Mbps/Full duplex)
[   35.583418] br-lan: port 1(eth1.0) entered blocking state
[   35.589018] br-lan: port 1(eth1.0) entered forwarding state
[   37.761753] device eth1.0 left promiscuous mode
[   37.766543] device eth1 left promiscuous mode
[   37.771267] br-lan: port 1(eth1.0) entered disabled state
[   37.806473] eth1: link down
[   37.897983] br-lan: port 1(eth1.0) entered blocking state
[   37.903631] br-lan: port 1(eth1.0) entered disabled state
[   37.909627] device eth1.0 entered promiscuous mode
[   37.914657] device eth1 entered promiscuous mode
[   39.026203] br-lan: port 3(wlan0) entered disabled state
[   39.031771] br-lan: port 2(wlan1) entered disabled state
[   39.096965] device eth1.0 left promiscuous mode
[   39.101719] device eth1 left promiscuous mode
[   39.106397] br-lan: port 1(eth1.0) entered disabled state
[   39.193478] device wlan0 left promiscuous mode
[   39.198166] br-lan: port 3(wlan0) entered disabled state
[   39.277015] device wlan1 left promiscuous mode
[   39.281746] br-lan: port 2(wlan1) entered disabled state
[   39.515929] eth1: link up (1000Mbps/Full duplex)
[   39.587558] eth1: link down
[   46.288266] br-lan: port 1(eth1.0) entered blocking state
[   46.293914] br-lan: port 1(eth1.0) entered disabled state
[   46.299838] device eth1.0 entered promiscuous mode
[   46.304827] device eth1 entered promiscuous mode
[   47.925910] eth1: link up (1000Mbps/Full duplex)
[   47.973456] br-lan: port 1(eth1.0) entered blocking state
[   47.979050] br-lan: port 1(eth1.0) entered forwarding state
[   49.026843] br-lan: port 2(wlan1) entered blocking state
[   49.032446] br-lan: port 2(wlan1) entered disabled state
[   49.038351] device wlan1 entered promiscuous mode
[   49.181070] br-lan: port 2(wlan1) entered blocking state
[   49.186625] br-lan: port 2(wlan1) entered forwarding state
[   51.471892] br-lan: port 3(wlan0) entered blocking state
[   51.477578] br-lan: port 3(wlan0) entered disabled state
[   51.483520] device wlan0 entered promiscuous mode
[   51.870289] br-lan: port 3(wlan0) entered blocking state
[   51.875861] br-lan: port 3(wlan0) entered forwarding state
[   71.825657] random: crng init done
[  160.144750] eth1: link down
[  160.150782] br-lan: port 1(eth1.0) entered disabled state
[  162.695848] eth1: link up (1000Mbps/Full duplex)
[  162.703775] br-lan: port 1(eth1.0) entered blocking state
[  162.709369] br-lan: port 1(eth1.0) entered forwarding state
[  670.654802] eth1: link down
[  670.662109] br-lan: port 1(eth1.0) entered disabled state
[  672.185826] eth1: link up (1000Mbps/Full duplex)
[  672.195361] br-lan: port 1(eth1.0) entered blocking state
[  672.200985] br-lan: port 1(eth1.0) entered forwarding state
[  687.994720] eth1: link down
[  688.000723] br-lan: port 1(eth1.0) entered disabled state
[  696.155822] eth1: link up (1000Mbps/Full duplex)
[  696.165088] br-lan: port 1(eth1.0) entered blocking state
[  696.170686] br-lan: port 1(eth1.0) entered forwarding state
[  708.394707] eth1: link down
[  708.400882] br-lan: port 1(eth1.0) entered disabled state
[  710.435782] eth1: link up (1000Mbps/Full duplex)
[  710.443724] br-lan: port 1(eth1.0) entered blocking state
[  710.449338] br-lan: port 1(eth1.0) entered forwarding state
root@NOCALL:~#

 

AE6XE
AE6XE's picture
This is the line of

This is the line of significance:
[    6.815978] m25p80 spi0.0: unrecognized JEDEC id bytes: ef, 70, 18

It indeed does not recognize the flash.   On my device after successful sysupgrade it shows:
[    0.871504] m25p80 spi0.0: found w25q128, expected m25p80
[    0.888111] m25p80 spi0.0: w25q128 (16384 Kbytes)

It's getting late, so will have to wait until tomorrow.  I'll track down:
1) the JEDEC id of this chip on my device to compare (different chipset somehow?)
2) boot the latest build # .elf on my device to see the behavior and compare (.elf problem of some sort?)

A local ham brought over 5 x hAP ac lite devices, new still in the boxes, this past Sunday.   I used the nightly build with success on all 5, so very odd we are seeing this.

Joe AE6XE

 

DL4FLY
DL4FLY's picture
This was the dmesg output

This was the dmesg output before running sysupgrade.
After sysupgrade I have the original RouterOS and this does not know the dmesg command.
The router was brand new out of the box.

Maybe this helps:
https://forum.openwrt.org/t/solved-unable-to-install-lede-on-rb952ui-5ac2nd/16816
"
... All newer MT boards use Winbods JV revision of NOR which has new JEDEC ID..."
OpenWRT has a patch for this.

Timm DL4FLY

AE6XE
AE6XE's picture
That's it.  I'll add the

That's it.  I'll add the patch, hopefully in the nightly build when you get up in the morning.

Joe AE6XE

DL4FLY
DL4FLY's picture
Success, the patch works

Thanks Joe, now it recognize the flash:

[    6.826612] m25p80 spi0.0: found w25q128jv, expected m25p80
[    6.841552] m25p80 spi0.0: w25q128jv (16384 Kbytes)
[    6.887600] Creating 6 MTD partitions on "spi0.0":
[    6.892573] 0x000000000000-0x00000000e000 : "routerboot"
[    6.920420] 0x00000000e000-0x00000000f000 : "hard_config"
[    6.948284] 0x00000000f000-0x000000010000 : "bios"
[    6.975456] 0x000000010000-0x00000001f000 : "routerboot2"
[    7.003257] 0x00000001f000-0x000000020000 : "soft_config"
[    7.031131] 0x000000020000-0x000001000000 : "firmware"

It seems to be critical how the files are named.
This procedure worked for me (user: dl4fly)

Set IP-Address to 192.168.1.10
dnsmasq -i eth5 --dhcp-range=192.168.1.100,192.168.1.200 --dhcp-boot=rb.elf --enable-tftp --tftp-root=/home/dl4fly/Downloads/ -d -u dl4fly -p0 -K --log-dhcp --bootp-dynamic
scp -P 2222 /home/dl4fly/Downloads/aredn-264-edfb837-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin root@192.168.1.1:/tmp/

telnet 192.168.1.1
root@NOCALL:~# sysupgrade -n /tmp/aredn-264-edfb837-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin

Below are the support files after booting the new elf (before flash) and the support file after running sysupgrade. Maybe this helps somebody...

Timm

KI6MLU
KI6MLU's picture
Bad Gateway. The process did not produce any response

Joe/Timm,

(reference posts #14-22 in this discussion thread)
I also have the same problem with "Bad Gateway. The process did not produce any response". However, since I'm not Linux literate, I have been using the Windows procedure.

1. I used PXESRV to install the aredn-746-f6e5832-mikrotik-vmlinux-initramfs.elf file successfully
2. When I use the GUI to upload aredn-746-f6e5832-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin I get the "Bad Gateway" message.

I've compare my dmesg output to Timm's dmesg output and they are the same until

Timm's dmesg after successful sysupgrade:
[ 13.890664] random: jshn: uninitialized urandom read (4 bytes read)
[ 24.485983] eth1: link up (1000Mbps/Full duplex)
[ 24.851019] ath10k_pci 0000:00:00.0: DFS region 0x0 not supported, will trigger radar for every pulse
[ 33.153633] wlan1: Trigger new scan to find an IBSS to join
[ 35.844877] eth1: link down
[ 37.153518] wlan1: Trigger new scan to find an IBSS to join
[ 37.193463] wlan1: Creating new IBSS network, BSSID 46:ff:bf:8a:8c:b8
[ 41.985861] eth1: link up (1000Mbps/Full duplex)
[ 94.100020] random: crng init done

My dmesg after the unsuccessful upgrade attempt:
[ 16.768835] urandom_read: 5 callbacks suppressed
[ 16.768843] random: jshn: uninitialized urandom read (4 bytes read)
[ 26.672139] br-lan: port 1(eth1.0) entered blocking state
[ 26.677799] br-lan: port 1(eth1.0) entered disabled state
[ 26.683702] device eth1.0 entered promiscuous mode
[ 26.688704] device eth1 entered promiscuous mode
[ 28.920332] eth0: link up (100Mbps/Full duplex)
[ 29.810363] br-lan: port 2(wlan1) entered blocking state
[ 29.815860] br-lan: port 2(wlan1) entered disabled state
[ 29.821758] device wlan1 entered promiscuous mode
[ 29.826684] br-lan: port 2(wlan1) entered blocking state
[ 29.832213] br-lan: port 2(wlan1) entered forwarding state
[ 31.972482] br-lan: port 2(wlan1) entered disabled state
[ 31.984796] br-lan: port 3(wlan0) entered blocking state
[ 31.990381] br-lan: port 3(wlan0) entered disabled state
[ 31.996218] device wlan0 entered promiscuous mode
[ 32.046351] br-lan: port 2(wlan1) entered blocking state
[ 32.051913] br-lan: port 2(wlan1) entered forwarding state
[ 32.424283] br-lan: port 3(wlan0) entered blocking state
[ 32.429851] br-lan: port 3(wlan0) entered forwarding state
[ 38.841351] device eth1.0 left promiscuous mode
[ 38.846101] device eth1 left promiscuous mode
[ 38.850766] br-lan: port 1(eth1.0) entered disabled state
[ 38.978236] br-lan: port 1(eth1.0) entered blocking state
[ 38.983850] br-lan: port 1(eth1.0) entered disabled state
[ 38.989828] device eth1.0 entered promiscuous mode
[ 38.994899] device eth1 entered promiscuous mode
[ 40.093299] br-lan: port 3(wlan0) entered disabled state
[ 40.098934] br-lan: port 2(wlan1) entered disabled state
[ 40.136513] device eth1.0 left promiscuous mode
[ 40.141286] device eth1 left promiscuous mode
[ 40.145900] br-lan: port 1(eth1.0) entered disabled state
[ 40.219784] device wlan0 left promiscuous mode
[ 40.224631] br-lan: port 3(wlan0) entered disabled state
[ 40.306841] device wlan1 left promiscuous mode
[ 40.311582] br-lan: port 2(wlan1) entered disabled state
[ 40.977938] eth0: link down
[ 46.941807] br-lan: port 1(eth1.0) entered blocking state
[ 46.947457] br-lan: port 1(eth1.0) entered disabled state
[ 46.953371] device eth1.0 entered promiscuous mode
[ 46.958365] device eth1 entered promiscuous mode
[ 49.795034] br-lan: port 2(wlan1) entered blocking state
[ 49.800692] br-lan: port 2(wlan1) entered disabled state
[ 49.806531] device wlan1 entered promiscuous mode
[ 51.859883] br-lan: port 3(wlan0) entered blocking state
[ 51.865388] br-lan: port 3(wlan0) entered disabled state
[ 51.871387] device wlan0 entered promiscuous mode
[ 51.896793] br-lan: port 2(wlan1) entered blocking state
[ 51.902311] br-lan: port 2(wlan1) entered forwarding state
[ 52.240542] br-lan: port 3(wlan0) entered blocking state
[ 52.246070] br-lan: port 3(wlan0) entered forwarding state
[ 53.679185] eth1: link up (1000Mbps/Full duplex)
[ 53.706071] br-lan: port 1(eth1.0) entered blocking state
[ 53.711730] br-lan: port 1(eth1.0) entered forwarding state
[ 71.354763] random: crng init done

Support File Attachments: 
AE6XE
AE6XE's picture
KI6MLU,   did you uncheck the

KI6MLU,   did you uncheck the "keep settings" box?     If so, I have seen some odd issues on this, but I usually always copy the .bin file to the node with scp and run the sysupgrade command manually, e.g. on the node:

sysupgrade -n /tmp/aredn-256-c2894f8-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin

Will have to reproduce in currently nightly build to use the UI from the .elf boot in RAM to further debug.

KD2EVR
KD2EVR's picture
Just wondering if the RB952Ui

Just wondering if the RB952Ui-5ac2nD-TC is the same product in a different package.  

AE6XE
AE6XE's picture
An OpenWRT user reported that

An OpenWRT user reported that it works fine:  https://forum.openwrt.org/t/mikrotik-rb952ui-5ac2nd-tc-some-questions/15077 .   Thus, it should work fine for AREDN firmware too.

Joe AE6XE

w6bi
w6bi's picture
Mine's working

Oddly enough, I got the AREDN nightly build installed in a shiny new Mikrotik hAP ac lite after a couple of tries.  I verified the WAN link works.
I'm able to turn the POE passthrough off but as expected,it doesn't last through a reboot. Will that be put into the UI in a nightly build soon, Joe?

Orv W6BI

AE6XE
AE6XE's picture
yes, the plan is to get that

yes, the plan is to get that into a nightly build.   Some discussion of doing a long over due release first.   

Joe AE6XE

w6bi
w6bi's picture
Mikrotik sysupgrade procedure?

I assume that the sysupgrade procedure for Mikrotik products is the same as others: Upload the appropriate .bin file through the AREDN Administration page.
But in the current nightly builds, there are two Mikrotik sysupgrade .bin files:

  • aredn-277-b432be9-mikrotik-nand-large-sysupgrade.bin
  • aredn-277-b432be9-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin   

Which is correct for a given Mikrotik product?  Or both??

Thanks.
Orv W6BI
 

AJ6GZ
Models

Yes, once it's up and running a node can be updated thru the Admin page.

BaseBox - nand-large-sysupgrade.bin

hAP lite - rb-nor-flash-16M-ac-sysupgrade.bin

Ian

K6AH
K6AH's picture
Nobody ever reads the documentation ;-)
w6bi
w6bi's picture
Better file names needed

When things get settled down, more descriptive file names would be helpful.  Just sayin...  :-D
Thanks.
 

AE6XE
AE6XE's picture
Be sure to check the Readme

Be sure to check the Readme on the nightly build, at top of the directory structure of downloads. It has the mapping table of devices to images.

The naming convention is actually very descriptive by the openwrt folks, but only to them. It's an image for NOR techonology 16MB flash chip with 802.11ac chip RouterBoard devices.

It's problematic to rename, will end up being a lengthy name with numerous mikrotik models in the name.

w6bi
w6bi's picture
Thanks.

I should have looked at the README - Thanks.

DL4FLY
DL4FLY's picture
installing tunnel server/client

How to install tunnel server/client on the mikrotik?

I upgraded to 264-edfb837 but still no success. Router has internet access but gives error while triggering install via GUI.
Router performed well yesterday during Baden-Marathon, providing satellite internet and raspbx service for the authorities.

73 Timm

K5DLQ
K5DLQ's picture
Build 264 is no longer

Build 264 is no longer current.  It's now 283.   I would recommend trying 3.18.9.0RC1 at this point (or, just wait for the general availability release of 3.18.9.0)
 

AE6XE
AE6XE's picture
tunnel and other package

tunnel and other package installs only work for a nightly build until the next build occurs.   The install packages have signatures.   Best Practice:  when upgrading the firmware, always do the tunnel install right away at the same time.

DL4FLY
DL4FLY's picture
3.18.9 worked for me, but

3.18.9 worked for me, but first i had to upgrade to 283 nightly, then to 3.18.9 RC1.
When directly upgraded from 264, OLSR was not workink anymore.

Timm

KG4IKT
New hAP no joy.

Hi everybody,
I have gone through the instructions several times.
I have the correct ethernet name.
IP is 192.168.1.10, 255.255.255.0
All wireless is off.
Plugged through a Netgear switch.
Cable is in the Internet port.
I have tried different cables.
I execute:
 sudo dnsmasq -i enx70886b8370c0 --dhcp-range=192.168.1.100,192.168.1.200 --dhcp-boot=rb.elf --enable-tftp --tftp-root=/tftp/ -d -u gunthor -p0 -K --log-dhcp --bootp-dynamic

I hold reset and insert power, and hold the reset.
I never see any response in the terminal from the dnsmasq command.
I get plenty of requests in WireShark.
134    120.592427498    0.0.0.0    255.255.255.255    BOOTP    342    Boot Request from cc:2d:e0:21:94:f6 (cc:2d:e0:21:94:f6)

any thoughts?
Jeff

 

AE6XE
AE6XE's picture
Our you running this linux

Are you running this linux flavor in a container or VM on top of another OS?  The interface of "enx70886b8370c0" suggests you have a virtual interface.  If so, the native OS or physical network card my not be passing this traffic though to the linux VM to see.

KG4IKT
linux Mint, It is not a vm. 

linux Mint, It is not a vm.
It is a USB to Eth adapter.
 

AJ6GZ
port 53

Are you getting any errors from the dnsmasq command as it runs? On my Mint installs I've had to disable the systemd-resolved process as it is bound to port 53 out of the box.

sudo service systemd-resolved stop

Ian

KG4IKT
no errors.

no errors.
i tried sudo service systemd-resolved stop  but it didn't seem to help.

thanks
jeff

AE6XE
AE6XE's picture
Try turning off the firewall

Try turning off the firewall -- "ufw disable", then do the proceedure.

KG4IKT
thanks, that got me farther,

thanks, that got me farther,
here's where it's at now.

gunthor@chupacabra ~ $ sudo dnsmasq -i enx70886b8370c0 --dhcp-range=192.168.1.100,192.168.1.200 --dhcp-boot=rb.elf --enable-tftp --tftp-root=/tftp/ -d -u gunthor -p0 -K --log-dhcp --bootp-dynamic
dnsmasq: started, version 2.75 DNS disabled
dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
dnsmasq-dhcp: DHCP, IP range 192.168.1.100 -- 192.168.1.200, lease time 1h
dnsmasq-tftp: TFTP root is /tftp/
dnsmasq-dhcp: 1336908448 available DHCP range: 192.168.1.100 -- 192.168.1.200
dnsmasq-dhcp: 1336908448 vendor class: Mips_boot
dnsmasq-dhcp: 1336908448 tags: bootp, enx70886b8370c0
dnsmasq-dhcp: 1336908448 BOOTP(enx70886b8370c0) 192.168.1.169 cc:2d:e0:21:94:f6
dnsmasq-dhcp: 1336908448 bootfile name: rb.elf
dnsmasq-dhcp: 1336908448 next server: 192.168.1.10
dnsmasq-dhcp: 1336908448 sent size:  4 option:  1 netmask  255.255.252.0
dnsmasq-dhcp: 1336908448 sent size:  4 option: 28 broadcast  192.168.3.255
dnsmasq-dhcp: 1336908448 sent size:  4 option:  3 router  192.168.1.10
dnsmasq-tftp: error 0 error received from 192.168.1.169
dnsmasq-tftp: failed sending /tftp/rb.elf to 192.168.1.169

Wireshark shows a lot of packets where the MikroTic is sending these errors.
192.168.1.169   192.168e.1.10   TFTP     64  Acknowledgement, Block:  110  [ETHERNET FRAME CHECK SEQUENCE INCORRECT]
 

AE6XE
AE6XE's picture
If not already, try swapping

If not already, try swapping out the cat5 cables and dumb switch ports, etc.    The USB network adaptor works otherwise?  Looks like basic network functions below the tftp layer are having trouble.

DL4FLY
DL4FLY's picture
Today Mikrotik failed...

Today the Mikrotik router failed... the one with the new flash...
No DHCP any more, no connection, no bootup. It gets stuck after blinking with the usr led twice.
It happened half an hour after upgrading from 3.18.9 RC1 to 3.18.9 over internet
I had to reflash the unit, now it is working again. (Tunnel server + MeshChat)

Remark: The refresh time of the web interface should be a few seconds longer during flashing and reboot. It runs into a timeout because the Mikrotik is ready a few seconds after refresh.
 

DL4FLY
DL4FLY's picture
Mikrotik no connection on

Mikrotik no connection on 5MHz bandwidt
Today I got a request from a fellow ham testing AREDN. He tried to pair several 2.4GHz Locos with a flashed Mikrotik. They don't see each other.
I tried this configuration myself, same result. I have 3 Mikrotiks talking to each other on (-2)/5MHz and two Ubiquitis (Loco and AirRouter) that see each other. The Mikrotiks don't see the Ubiquitis and vice versa.
The Mikrotiks are running 385-9a47ff8, the Loco and AirRouter 3.18.9 stable

Everything works fine using 10MHz.

Edit: For germany it's common to use (-4) or (-2) with 5MHz.

73 Timm

K5DLQ
K5DLQ's picture
Weird.  working here.   no

Weird.  working here.   no dtd, only RF.

Image Attachments: 
KC0EUW
Working perfectly

I just wanted to thank Joe and the entire team for this mikrotik firmware version.  It's exactly what I needed to consolidate three devices into a single unit.  Awesome.  Many thanks.

AE6XE
AE6XE's picture
glad all is working well.   I

glad all is working well.   I have the 5GHz mesh access point config settings all worked out and running at my QTH.   I'm getting closer to submitting into the nightly build and out for everyone to use.

Joe AE6XE

Pages

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer