10456 questions

12460 answers


21896 members

0 votes
112 views 0 comments

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?


1 Answer

0 votes

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.