Community discussions

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

RouterBOARD naming... not consistent!

星期四1月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:
Code:Select all
[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:
Code:Select all
[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!)
Top
用户头像
mkx
Forum Guru
Forum Guru
Posts: 10167
加入: Thu Mar 03, 2016 10:23 pm

Re: RouterBOARD naming... not consistent!

星期四1月17, 2019 5:13 pm

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

Re: RouterBOARD naming... not consistent!

星期四1月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.
Top
whatever
Member Candidate
Member Candidate
Posts: 259
加入: Thu Jun 21, 2018 9:29 pm

Re: RouterBOARD naming... not consistent!

星期四1月17, 2019 6:10 pm

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

Re: RouterBOARD naming... not consistent!

星期四1月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...
Top

Who is online

Users browsing this forum: No registered users and 5 guests