R
R
Ramil2017-02-02 19:55:42
Computer networks
Ramil, 2017-02-02 19:55:42

How to restart mobile internet with IP change?

Hello!
The task is to restart the mobile flash modem from Megafon in such a way that the IP address changes.
How to do it?
Tried

USBDeview /disable_by_pid 12d1;0000
USBDeview /enable_by_pid 12d1;0000

netsh interface set interface name="qweqwe" DISABLE
netsh interface set interface name="qweqwe" ENABLE

Both methods restart the Internet, but the IP remains the same, but if you remove the modem itself from the computer and put it back in, then when you connect, the IP changes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
15432, 2017-02-02
Abdrahimov @MrAbdrahimov

You need to send a "restart" command to the AT modem, or a sequence of "turn radio off" and "turn radio on" commands
Simply disconnecting the usb port will not reset the modem's connection to the operator

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question