You are here

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

130 posts / 0 new
Last post
K5DLQ
K5DLQ's picture
<thumbs_up>  

<thumbs_up>
 

w6bi
w6bi's picture
Also

What Darryl said :-D

KD1HA
KD1HA's picture
Ditto!!

Ditto!!

I have one running without an issue and another arriving tomorrow!
Looking forward to the 5GHz AP! 
Thanks Joe and company!
Denis KD1HA

N5MXI
N5MXI's picture
Raspberry Pi installer

I heard rumors there may be a Raspberry Pi installer image for ​Mikrotik in the works. Any idea when we could expect this?

 

K6AH
K6AH's picture
Coming along

"LT", K6RUN, gave us a demo of his work on this a couple weeks ago.  It's going to be nice.  I've come to realize you just can't rush volunteer development. 

Andre, K6AH
 

AC0WN
AC0WN's picture
Awesome work !

You guys rock.  :)

KX5DX
SCP kicking my butt

Joe,
Could you further explain step #12 Copy up the .bin file.    typically this is done, "scp -P 2222  <the .bin file name>   root@192.168.1.1:/tmp/rb.bin

I copied the bin file to multiple locations on my laptop and tried sourcing from all of them and still getting "No such file or directory" output.

AC0WN
AC0WN's picture
Perhaps this will help

Steps 11 and 12 should be reversed.  First you log into your laptop in a directory that contains the file to be copied (I use /tftp).  Then you copy the file to the device.  With my setup I change that command line by removing the forward slash (/) from in front of tmp/rb.bin so it looks like this:  root@192.168.1.1:tmp/rb.bin

Once the file is copied you then telnet to the device.  When doing so I find that I am one directory above the root of the device so I do a:  cd /  to get to root.  Then I use this command:  sysupgrade -n tmp/rb.bin

73,
julie
ac0wn

AE6XE
AE6XE's picture
It is important to access the

It is important to access the node setup via http://192.168.1.1:8080  or via telnet in step 11 first and login.   If not, then scp command in step 12 won't succeed, necessary things for scp to work would not be initialized.  This is why telnet is used earlier than actually needed to do the sysupgrade command. 

It is usually a good idea to reference files with an absolute path to avoid ambiguity and risk of failing.  When there isn't a leading "/", then the pathname is relative from the current directory.    The default login directory is "/tmp".    the path "root@192.168.1.1:tmp/rb.bin"  translates to an absolute path of "/tmp/tmp/rb.bin" and since "/tmp/tmp" doesn't exist, you should be getting an error. 

AC0WN
AC0WN's picture
My bad, my apologies

Thank you, Joe for the great information!

So far I've been doing MikroTik devices with a raspberrypi and have been unable to use the scp command after telneting to the device.  I must have been doing something wrong as it appears I do have a "/tmp/tmp" path.  I've attached a ssh screenshot of the LHG5 I did yesterday.  Would you please tell me if I should go back and redo the six devices I have done so far?

Many thanks,
julie
ac0wn

Image Attachments: 
AE6XE
AE6XE's picture
As long as the sysupgrade

As long as the sysupgrade command doesn't tell you "can't find the .bin file...", then it is working.     Once it reboots and the firmware is in flash, then all is well.  Just continue on with setup for the first time.   If you've gotten through setup, saved, rebooted, and AREDN is still there, then all is well. 

AE6XE
AE6XE's picture
KX5DX,

KX5DX,

let's assume you coped down the current nightly build to a location on your laptop, and the filename is "aredn-438-a997ef9-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin".   Then, if your current directory is the same location, the "ls" command will show this .bin file, then the following command should work:   

"scp -P 2222 aredn-438-a997ef9-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin root@192.168.1.1:/tmp/rb.bin"    

KX5DX
So I started from scratch,

So I started from scratch, using the nightly build this time so I could basically copy/paste the command provided. Yet again I received the "no such file or directory". I was able to confirm the file was there by using ls as suggested. But then I realized that this entire time I was executing the scp command under the telnet session to the node(per instructions) and not pushing the file from laptop itself. Executed the scp command from a different terminal window and boom, it worked.
I used Linux Mint, so Im not sure if this applies across different linux distros.
Could you please add a note to Step # 12 to be executed from a new terminal?

AE6XE
AE6XE's picture
done, updated step #12.

done, updated step #12.

Joe AE6XE

KD1HA
KD1HA's picture
Stop at #11 and try this...

Stop at #11 and try this...we did two different units:

After logging into the telnet 192.168.1.1 and entering the user/password, I opened the browser in this case FireFox from the same laptop and connected using the localnode:8080 then directly to the setup root/password and direct to the administrative page. Important UNCHECK Keep Settings as it gets lost and will crash. Then browse to your favorite Nightly build or hAP firmware and Upload and wait for the load (about 3 min)...your done...Reboot! The rest is the same as any new firmware setup.

Now, I didn't try just logging into the localnode before the telnet step but that could eliminate another step!     

Denis KD1HA

AE6XE
AE6XE's picture
Yes, can skip the telnet step

Yes, can skip the telnet step too with this process using the admin UI upload (uncheck keep settings).   I'll update the process steps shortly...

Joe AE6XE

KD1HA
KD1HA's picture
Also...

Willis KB1JFG and I found security issues with the steps after the Telnet causing Ubuntu Linux machines, and may be others, to respond to the changes as an attack on the system and disconnect! So if that caused anyone to throw in the towel follow the new steps!

Give a hard job to a lazy man, he will find an easy way to do it!

Denis KD1HA  

AE6XE
AE6XE's picture
There may be something else

There may be something else going on, e.g. after typing sysupgrade command line, the device by design will disconnect your ssh and telnet sessions as it goes though the upgrade process.   It is cleaning up resources or RAM to ensure the job is successful.   I suspect most users will prefer the UI approach, and the instructions are updated accordingly.   However the command line options, for those that prefer command line over UI, still work.  This is the method in use to automate from a RasPi.

Joe AE6XE 

KX5DX
Before and after pictures

Network rack consolidation.

Image Attachments: 
K3MMB
NO Joy with install from RPI

Using the RPI following 11 steps from how to install Mikrotik node on hap ac lite 952Ui-5ac2nd-US.

downloaded elf and bin files to rpi tftp directory
configured RPI for 192.168.10 
confirmed with ifconfig (using root terminal session)
copied from forum the dsnmsg command line, changed port name and signon id
started dsnmasq, did reset on hap ac lite

watched log messages (see below)
pi@raspberrypi:~ $ sudo dnsmasq -i enxb827eb31e919 --dhcp-range=192.168.1.100,192.168.1.200 --dhcp-boot=rb.elf --enable-tftp --tftp-root=/tftp/ -d -u pi -p0 -K --log-dhcp --bootp-dynamic
dnsmasq: started, version 2.76 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: 5066965 available DHCP range: 192.168.1.100 -- 192.168.1.200
dnsmasq-dhcp: 5066965 client provides name: MikroTik
dnsmasq-dhcp: 5066965 DHCPDISCOVER(enxb827eb31e919) cc:2d:e0:c1:de:ef 
dnsmasq-dhcp: 5066965 tags: enxb827eb31e919
dnsmasq-dhcp: 5066965 DHCPOFFER(enxb827eb31e919) 192.168.1.150 cc:2d:e0:c1:de:ef 
dnsmasq-dhcp: 5066965 requested options: 1:netmask, 121:classless-static-route, 3:router, 
dnsmasq-dhcp: 5066965 requested options: 33:static-route, 6:dns-server, 42:ntp-server, 
dnsmasq-dhcp: 5066965 requested options: 138, 43:vendor-encap
dnsmasq-dhcp: 5066965 bootfile name: rb.elf
dnsmasq-dhcp: 5066965 next server: 192.168.1.10
dnsmasq-dhcp: 5066965 broadcast response
dnsmasq-dhcp: 5066965 sent size:  1 option: 53 message-type  2
dnsmasq-dhcp: 5066965 sent size:  4 option: 54 server-identifier  192.168.1.10
dnsmasq-dhcp: 5066965 sent size:  4 option: 51 lease-time  1h
dnsmasq-dhcp: 5066965 sent size:  4 option: 58 T1  30m
dnsmasq-dhcp: 5066965 sent size:  4 option: 59 T2  52m30s
dnsmasq-dhcp: 5066965 sent size:  4 option:  1 netmask  255.255.255.0
dnsmasq-dhcp: 5066965 sent size:  4 option: 28 broadcast  192.168.1.255
dnsmasq-dhcp: 5066965 sent size:  4 option:  3 router  192.168.1.10
dnsmasq-dhcp: 5066965 available DHCP range: 192.168.1.100 -- 192.168.1.200
dnsmasq-dhcp: 5066965 client provides name: MikroTik
dnsmasq-dhcp: 5066965 DHCPREQUEST(enxb827eb31e919) 192.168.1.150 cc:2d:e0:c1:de:ef 
dnsmasq-dhcp: 5066965 tags: enxb827eb31e919
dnsmasq-dhcp: 5066965 DHCPACK(enxb827eb31e919) 192.168.1.150 cc:2d:e0:c1:de:ef MikroTik
dnsmasq-dhcp: 5066965 requested options: 1:netmask, 121:classless-static-route, 3:router, 
dnsmasq-dhcp: 5066965 requested options: 33:static-route, 6:dns-server, 42:ntp-server, 
dnsmasq-dhcp: 5066965 requested options: 138, 43:vendor-encap
dnsmasq-dhcp: 5066965 bootfile name: rb.elf
dnsmasq-dhcp: 5066965 next server: 192.168.1.10
dnsmasq-dhcp: 5066965 broadcast response
dnsmasq-dhcp: 5066965 sent size:  1 option: 53 message-type  5
dnsmasq-dhcp: 5066965 sent size:  4 option: 54 server-identifier  192.168.1.10
dnsmasq-dhcp: 5066965 sent size:  4 option: 51 lease-time  1h
dnsmasq-dhcp: 5066965 sent size:  4 option: 58 T1  30m
dnsmasq-dhcp: 5066965 sent size:  4 option: 59 T2  52m30s
dnsmasq-dhcp: 5066965 sent size:  4 option:  1 netmask  255.255.255.0
dnsmasq-dhcp: 5066965 sent size:  4 option: 28 broadcast  192.168.1.255
dnsmasq-dhcp: 5066965 sent size:  4 option:  3 router  192.168.1.10
^C
messages stop with last line above, waited for 10-15 minutes never saw the router change or reboot
used control c to end session

I can repeat this and it always just stops..... 
tried to pick up at step 8 of how-to with No Joy.

what am I not seeing?

regards
Mike


 

KD1HA
KD1HA's picture
Had the same problem. Hold

Had the same problem. Hold the reset button longer until you see the feedback then let go. You are most likely getting the above after letting go of the reset just after the restart.

Denis KD1HA

K3MMB
after 6 hours, and still no joy

I did finally get a failure to load rb.elf file ....

continued to try and it simply will not load the rb.elf file

maybe I will try tomorrow after the dew list is complete.

Thanks Denis for the pointer
regards
mike

KD1HA
KD1HA's picture
Try:

Did you try i- eno1 in place of i enxb827eb31e919. i did not see eno1 in my ifconfig. I tried different variations but it worked only when i used this. I am not a Linux user and I'm more like a backyard mechanic, learning, try it and hope it works! I don't think it matters but I am using the international version.
Good luck!
Denis

K3MMB
Thanks - todays fun and games ---- rb sent

Denis
I started over this morning, did nothing different go rb.elf sent. 

System rebooted
attached laptop but can not connect 192.168.1.1:8080 
can ping 192.168.1.1 and localnode.local.mesh
on hap pwr, usr leds are green ... port five led is red
used putty ssh to hap
login worked 
in the banner got ----   465-f062021, r7258-5eb055306f

so I think something loaded but not sure what ... 

should not be this hard for us backyard guys

regards
mike


 

AE6XE
AE6XE's picture
mike,  very odd that the

mike,  very odd that the browser does not connect but command line does.   Make sure your laptop wifi is turned off, so no confusion.   "http://192.168.1.1:8080" should work if the command line access is working.     We know now that the hAP is booted and running the rb.elf image, so leave it running for now.    The alternative step if the browser is not working is to use winscp to scp copy up the .bin image to /tmp on the mesh node.   Once  the .bin is copied up, from the command window on the mesh node, just type "sysupgrade -n <filename of .bin file>"   wait ~4 min. and should be in firstboot state.

scp/ssh protocol
"bin" file transfer
port on 2222 

There's a rasbPi image in the pipeline to automate this process.  It is a lot more complex than the ubiquiti equipment.

Joe  AE6XE

 

KD1HA
KD1HA's picture
Try localnode:8080 and

Try localnode:8080 and remember to switch to DHCP. I could not get it to work using 192.168.1.1:8080 as well.

K3MMB
still messing with it ....

Joe, Denis

I can ping the ip addr and the localnode via cmd line.
I can sign on SSH/putty to 192.168.1.1 P 2222
For kicks I

downloaded the 471 bin file
copied it to tmp dir
did sysupgrade, system accepted and reboot
restart ip 
still no browser access, only ssh

below is the dmesg from this session


 

login as: root
root@192.168.1.1's 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!
-----------------------------------------------
  471-2d5beb2, r7258-5eb055306f
 ----------------------------------------------
root@NOCALL:~# dmesg
[    0.000000] Linux version 4.9.120 (aredn@76368ce68515) (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 803e3984, 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=0 HZ=325000000 mem=64M kmac=CC:2D:E0:C1:DE:EF board=952-hb board_rev=US ver=6.42.1 hw_opt=00294005 boot=1 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: 60564K/65536K available (3127K kernel code, 136K rwdata, 336K rodata, 168K init, 200K bss, 4972K 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.008864] 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.084800] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.095581] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.106784] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.114267] NET: Registered protocol family 16
[    0.122905] MIPS: machine is MikroTik RouterBOARD 952Ui-5ac2nD
[    0.133838] registering PCI controller with io_map_base unset
[    0.621979] Can't analyze schedule() prologue at 8036a638
[    0.637455] PCI host bridge to bus 0000:00
[    0.642172] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.649968] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.656296] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.663992] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.673014] pci 0000:00:00.0: [168c:0050] type 00 class 0x028000
[    0.673063] pci 0000:00:00.0: reg 0x10: [mem 0x10000000-0x101fffff 64bit]
[    0.673141] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.673211] pci 0000:00:00.0: supports D1
[    0.673220] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.673432] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.673460] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[    0.681769] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[    0.690002] pci 0000:00:00.0: using irq 40 for pin 1
[    0.696369] clocksource: Switched to clocksource MIPS
[    0.703156] NET: Registered protocol family 2
[    0.708894] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.716865] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.724085] TCP: Hash tables configured (established 1024 bind 1024)
[    0.731411] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.738083] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.745417] NET: Registered protocol family 1
[    0.750441] PCI: CLS 0 bytes, default 32
[    0.755719] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.769418] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.776032] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.795956] io scheduler noop registered
[    0.800462] io scheduler deadline registered (default)
[    0.806663] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.814245] console [ttyS0] disabled
[    0.838443] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.848237] console [ttyS0] enabled
[    0.855776] bootconsole [early0] disabled
[    0.868388] m25p80 spi0.0: found w25q128jv, expected m25p80
[    0.883912] m25p80 spi0.0: w25q128jv (16384 Kbytes)
[    0.889448] Creating 6 MTD partitions on "spi0.0":
[    0.894414] 0x000000000000-0x00000000e000 : "routerboot"
[    0.901797] 0x00000000e000-0x00000000f000 : "hard_config"
[    0.909334] 0x00000000f000-0x000000010000 : "bios"
[    0.916172] 0x000000010000-0x00000001f000 : "routerboot2"
[    0.923707] 0x00000001f000-0x000000020000 : "soft_config"
[    0.931266] 0x000000020000-0x000001000000 : "firmware"
[    0.938429] 2 minor-fw partitions found on MTD device firmware
[    0.944476] 0x000000020000-0x000000160000 : "kernel"
[    0.951239] 0x000000160000-0x000001000000 : "rootfs"
[    0.957982] mtd: device 7 (rootfs) set to be root filesystem
[    0.963864] 1 squashfs-split partitions found on MTD device rootfs
[    0.970308] 0x000000660000-0x000001000000 : "rootfs_data"
[    0.978943] libphy: Fixed MDIO Bus: probed
[    1.001528] libphy: ag71xx_mdio: probed
[    1.628950] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    1.639103] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.268902] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.322208] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.331703] NET: Registered protocol family 17
[    2.336427] 8021q: 802.1Q VLAN Support v1.8
[    2.350887] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    2.359166] Freeing unused kernel memory: 168K
[    2.363754] This architecture does not have kernel memory protection.
[    2.566380] random: fast init done
[    3.790903] init: Can't open /sys/block/zram0/disksize: No such file or directory
[    3.799483] init: Console is alive
[    3.803227] init: - watchdog -
[    3.826575] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.892129] usbcore: registered new interface driver usbfs
[    3.897931] usbcore: registered new interface driver hub
[    3.903496] usbcore: registered new device driver usb
[    3.913638] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.921123] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.930999] init: - preinit -
[    4.909764] random: procd: uninitialized urandom read (4 bytes read)
[    8.166595] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    8.201831] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.459310] procd: - early -
[    8.462388] procd: - watchdog -
[    9.050003] procd: - watchdog -
[    9.053521] procd: - ubus -
[    9.251150] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.319481] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.326544] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.333993] procd: - init -
[    9.706769] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.719559] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[    9.727894] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[    9.739828] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[    9.803254] xt_time: kernel timezone is -0000
[    9.955654] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.013134] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   10.292228] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   10.303340] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.471616] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   10.484167] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   10.494914] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.665882] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/firmware-6.bin failed with error -2
[   10.676989] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.781447] firmware ath10k!QCA9887!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   11.070705] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[   11.080291] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   11.094223] 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
[   11.141135] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/board-2.bin failed with error -2
[   11.151945] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.230086] firmware ath10k!QCA9887!hw1.0!board-2.bin: firmware_loading_store: map pages failed
[   11.239596] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[   12.290258] 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
[   12.428071] ath: EEPROM regdomain: 0x0
[   12.428080] ath: EEPROM indicates default country code should be used
[   12.428083] ath: doing EEPROM country->regdmn map search
[   12.428094] ath: country maps to regdmn code: 0x3a
[   12.428099] ath: Country alpha2 being used: US
[   12.428102] ath: Regpair used: 0x3a
[   12.488744] ath: EEPROM regdomain: 0x0
[   12.488753] ath: EEPROM indicates default country code should be used
[   12.488756] ath: doing EEPROM country->regdmn map search
[   12.488771] ath: country maps to regdmn code: 0x3a
[   12.488777] ath: Country alpha2 being used: US
[   12.488780] ath: Regpair used: 0x3a
[   12.499571] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   12.503433] ieee80211 phy1: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[   12.569914] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.946056] urandom_read: 5 callbacks suppressed
[   13.946064] random: jshn: uninitialized urandom read (4 bytes read)
[   24.343668] br-lan: port 1(eth1.0) entered blocking state
[   24.349322] br-lan: port 1(eth1.0) entered disabled state
[   24.355238] device eth1.0 entered promiscuous mode
[   24.360230] device eth1 entered promiscuous mode
[   25.979038] eth1: link up (1000Mbps/Full duplex)
[   26.036414] br-lan: port 1(eth1.0) entered blocking state
[   26.042003] br-lan: port 1(eth1.0) entered forwarding state
[   30.632665] br-lan: port 2(wlan0) entered blocking state
[   30.638232] br-lan: port 2(wlan0) entered disabled state
[   30.644047] device wlan0 entered promiscuous mode
[   30.649021] br-lan: port 2(wlan0) entered blocking state
[   30.654510] br-lan: port 2(wlan0) entered forwarding state
[   30.660711] br-lan: port 2(wlan0) entered disabled state
[   30.666331] br-lan: port 3(wlan1) entered blocking state
[   30.671863] br-lan: port 3(wlan1) entered disabled state
[   30.677683] device wlan1 entered promiscuous mode
[   30.732474] br-lan: port 3(wlan1) entered blocking state
[   30.738018] br-lan: port 3(wlan1) entered forwarding state
[   31.267029] br-lan: port 2(wlan0) entered blocking state
[   31.272562] br-lan: port 2(wlan0) entered forwarding state
[   34.336124] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   34.357961] jffs2_build_filesystem(): unlocking the mtd device...
[   34.369315] done.
[   34.371321] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   65.756863] done.
[   65.758898] jffs2: notice: (1581) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   66.529568] random: crng init done
[   71.047765] eth1: link down
[   71.052483] br-lan: port 1(eth1.0) entered disabled state
[   71.132340] device eth1.0 left promiscuous mode
[   71.137121] device eth1 left promiscuous mode
[   71.141745] br-lan: port 1(eth1.0) entered disabled state
[   71.246172] br-lan: port 1(eth1.0) entered blocking state
[   71.251828] br-lan: port 1(eth1.0) entered disabled state
[   71.257889] device eth1.0 entered promiscuous mode
[   71.262997] device eth1 entered promiscuous mode
[   72.314891] br-lan: port 3(wlan1) entered disabled state
[   72.320529] br-lan: port 2(wlan0) entered disabled state
[   72.380031] device eth1.0 left promiscuous mode
[   72.384905] device eth1 left promiscuous mode
[   72.389599] br-lan: port 1(eth1.0) entered disabled state
[   72.467238] device wlan0 left promiscuous mode
[   72.472058] br-lan: port 2(wlan0) entered disabled state
[   72.515702] device wlan1 left promiscuous mode
[   72.520462] br-lan: port 3(wlan1) entered disabled state
[   77.690334] br-lan: port 1(eth1.0) entered blocking state
[   77.695922] br-lan: port 1(eth1.0) entered disabled state
[   77.701893] device eth1.0 entered promiscuous mode
[   77.706878] device eth1 entered promiscuous mode
[   79.318894] eth1: link up (1000Mbps/Full duplex)
[   79.356468] br-lan: port 1(eth1.0) entered blocking state
[   79.362064] br-lan: port 1(eth1.0) entered forwarding state
[   80.033480] br-lan: port 2(wlan1) entered blocking state
[   80.039042] br-lan: port 2(wlan1) entered disabled state
[   80.044880] device wlan1 entered promiscuous mode
[   82.176072] br-lan: port 2(wlan1) entered blocking state
[   82.181637] br-lan: port 2(wlan1) entered forwarding state
[   82.200109] br-lan: port 3(wlan0) entered blocking state
[   82.205607] br-lan: port 3(wlan0) entered disabled state
[   82.222470] device wlan0 entered promiscuous mode
[   82.568177] br-lan: port 3(wlan0) entered blocking state
[   82.573717] br-lan: port 3(wlan0) entered forwarding state
[10915.307183] eth1: link down
[10915.335502] br-lan: port 1(eth1.0) entered disabled state
[10919.388184] eth1: link up (1000Mbps/Full duplex)
[10919.409663] br-lan: port 1(eth1.0) entered blocking state
[10919.415273] br-lan: port 1(eth1.0) entered forwarding state
[10982.117145] eth1: link down
[10982.141297] br-lan: port 1(eth1.0) entered disabled state
[10984.158201] eth1: link up (1000Mbps/Full duplex)
[10984.183125] br-lan: port 1(eth1.0) entered blocking state
[10984.188769] br-lan: port 1(eth1.0) entered forwarding state
root@NOCALL:~# ^C
root@NOCALL:~#


Beginning to think the hap does not like me

regards
KD1HA
KD1HA's picture
What happens when you try the

What happens when you try the  "sysupgrade -n <filename of .bin file>" ?

Denis

K3MMB
Seems to have worked, but

Denis,

looked Ed like it worked. Node rebooted, but no change in web access.

KD1HA
KD1HA's picture
Getting there...have you shut

Getting there...have you shut it down and completely and start the in the first boot state? Just to be sure shutdown the computer so it gets an address from node.

Denis

AE6XE
AE6XE's picture
The UI access is possibly

The UI access is possibly broken in this nightly build given other unrelated changes.    There is another issue submitted for this build that we are looking at.    Try clearing the browser cache.  The changes in last nigth's build may require the cache to be cleared, need to investigate further.

Joe

AE6XE
AE6XE's picture
You could copy /usr/sbin

You could copy /usr/sbin/uhttpd from another functioning node to this same location on the hAP, then "/etc/init.d/uhttpd restart"  to work around this issue for now.

Joe

w6bi
w6bi's picture
Restarting works

In my case, waiting several minutes after booting and restarting uhttpd worked.   In another try, a second reboot worked. Smells like a timing issue, maybe?

K3MMB
Copy worked

did the copy restart... system worked

regards

KD1HA
KD1HA's picture
hAP lite 952Ui-5ac2nD Portable Mesh

I would like to run the hAP lite 952Ui-5ac2nD as part of a portable mesh as described by Trevor K7FPV and replace the AirRouter HP. Is it possible to power the USB without causing any issues? I have noticed that it's on during the boot process. The USB is only used for power to the TP Link and the convenience of using only the POE to power the 3 devices. Is it planed for a future build or something that can be looked at?
Thank you,
Denis KD1HA  

AE6XE
AE6XE's picture
In the current nightly build

In the current nightly build there are Advanced Settings options to turn on/off both the POE and USB power pass though capabilities.

Image Attachments: 
KD1HA
KD1HA's picture
No power either way.

Hi Joe. I have build AREDN-477 and it is checked on, no power either way and I checked that before I posted. The POE works when checked on and off when not but the USB is dead. Save Settings was also done in both cases. I also ran the node with both wall wart and PoE.

KD1HA
KD1HA's picture
Just in case you need it...

I thought you may need this:

Support File Attachments: 
AE6XE
AE6XE's picture
I'll take a look.  There have

I'll take a look.  There have been others with reports of using the USB power to a RasPi.    I'll see if I can reproduce.

K5DLQ
K5DLQ's picture
I see the issue.   the /usr

I see the issue.   the /usr/local/bin/usb_passthrough script is missing it's +x bit.
will submit a fix shortly.
 

KD1HA
KD1HA's picture
It's working Build #485

Maybe you already know this and it is working but it does not hold the Set to Default after a reboot. The check is on and I then tap the Save Setting and then Set to Default or any combination of the above. It's not a big deal to turn it on after but I thought I would report my finding. I can still use it!

Thank you,
Denis

K5DLQ
K5DLQ's picture
set to default just shows the

set to default just shows the default value.  You still must SAVE Setting in order to persist it.

KD1HA
KD1HA's picture
Build #485

Support Data:

Support File Attachments: 
s57ut
Hi,

Hi,

I'm trying to install aredn image on device that by all means looks like correct hAP lite 952Ui-5ac2nD.

I managed to upload the .elf file from my Mac computer and it boots. Well, my first issue was that there is red led on port 5, but I found out that this means active poe. What is actually different than in youtube video for windows install is that I get IP on WAN port not LAN.

The problem is that I can't upload the image from the nightly build. I get Bad Getway screen after a short time. I also tried sysupgrade via telnet, but I get the following error:

root@NOCALL:~# sysupgrade -n tmp/rb.bin 
Device unknown not supported by this image
Supported devices: rb-750-r2 rb-750up-r2 rb-750p-pbr2 rb-911-2hn rb-911-5hn rb-941-2nd rb-951ui-2nd 
rb-952ui-5ac2nd rb-962uigs-5hact2hnt rb-lhg-5nd rb-lhg-5hpnd-xl rb-ldf-5nd rb-map-2nd 
rb-mapl-2nd rb-wap-2nd rb-wapg-5hact2hnd
Image check 'fwtool_check_image' failed.
root@NOCALL:~# 


I think that device is ok and supported, and it should work, but I'm dealing with this just for last two days, so it is possible that I have overlooked something obvious.

I hope someone can point in the right direction.

Uroš, S57UT

AE6XE
AE6XE's picture
Uroš,   Switch and use the

Uroš,   Switch and use the image:

from:  aredn-648-ef24633-mikrotik-rb-nor-flash-16M-sysupgrade.bin
to:      aredn-648-ef24633-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin

Joe AE6XE
 

s57ut
Hi Joe,

Hi Joe,

I forgot to mention. I did use image that has ac in name aredn-648-ef24633-mikrotik-rb-nor-flash-16M-ac-sysupgrade.bin. 

73, Uroš S57UT

AE6XE
AE6XE's picture
Got it.  OK, after booting

Got it.  OK, after booting the .elf image into RAM, access the AREDN UI and click on the download support data link at the bottom of the administration page.  attach this file back here.  This should provide sufficient information to see what is going on.    I glossed over, the model # is in the Supported device list, but for some reason this device doesn't report it has the expected model number.   This support data will show us what model # it is reporting.

Joe AE6XE

s57ut
Support data is uploaded. And

Support data is uploaded. And also when I try to upload .bin image i get this error:
 

This filename is NOT appropriate for this device!
This device expects a file such as: aredn-648-ef24633-mikrotik-unknown-sysupgrade.bin 
​Click OK to continue if you are CERTAIN that the file is correct.


Uroš S57UT

Support File Attachments: 
AE6XE
AE6XE's picture
Looks like Mikrotik has

Looks like Mikrotik has changed the model #, so matching the strings fails, and device is not recognized.   

Old:    "MikroTik RouterBOARD 952Ui-5ac2nD"
New:  "MikroTik RouterBOARD RB952Ui-5ac2nD"

this is a trivial code change, but need to dig around and find the various locations, for both Openwrt upstream code and AREDN code.   I should have time later today California timezone, and will post a link where you can download and help test with a new image.  

Joe AE6XE

s57ut
It is ok with you could you

It is ok with you could you tell me what should be output of /usr/local/bin/get_model, then I can fake it and enable flasing. 

I'm digging around code (interesting stuff :)). Currently I cant find where perl hardware_info() function is located.

Uroš S57UT

Pages

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer