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
666 views 5 comments
by anonymous
Hello,

I use a RUT955 to retrieve data from a sensor in RS485. I use the serial type modbus gateway. At some moments, I can't interrogate the sensor anymore. I connected to the RUT in ssh, and I typed the logread command. But is there a command to retrieve only RS485 logs ?

Thank you in advance.

1 Answer

0 votes
by anonymous

Hi,

Unfortunately, to retrieve only RS485 part of the logs you would need to use a pipe after logread.

So for example:

logread | grep RS485

This will fetch only strings that contain "RS485" in them.

EB.

Best answer
by anonymous

Thank you for your prompt feedback. I'm surprised because I don't have any log with logread | grep RS485. Do you know how to recover MODBUS/RS485 logs ?

Thanks

by anonymous
Internally no - I believe the best way to see anything with serial port communication would be having some kind of monitoring or analyzing software running in the background.

EB.
by anonymous
ok, thanks. Do you know some software for doing this ?
by anonymous
Anything works as long as they have packet analyzing features, so let's say this: https://www.eltima.com/rs485-sniffer.html (we're not responsible for this software, so don't take it for granted).
by anonymous
ok, is it possible to install something on the RUT955 ?