You are here

Mikrotik RBLHG-5nD - !!!! UNTESTED HARDWARE !!!!

20 posts / 0 new
Last post
KM6KDZ
KM6KDZ's picture
Mikrotik RBLHG-5nD - !!!! UNTESTED HARDWARE !!!!

Having trouble installing AREDN on a MikroTik RouterBOARD RBLHG-5nD running RouterOS v6.44.6.

Tried with both current and nightly builds. On Windows, using PXE Server, carefully following Ray KK6RAY's YouTube video. Have previously done two HAP 5s and hoped this process would be about the same. It's a little different, and maybe that's where I've gone wrong, or perhaps the hardware isn't supported?

See below and any suggestions or info would be appreciated.
Thank you, Chris KM6KDZ
  The progress goes:

  1. PXE server reports apparent success:
    2:13:42 PM DHCPc:discovering for another DHCPd on LAN
    2:13:42 PM ROOT=C:\Users\Chris\Dropbox\ham_radio\AREDN Mesh\TinyPXEServer\pxesrv\files\
    2:13:42 PM DHCPd 192.168.1.10:67 started...
    2:13:42 PM TFPTd 192.168.1.10:69 started...
    2:13:42 PM HTTPd:80 started...
    2:13:47 PM DHCPc:no other DHCPd discovered
    2:14:12 PM DHCPd:REQUEST received, MAC:C4-AD-34-E1-35-77, XID:9AF427F4
    2:14:12 PM DHCPd:BOOTP REQUEST
    2:14:12 PM DHCPd:ACK sent, IP:192.168.1.21, XID:9AF427F4
    2:14:12 PM TFTPd:DoReadFile:aredn-1546-a2f7da4-ar71xx-mikrotik-vmlinux-initramfs.elf B:1452 T:0
    2:14:43 PM TFTPd stopped...
    2:14:43 PM DHCPd stopped...
    2:14:43 PM HTTPd stopped...
    
  2. When I visit 192.168.1.1 the header shows !!!! UNTESTED HARDWARE !!!!
    I've inserted sysinfo below, and supportdata-NOCALL-202005110954.tgz .
  3. Go to Administration and upload the bin file. It thinks for a moment and switches to an error page:
    Bad Gateway
    The process did not produce any response
  4. The device is not bricked. It lets me give it an elf file and then a bin, and, I can get back to RouterOS

 


Sysinfo follows (and I've attached supportdata-NOCALL-202005110954.tgz).

 node: NOCALL-225-53-120
model: MikroTik RouterBOARD RBLHG-5nD

!!!! UNSUPPORTED DEVICE !!!!
boardid: MikroTik RouterBOARD RBLHG-5nD
Device has not been tested. Please file a ticket with your experiences.

br-lan C4:AD:34:E2:35:78
eth0   C4:AD:34:E2:35:78
eth0.1 C4:AD:34:E2:35:78
eth0.2 C4:AD:34:E2:35:78
tunl0  00-00-00-00-00-00-00-44-00-00-00-00-00-00-00-00
wlan0  C4:AD:34:E1:35:78

/proc/cpuinfo
system type        : Atheros AR9344 rev 3
machine            : MikroTik RouterBOARD RBLHG-5nD
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='c4:ad:34:e1:35:78'
hsmmmesh.settings.mac2='225.53.120'
hsmmmesh.settings.node='NOCALL-225-53-120'
hsmmmesh.settings.dtdmac='225.53.119'
Support File Attachment: 
AE6XE
AE6XE's picture
Looks like Mikrotik changed

Looks like Mikrotik changed the model string to identify the device. 

from:  "MikroTik RouterBOARD RBLHG 5nD"
to:  ​"MikroTik RouterBOARD RBLHG-5nD"

Thus the device isn't recognized.   For the moment if you telnet into the node and edit with 'vi' the file "/www/cgi-bin/perfunc.pm" and find, then change

from:

    'MikroTik RouterBOARD LHG 5nD' => {
      'name'            => 'MikroTik RouterBOARD LHG 5nD',
      'comment'         => '',
      'supported'       => '1',
      'maxpower'        => '25',
      'pwroffset'       => '0',
      'usechains'       => 1,
      'rfband'          => '5800ubntus',


To:

    'unknown' => {               <-  or try 'MikroTik RouterBOARD RBLHG-5nD', don't recall which field it is keying off hand.
      'name'            => 'MikroTik RouterBOARD LHG 5nD',
      'comment'         => '',
      'supported'       => '1',
      'maxpower'        => '25',
      'pwroffset'       => '0',
      'usechains'       => 1,
      'rfband'          => '5800ubntus',


It will probably work until an update goes into the nightly build.

Joe AE6XE

KM6KDZ
KM6KDZ's picture
I'll give that try
Thanks!
Chris KM6KDZ
KM6KDZ
KM6KDZ's picture
Partial success

Using the string 'MikroTik RouterBOARD RBLHG-5nD' removed the banner warning UNTESTED HARDWARE.
But on Admin, Firmware Update the device seemed to still be unknown:

Firmware Update
current version: 1546-a2f7da-4 hardware type: (ar71xx/mikrotik) mikrotik (unknown)

(I'm using the nightly build.)
And doing an Upload still resulted in

Bad Gateway
The process did not produce any response

Is there something else I can try, or do we need to just hang tight until the nightly catches this?
Thanks, Chris KM6KDZ
 

Image Attachments: 
AE6XE
AE6XE's picture
edit the file /etc/board.json
edit the file /etc/board.json and change "unkonwn" string to "​rb-lhg-5hpnd".   Then reboot and see if this does the trick.   But trying to upload new firmware, may result with the same state once the new images are loaded -- you'd need to make /etc/board.json and /www/cgi-bin/perfunc.pm edits manually again, untill changes in the nightly build.   Possibly I can get this change in the build tonight, available tomorrow.

Joe AE6XE
KM6KDZ
KM6KDZ's picture
Great - I'll give that a try.
Chris KM6KDZ
KM6KDZ
KM6KDZ's picture
No additional progress this time

As before, I edited perlfunc.pm replacing 'MikroTik RouterBOARD LHG 5nD' with 'MikroTik RouterBOARD RBLHG-5nD'.
So far so good, as before this removed the banner "UNTESTED HARDWARE"

Next I edited board.json replacing "unknown" with "rb-lhg-5hpnd".

The next step after editing board.json was to reboot. Tried rebooting using the UI, or reboot from the command line, either resulted in the device hung and unresponsive. Permissions on the json file looked OK... maybe I don't know how to reboot the node while it's in the middle of the install process.

I tried to continue without the reboot and got the same "unknown" display as I'd reported previously, tried the upload, and still Bad Gateway.

It's been fun going a little into the AREDN filesystem with telnet, putty and winscp. Hadn't done that before, though I use those tools regularly. I'll bet that your time troubleshooting this would be better spent on the build at this point, which I'll be more than happy to test for you.

Thanks, Chris KM6KDZ

AE6XE
AE6XE's picture
Try these images, let's test
Try these images, let's test before submitting in nightly build:

https://drive.google.com/drive/folders/1M_edtdOHYcXy1CRFMPiNr65VBPxtg0e7...

Joe AE6XE
KM6KDZ
KM6KDZ's picture
OK, trying them now.
Chris KM6KDZ
KM6KDZ
KM6KDZ's picture
Almost There

The yellow Untested Hardware header is still there but all else seems to be alright. All the setup worked OK. I attached the Sysinfo and Support archives. I won't be able to RF test until I do our other LHG5 (we bought 2). Do that Monday.

Chris KM6KDZ
 


 node: KM6KDZ-HMB-LHG5-D8
model: MikroTik RouterBOARD RBLHG-5nD

!!!! UNSUPPORTED DEVICE !!!!
boardid: MikroTik RouterBOARD RBLHG-5nD
Device has not been tested. Please file a ticket with your experiences.

br-lan C4:AD:34:E2:35:78
eth0   C4:AD:34:E2:35:78
eth0.1 C4:AD:34:E2:35:78
eth0.2 C4:AD:34:E2:35:78
tunl0  00-00-00-00-00-00-00-44-00-00-00-00-00-00-00-00
wlan0  C4:AD:34:E1:35:78
wlan0-1 C6-AD-34-E1-35-78-00-44-00-00-00-00-00-00-00-00

/proc/cpuinfo
system type        : Atheros AR9344 rev 3
machine            : MikroTik RouterBOARD RBLHG-5nD
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='c4:ad:34:e1:35:78'
hsmmmesh.settings.mac2='225.53.120'
hsmmmesh.settings.dtdmac='225.53.119'
hsmmmesh.settings.node='KM6KDZ-HMB-LHG5-D8'
hsmmmesh.settings.config='mesh'
Image Attachments: 
AE6XE
AE6XE's picture
D'oh,  need to make the

D'oh,  need to make the change in perfunc.pm too.  You can edit manually one time for now to make the yelllow banner go away.  I'll update images Monday.

Joe AE6XE

AE6XE
AE6XE's picture
The images were updated at
The images were updated at the same gdrive link above.  Careful, they have the same filename, be sure to remove the prior downloaded files to not confuse.  These images are expected to address the yellow banner issue.   Take for a spin and unless you find anything further, I'll then submit to nightly build.

Joe AE6XE
KM6KDZ
KM6KDZ's picture
OK, I'll try them
Chris KM6KDZ
KM6KDZ
KM6KDZ's picture
Yellow Banner still there

Looking in perlfunc.pm it looks the new block of code is there but the condition wasn't completely changed. I think it should be 'MikroTik RouterBOARD RBLHG-5nD'.

Chris KM6KDZ

AE6XE
AE6XE's picture
Possibly the new image didn't
Possibly the new image didn't take and still running the prior one?   The code appears to be correct.  The section with the '+'s was added:
 
diff --git a/files/www/cgi-bin/perlfunc.pm b/files/www/cgi-bin/perlfunc.pm
index 0663cd8..ebc2d2d 100644
--- a/files/www/cgi-bin/perlfunc.pm
+++ b/files/www/cgi-bin/perlfunc.pm
@@ -1249,6 +1249,15 @@ sub hardware_info
       'usechains'       => 1,
       'rfband'          => '5800ubntus',
     },
+    'MikroTik RouterBOARD LHG-5nD' => {
+      'name'            => 'MikroTik RouterBOARD LHG-5nD',
+      'comment'         => '',
+      'supported'       => '1',
+      'maxpower'        => '25',
+      'pwroffset'       => '0',
+      'usechains'       => 1,
+      'rfband'          => '5800ubntus',
+    },
     'MikroTik RouterBOARD LHG 2nD' => {
       'name'            => 'MikroTik RouterBOARD LHG 2nD',
       'comment'         => '',
diff --git a/patches/006-add-lhg-5hpnd.patch b/patches/006-add-lhg-5
KM6KDZ
KM6KDZ's picture
That's what I see, but it should be
The line
+    'MikroTik RouterBOARD LHG-5nD' => {
Should be
+    'MikroTik RouterBOARD RBLHG-5nD' => {

Here's the working file from my node.
File Attachment: 
AE6XE
AE6XE's picture
Got it, my bad.    Yet
Got it, my bad.    Yet another variation of Mikrotik device naming :) .   
AE6XE
AE6XE's picture
new images uploaded. 
new images uploaded.  Hopefully this is the last round...

Joe
KM6KDZ
KM6KDZ's picture
OK, going to try them now.
Chris KM6KDZ
KM6KDZ
KM6KDZ's picture
Perfect
Thank you!

Chris KM6KDZ

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer