A month ago, I bought a 3G modem ZTE MF 170, realizing that I’m going to have to mess a bit.
Unfortunately, the network did not have a ready-made solution for how to make this miracle of Ubuntu technology work. So I had to look for a way out myself.
The first problem. The modem is defined as a CD-ROM drive, and tries to load its Windows programs and firewood. Naturally, it does not work, and it remains in the drive mode. Similarly with other Pchelain modems, this can be treated with the usb_modeswitch program. The modem is indeed defined as a modem, and establishes a connection, but this will have to be done every time you connect the modem, and after connecting, the second problem appears.
The second problem. After the connection is established, the connection is terminated after a couple of minutes. A native program sends every two minutes some kind of secret, we do not know, AT command for the modem to work.
')
Total two problems and not one sensible solution.
On gsmforum.ru I learned that exactly two files in the firmware are responsible for these two flaws: AUTORUN.FLG and NODOWNLOAD.FLG. The first is responsible for starting the modem as a drive at startup, and the second for breaking the connection in a couple of minutes. We need to bang them.
On gsmforum.ru it was proposed to install at least the Orthodox program QPST on a computer with the Orthodox Operating System, and with this program to demolish files.
But we, like Tru-Linuxers, do not want to search a friend's computer for Windows, we need to turn the same operation on Ubunt.
Here I read that it can be done with the help of AT commands:
AT + ZCDRUN = 8 \ r \ n - to remove AUTORUN.FLG,
AT + ZCDRUN = E \ r \ n - to remove NODOWNLOAD.FLG,
To do this, we need the modem to be defined as a modem and stand on / dev / ttyUSB1, or something like that. You can use usb_modeswitch once or get easier. When the modem is defined as a drive, just right-click on the icon on the desktop, and choose to remove.
Then use our AT commands to delete these files:
$ echo -e "AT + ZCDRUN = 8 \ r \ n"> / dev / ttyUSB1 - delete the AUTORUN.FLG file
(and if you suddenly need it: AT + ZCDRUN = 9 \ r \ n - restores the AUTORUN.FLG file)
$ echo -e "AT + ZCDRUN = E \ r \ n"> / dev / ttyUSB1 - delete the file NODOWNLOAD.FLG
(AT + ZCDRUN = F \ r \ n - restores NODOWNLOAD.FLG)
Everything. Now we take out and reconnect the modem, wait until it starts to turn blue (means catching 3G) or green (GPRS) color. Now you can create a Beeline 3G connection through the connection manager and enjoy 3G Internet.
PS The only thing is not connected via wvdial. (As soon as wvdial tries to call ATM0L0DT * 99 # our beloved ZTE MF 170 is safely disconnected :) I can not understand why.