You are here

RBLHG-5HPnD-XL-US Not updating .bin file

30 posts / 0 new
Last post
KE0BCQ
RBLHG-5HPnD-XL-US Not updating .bin file

Hey all,

Not sure if this is the correct forum location about this issue but here it goes. I am currently working on getting two MikroTik RBLHG-5HPnD-XL-US up and running. I am using the install instructions from https://www.arednmesh.org/content/installation-instructions-mikrotik-devices via Linux and I get to step 11 uploading the .bin file and rebooting. From what I can tell it does not write the file to the flash it just reboots the hardware. I know this because it changes the IP from 192.168.1.1 back to 192.168.88.1 after the reboot. It does say it is unsupported hardware when i do access http://192.168.1.1:8080/cgi-bin/admin. I checked the hardware is saying it is RBLHG-5HPnD-XL-US for the ID on the back and is listed on the supported hardware page https://www.arednmesh.org/content/supported-platform-matrix. Any ideas on what I could be doing wrong or any tips?
 

node: NOCALL-74-110-225
model: MikroTik RouterBOARD RBLHG-5HPnD
 
!!!! UNSUPPORTED DEVICE !!!!
boardid: MikroTik RouterBOARD RBLHG-5HPnD
Device has not been tested. Please file a ticket with your experiences.
 
br-lan 48:8F:5A:4B:6E:E1
eth0   48:8F:5A:4B:6E:E1
eth0.1 48:8F:5A:4B:6E:E1
eth0.2 48:8F:5A:4B:6E:E1
tunl0  00-00-00-00-00-00-00-44-00-00-00-00-00-00-00-00
wlan0  48:8F:5A:4A:6E:E1
 
/proc/cpuinfo
system type : Atheros AR9344 rev 3
machine : MikroTik RouterBOARD RBLHG-5HPnD
processor : 0
cpu model : MIPS 74Kc V4.12
BogoMIPS : 299.82
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp dsp2
Options implemented : tlb 4kex 4k_cache prefetch mcheck ejtag llsc dc_aliases perf_cntr_intr_bit nan_legacy nan_2008 perf
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
 
 
nvram
hsmmmesh.settings=settings
hsmmmesh.settings.wifimac='48:8f:5a:4a:6e:e1'
hsmmmesh.settings.mac2='74.110.225'
hsmmmesh.settings.node='NOCALL-74-110-225'
hsmmmesh.settings.dtdmac='74.110.224'

Thanks,
Adam
KE0BCQ Iowa
AE6XE
AE6XE's picture
KE0BCQ,   Mikrotik keeps
KE0BCQ,   Mikrotik keeps changing the string used to recognize the specific model.  It appears this has occurred, again:

before:  "MikroTik RouterBOARD LHG 5HPnD"
after:     "MikroTik RouterBOARD RBLHG-5HPnD"

AREDN knows about the following LHG 5GHz models to date:

MikroTik RouterBOARD LHG 5HPnD-XL
MikroTik RouterBOARD LHG 5HPnD
MikroTik RouterBOARD RBLHG-5nD
MikroTik RouterBOARD LHG 5nD

You would be able to install or flash the firmware with the manual command "sysupgrade -F"   using the force option.    However, after flashing AREDN, there will be some issues in basic setup.  AREDN firmware also needs an update.   

 I can prepare an image to test and we'll get this in the nightly build -- will post a link to download test images shortly.   

The label on the device has "XL", but  it appears the model string no longer has "XL"?   The error reported, not recognizing the device, ""boardid: MikroTik RouterBOARD RBLHG-5HPnD", which does not have XL in it.   This is interesting as the firmware may not be able to detect or know that the antenna gain is much higher for XL--identical mother board used in 2 devices with different gains.   Not an issue for AREDN, but an issue for using under part 15 unlicensed wifi -- the device with the higher antenna gain would somehow need to be restricted as the max power is lower, to stay within part 15 unlicensed compliance. 

Joe AE6XE
KE0BCQ
Hey AE6XE,
Hey AE6XE,

I had a feeling they changed the name from reading an older post by you with someone having a similar issue. I would be interested in getting a test image and test it out from the nightly build. I also downloaded the support data but not sure what would be useful to upload. If you need anything from me just let me know. Thanks for all the help! 

-Adam KE0BCQ
AE6XE
AE6XE's picture
Test these images.  Be sure
Test these images.  Be sure to use the .elf provided here:

https://drive.google.com/drive/folders/1PhjMYoOBv1t-_OFGC6HS3BEdDR77NWqE...

Joe AE6XE
KE0BCQ
Hey AE6XE,
Hey AE6XE,

Thanks for the test images. I downloaded the files and changed them out. I am getting stuck now at loading the .elf image. It is showing the file was sent but I am unable to access 192.168.1.1:8080/cgi-bin/admin. I checked my cables and tested it out on my other AP and still the same issue, i am unable to ping or port scan 192.168.1.1.

Thanks,
Adam KE0BCQ
KE0BCQ
Hey Joe AE6XE,
Hey Joe AE6XE,

So I been doing some more testing. I was able to boot into the .elf without any issues or warnings. But I think found a bigger issue I am unable to flash the .bin file hardware. I tried flashing both of my APs with the new firmware but no luck I checked to make sure i was doing everything correctly acording to the flash directions. Any ideas on what I could try next.

Thanks,
Adam KE0BCQ
KO8V
I too have one of these new

I too have one of these new nodes that won't work.  It's an LHG HP5 XL.  I purchased it using the amazon link on the supported hardware page. 

I tried the images at this link.  I can get the ELF file to load via PXE and it no longer complains about unsupported hardware.  I tried loading the BIN file via the browser, but that did not work.  So I tried the sysupdate command via an SSH session.  With out the force option, it would not load - again complaining that the device is unsupported.  After using the force option, the node would not boot up completely.  Just like with the normal nightly build.  

This is what is reported by the browser: MikroTik RouterBOARD RBLHG-5HPnD. 

I also popped the board out of the node.  The sticker on it has tthe ID: RBLHG-5HPnD.  That matches what the browser reported.

K6CCC
K6CCC's picture
Another LHG with Untested Hardware
KI6GRC - Jon has a new LHG radio that is getting the Untested Hardware error.  He has attempted the alpha code posted in post 6 of this thread with the same issue.  He has attempted to join this forum, but it is apparently awaiting approval.  So I am posting this for him.  He sent me a support file that I am uploading with this message.
 
Support File Attachments: 
AE6XE
AE6XE's picture
Sorry, I've not had time to
Sorry, I've not had time to look at this, but just now arrived back to QTH1.   I'll have time to investigate from Monday.    It appears the problem is with a firstboot script that creates /etc/board.json file.  It is not correctly setting up the model.id info.   If you compare this file on a working device, it may be a work around  to manually edit this file to enter the correct contents, until this is resolved.

Joe AE6XE
KI6GRC
KI6GRC's picture
Thanks, I'm Jon, the one
Thanks, I'm Jon, the one having the issues. Good to be here:)
K6CCC
K6CCC's picture
Welcome, Welcome, Welcome
Welcome back to QTH #1 Joe. And Jon, nice to see that you were able to get onto the forum...
 
KI6GRC
KI6GRC's picture
What's the best way to edit
What's the best way to edit the json file? I tried to telnet into the LHG using Putty on my WiIn 10 machine, but couldn't edit the file. Honestly my command line skills are little league at best but I do have a Mac and a machine running Ubuntu if that if a better format to play on;)
KO8V
I assume we are editing the
I assume we are editing the file after the PXE boot of the elf file and before we flash the bin image. I used ssh on port 2222 to login into the board.  What I could not figure out is the value I need for model.id field.  It says unknown when I open it.

i don't have a file to compare to since I don't know anyone with an XL version of the device.
KI6GRC
KI6GRC's picture
OK, That makes sense. I'm
OK, That makes sense. I'm more versed in SSH than telnet. 

I think the thing to do is change "Unknown" into the description that closest resembles yours. 

MikroTik RouterBOARD LHG 5HPnD-XL
MikroTik RouterBOARD LHG 5HPnD
MikroTik RouterBOARD RBLHG-5nD
MikroTik RouterBOARD LHG 5nD

Mine was showing up as... 
MikroTik RouterBOARD RBLHG-5HPnD
So I'm going to change "unknown" to
MikroTik RouterBOARD LHG 5HPnD
nc8q
nc8q's picture
change 'unknown' to

LHGs:
root@NC8Q-MVHS-PP:~# cat sysinfo/board_name
rb-lhg-5hpnd
root@NC8Q-MVHS-PP:~#
root@NC8Q-M5-Kett:~# cat sysinfo/board_name
rb-lhg-5hpnd-xl
root@NC8Q-M5-Kett:~#
root@NC8Q-M5-MVHS:~# cat sysinfo/board_name
rb-lhg-5hpnd-xl
root@NC8Q-M5-MVHS:~#
root@NC8Q-MVHS-BT:~# cat sysinfo/board_name
rb-lhg-5hpnd-xl
root@NC8Q-MVHS-BT:~#

newLHG:
root@NC8Q-newLHG-38:~# cat sysinfo/board_name
unknown
root@NC8Q-newLHG-38:~#

SXTs:
root@NC8Q-PP-MVHS:~# cat sysinfo/board_name
rb-lhg-5nd
root@NC8Q-PP-MVHS:~#
root@NC8Q-PP-Yankee:~# cat sysinfo/board_name
rb-lhg-5hpnd
root@NC8Q-PP-Yankee:~#  

It seems that the new LHGs and SXTs have 'RB' added to the boardid.
Unique model IDs:
MikroTik RouterBOARD LHG 5HPnD
MikroTik RouterBOARD LHG 5HPnD-XL
MikroTik RouterBOARD LHG 5nD
MikroTik RouterBOARD RBLHG-5HPnD
MikroTik RouterBOARD RBSXTsq5HPnD
MikroTik RouterBOARD SXT 5HPnD
MikroTik RouterBOARD SXTsq 5HPnD
MikroTik RouterBOARD SXTsq 5nD

AE6XE
AE6XE's picture
On an older hardware LHG XL,

On an older hardware LHG XL, the board.json file is created and looks like this:
 

        "model": {
                "id": "rb-lhg-5hpnd-xl",
                "name": "MikroTik RouterBOARD LHG 5HPnD-XL"
        },


The id is an internal openwrt designation.   The same id may be used by many different models, e.g. some of the SXT and LHG have the same  id.  This means the mother board is the same, but the different models may have different power settings, etc.

The problem we have with this new board, is the 'name' does not have "XL" in the string.   Thus, we can no longer tell if it is the small gain or larger gain antenna model.  Probably not an issue as both models are "HP" or high power and all the settings are the same anyway.   the id should be "rbi-lhg-5hpnd" and the code in my test images says to make it this string. but alas something isn't right and still coming up with unknown.    I may need someone with one of these devices to run some test code to see what is amiss. 

Our necessary end state:
 

        "model": {
                "id": "rb-lhg-5hpnd",
                "name": "MikroTik RouterBOARD RBLHG-5HPnD"
        },
 

Joe

K6CCC
K6CCC's picture
Fortunately for our purposes,
Fortunately for our purposes, the antenna gain does not matter - unlike some other services where ERP is the regulated power level, not RF output.  Obviously antenna gain is important, but we don't need to back off RF level to meet an ERP requirement.
 
nc8q
nc8q's picture
someone with one of these devices to run some test code

Hi, Joe:

I volunteer.
I am willing to set up a tunnel to you and share the root password of a new LHG-HP5nD-XL-INTL.
I have 2 newLHG-HP5nD with the XL omitted from the 'boardid'.

Chuck

AE6XE
AE6XE's picture
Thanks Chuck.  I may be able
Thanks Chuck.  I may be able to resolve without direct access.  I'm looking at it now and for some reason the intended code is not getting into the test images.   I may have new images shortly to give another test.

Joe AE6XE
KI6GRC
KI6GRC's picture
It would make sense if the
It would make sense if the 5HPnD and 5HPnD-XL have the same radios with the XL simply having the larger dish to give it more gain. 

I'm going to try and play around with the json file later tonight.
AE6XE
AE6XE's picture
Try the updated images, just
Try the updated images, just posted a couple hours ago at same link, all seems to be working now.    images have same name as before, so caution to not mix them up.

Joe AE6XE
KI6GRC
KI6GRC's picture
The ones you posted around
The ones you posted around noon? I'll try them out when I get home. I'll delete the old ones off my computer first.

Just to double check, mine is a 5HP, non XL version. 
AE6XE
AE6XE's picture
test images are updated.  I
test images are updated.  I fixed an issue and the code is in the images now.  Please try on the LHG 5HPnD XL device.  Best to do clean start with the .elf boot, then install the .bin to flash, to avoid any carry over.

https://drive.google.com/drive/folders/1PhjMYoOBv1t-_OFGC6HS3BEdDR77NWqE...

Joe AE6XE
nc8q
nc8q's picture
identical file names>

Joe:
 Those have the same file names as #4.
https://www.arednmesh.org/comment/16021#comment-16021
Trying anyway. ;-)
Did not balk on the .bin upload. :-)

 

Image Attachments: 
AE6XE
AE6XE's picture
Everything looks good on the
Everything looks good on the basic setup page -- channel options, power selection?
nc8q
nc8q's picture
basic setup page -- channel options, power selection?Hi, Joe:
Hi, Joe:

Yes, Channel 131<>184, 20, 10, 5 MHz bandwidth, 1 to 28 dBm.
Lookin' good in the neighborhood.

Thanks,
Chuck
 
KI6GRC
KI6GRC's picture
I think its working...

I think its working...

KO8V
I'll give them a try in the
I'll give them a try in the morning.  

Joe
KO8V
Progress

I used the new files and the load went smoothly.  Good progress.

After I assigned the node a name/password and rebooted, the node pulled a DHCP address from my network (it gets 192.168.1.51 - I can see the lease in my home network router).  But I can't connect to it. It doesn't respond to a ping, ssh or web browser.   I probably messed up something since this is my very first AREDN node.  I'll redo the process this evening after work.  

But we do have progress, which is good news.

Joe

KO8V
I'm in
OK, I'm in.  The radio is doing WiFi scans correctly.  Now I just need to try to connect to our mesh system here in central Virginia.

Thanks for the work.

Joe, KO8V

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer