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.
0 votes
727 views 3 comments
by anonymous
I'm trying to publish to a mqtt broker and wanted to use the mqtt_pub that is in /usr/sbin/ but it gets stuck on "Executing 'mnf_info sn'". What does that mean and how can I fix it?

1 Answer

+1 vote
by anonymous
Hello,

Thank you for contacting .

May i know what are you trying to publish?

For publishing data through CLI here is a guide:

https://wiki.teltonika-networks.com/view/Monitoring_via_MQTT#Publisher

I hope it helps.

Thanks.

Regards,

Ahmed
Best answer
by anonymous
Thank you for the answer.

Essentially I want to publish any incoming data from the RS232, either directly from it to a broker or by reading the rs232 file in /dev/ by using "cat rs232" and publishing the output.
by anonymous
Hello,

I have shated our mqtt publisher usage information in your DM , you can build using this information or you can either use third party packages from opkg such as misquitto-client

For installing the packages go to CLI:

login:root

Password : same as you set

now run following commands:

opkg update

opkg install mosquitto-client

Now its upto you how you will approach rs232 information.

Thanks.
by anonymous
This worked perfectly, thank you very much!