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
239 views 2 comments
by anonymous
Hello, I am currently trying to find a way to view my Public IP on a TRB245 other than finding it on websites like whatsmyip.

I've found a way to push the private IP via modbus towards thingsboard without any issues, however I don't think I can do it with the public one.

I've already set up my APN and can access internet without any issues.

Thanks in advance
by anonymous
For those interested, I just got the address with a dig command (dig +short myip.opendns.com @resolver1.opendns.com) , then put it in a variable and then pushed it to thingsboard with a curl POST. Low effort solution but it works well.

1 Answer

0 votes
by anonymous

Hello,

You can view IP assigned to a WAN interface in Network -> Interfaces section.

If you can access the router vis CLI/SSH, execute the following commands:

  • ifconfig wwan0
  • gsmctl -p mob1s1a1

Best regards,

by anonymous
Yes, but this allows me to get the IP that's in the 10.X.X.X range, while I'm looking for the one that goes over the internet which would be like 80.X.X.X