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
741 views 6 comments
by anonymous
Hi, how can we determine the correct location of RUT240 devices?

Some ours devices are showing the correct location and some others not. Is there anything we can do for this model, beside manually change the location? Thank you in advance

1 Answer

0 votes
by anonymous

Hello,

Considering that RUT240 does not have GPS capabilities, there are two ways to determine device's location in RMS. 

  • You can manually select device's location on the map in RMS device information window.
  • RMS can try to determine approximate device's location using cell tower information. This is done one time a day, at 00:00 UTC+0 time. Location is determined using the following cell tower database. If the cell tower is not listed in the database, the location will not be shown.

Best regards,

Žygimantas

by anonymous
How do you obtain the values MCC, MNC,and LAC from the Rut240 . Cell ID is listed in menu System-Network but the others are not. Thanks
by anonymous

Hello,

MCC (Mobile country code)  - first three digits of IMSI code found in Status -> Network -> Mobile section.

MNC (Mobile network code) - following two (European standard) or three (North American standard) digits of IMSI code.

LAC  can be obtained over SSH, with one of the following commands:

  • gsmctl -A 'AT+CREG?' | cut -d '"' -f 2
  • ubus call gsm.modem0 get_net_reg_stat | grep lac 

Best regards,

Žygimantas  

by anonymous
Ok thank you.

Can we add new cell towers to the database or change the cell tower connected to the router in order to obtain router's location?
by anonymous
by anonymous

MCC (Mobile country code)  - first three digits of IMSI code found in Status -> Network -> Mobile section.

MNC (Mobile network code) - following two (European standard) or three (North American standard) digits of IMSI code.

LAC  (Local area code) or Country code - 3rd and 4th or 3rd, 4th and 5th digits (digits after 89) of ICCID code found in Status -> Network -> Mobile section.

Is it possible to read out the LAC (or ICCID) and Cell ID using the Modbus interface? I can only find the IMSI code. If not, is there any other way of getting the nearest cell tower location over Modbus? 

by anonymous

Hello,

Country code and LAC are actually different numbers, the above is incorrect and getting LAC is not quite straightforward, as it is not displayed in the WebUI. SSH access is required. One of the ways to get this information is by executing the following command in SSH:

  • gsmctl -A 'AT+CREG?' | cut -d '"' -f 2

The output of AT+CREG? reads as: [Network registration result code],[Registration state],[LAC],[Cell ID],[Access technology]. The command above simply takes LAC part of the result. However, It will return hexadecimal value. 

You can also try a different command:

  • ubus call gsm.modem0 get_net_reg_stat | grep lac | cut -d '"' -f 4

In order for this data to be available over MODBUS, you will need to create a custom register, which stores the output value of the above commands. For instructions, please refer to the following link: https://wiki.teltonika-networks.com/view/RUT240_modbus_custom_register_block

Best regards,