如何找到 GPRS 调制解调器的 IP 地址?

发布于 2024-08-29 08:50:27 字数 296 浏览 12 评论 0原文

我想从通过串行协议访问并连接了 GPRS 调制解调器的设备中提取数据,该调制解调器应允许通过 IP 连接进行透明访问。在我看来,这种做法是本末倒置的,因为我怎么知道设备当前在哪个IP地址呢?不幸的是,设备本身相当愚蠢,所以我无法让它向我的服务器发送一些东西,这会泄露当前的IP。

对于拨号线路上的家庭路由器,有动态 DNS 服务。移动世界中有类似的东西吗?当然,每个调制解调器都有其电话号码作为可靠的地址,但这对我有什么帮助呢?

实际上,我可以在网上找到的所有关于 GPRS 等的材料似乎都与从调制解调器端启动连接有关,因为这就是系统的设计目的。

I want to pull data from a device that is accessed via a serial protocol and has a GPRS modem attached which should allow transparent access over an IP connection. It seems to me that this approach is upside down, because how should I know at which IP address the device currently is? Unfortunately, the device itself is rather dumb, so I can't make it send something to my server, which would reveal the current IP.

For home routers on dialup lines, there's dynamic DNS services. Is there something equivalent in the mobile world? Each modem would, of course, have its phone number as a reliable address, but how does that help me?

Practically all material on GPRS etc. that I can find online seems to be concerned with initiating the connection from the modem side, since that's what the system is designed for.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光暖心i 2024-09-05 08:50:27

您是对的,通常 GPRS 设备必须启动连接,因为它们通常没有分配静态 IP 地址。

我建议再次查看该设备,因为它肯定应该有一种启动与远程服务器连接的方法(您可能需要将其直接连接到 PC 才能进行初始配置)。我使用过很多不同的 GPRS 设备,它们都是这样工作的。

You're right, typically the GPRS device has to initiate the connection, since they are not usually assigned static IP addresses.

I would suggest looking again at the device, because it certainly should have a way of initiating a connection with a remote server (you will probably need to directly connect it to a PC to initially configure it). I've worked with quite a few different GPRS devices, and they all worked this way.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文