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
361 views 0 comments
by anonymous

Hi Everyone,

I used to use a socat command: socat /dev/modem_cmd TCP4-LISTEN:2332,fork

This used to let me send AT commands directly to the internal module using a TCP connection on port 2332. This is working fine on FW:  RUT9XX_R_00.06.08.6 and lower.

But something has changed in the new firmware: RUT9_R_00.07.00.0 and above does not let me do this. I get the following error: 

root@Teltonika-RUT955:~# socat /dev/modem_cmd,raw TCP4-LISTEN:2332,fork

2022/01/14 06:30:15 socat[11261] E tcgetattr(5, 0x43867c): Not a tty

I inspected internally and modem_cmd is now a block device type and not character type. Earlier, modem_cmd was associated with a tty interface (usually ttyUSB3).

Can anyone shed some light on how this can be resolved?

Regards!

1 Answer

0 votes
by anonymous
Hello

we know this issue and have received requests from other customers. This case is being analyzed by RnD, but a possible solution is not yet available. If this is important to you, you should stick to the legacy Web Ui firmware version for now.

Regards.