Community discussions

MikroTik App
 
flameproof
Member Candidate
Member Candidate
Topic Author
Posts: 128
Joined: Tue Sep 01, 2015 3:17 pm

RouterBOARD naming... not consistent!

Thu Jan 17, 2019 4:44 pm

Hi all,

We use an in-house App for provisioning CPEs, currently the hAP Lite model (RB941-2nD-TC). The App first identifies the device it's connecting to, to make sure we don't try to provision say an RB951 with the config parameters for the hAP Lite.

We have found a discrepancy in what is returned by /system routerboard print for EXACTLY the same device model, hardware appearance, etc.

In one case, it returns:
[admin@661806F7260F] > /system routerboard print
       routerboard: yes
        board-name: hAP lite
             model: RouterBOARD 941-2nD
     serial-number: 661806F7260F
     firmware-type: qca9531L
  factory-firmware: 3.33
  current-firmware: 3.33
  upgrade-firmware: 6.43.7
In another, it returns:
[admin@9D76095754E9] > /system routerboard print
       routerboard: yes
        board-name: hAP lite
             model: RB941-2nD
     serial-number: 9D76095754E9
     firmware-type: qca9531L
  factory-firmware: 6.42.1
  current-firmware: 6.43.5
  upgrade-firmware: 6.43.7
Is there a reason for this? We can account for it but we want to know if we have to expect random naming (and I have read the "how do we name stuff" thread and Wiki entry!)
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11598
Joined: Thu Mar 03, 2016 10:23 pm

Re: RouterBOARD naming... not consistent!

Thu Jan 17, 2019 5:13 pm

The model name is probably baked in the routerboot (firmware). Upgrade it on the first device
/system routerboard upgrade
and reboot the device.
 
flameproof
Member Candidate
Member Candidate
Topic Author
Posts: 128
Joined: Tue Sep 01, 2015 3:17 pm

Re: RouterBOARD naming... not consistent!

Thu Jan 17, 2019 5:27 pm

Have done so, model name remains the same. I thought it may have been in the firmware where v3.x had “old” naming and 4.x “new” based on RBxxxx, but looks to be fully baked in.
 
whatever
Member
Member
Posts: 353
Joined: Thu Jun 21, 2018 9:29 pm

Re: RouterBOARD naming... not consistent!

Thu Jan 17, 2019 6:10 pm

Afaik there is no way to change it. Other models like hap ac2 are similarly affected.
 
flameproof
Member Candidate
Member Candidate
Topic Author
Posts: 128
Joined: Tue Sep 01, 2015 3:17 pm

Re: RouterBOARD naming... not consistent!

Thu Jan 17, 2019 6:34 pm

Not wanting to change it, just have a consistent way of identifying a router model over SSH, without complicated regex...

Who is online

Users browsing this forum: No registered users and 55 guests