FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
+1 vote
1,444 views 4 comments
by

Hello, how to read serial number of router (RUT955) programmatically? (C or python..)

Thank you..

Model EG25
FW version EG25GGBR07A07M2G
Firmware version RUT9XX_R_GPL_00.06.07.3
Firmware build date 2020-12-11, 14:58:36
Kernel version 3.18.44
Bootloader version 3.2.5

1 Answer

+1 vote
by anonymous

Hi,

If you're looking to get a serial number through SSH instance, you would need a command: mnf_info -sn

It will output the serial number of your device. When putting this command in scripts it should behave the same.

EB.

by anonymous

On the RUT950 I tested, it appears the command is actually:

mnf_info sn
by
Thank you, it works!

I need to do the same on C.... could you point me the source code of mnt_info ?(in SDK..)
by anonymous
I've found mnf_info config in /package/base-files/files/etc/uci-defaults.

You can always use the search function and just type in a part of the command you're looking for, in this case, I searched for "mnf".

EB.
by anonymous
# mnf_info
Displays manufacturer information
<PARAM> -       mac, maceth, name, wps, sn, batch, hwver, simpin, sim2pin, blver