I bought a modem 3G from Movistar Venezuela, model ZTE MF626. At the beginning it didn’t work due to some missing modules (usbserial and ppp) because I have a minimalist kernel. Those modules comes by default with any distribution like Ubuntu, Fedora or even Debian, I mean, in a standard installation it shouldn’t be a problem because the kernel provided by the distro is used. In my case, after compiling the missing modules I proceed to set the connection using wvdial at first and later using nm-applet.
The ZTE MF626 is a multi-funtion device, I mean, it’s a pendrive, cdrom and a modem. Therefore, when you connect it the system sees it as a pendrive. To be recognized as a modem you have to umount or eject the pendrive. Then you have to wait until the led turns red, and later blue again. From that moment on you will be able to use it as a modem with wvdial or nm-applet.
Normally, wvdial can be set using wvdialconf command, but don’t bother using it because it just can’t detect modem’s sequences or speeds. To make it work, copy the following into the /etc/wvdial.conf file.
[Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Init3 = AT+CGDCONT=1, "IP","internet.movistar.ve" Modem Type = Analog Modem Stupid Mode = 1 New PPPD = yes Modem = /dev/ttyUSB2 Phone = *99# Username = movistar Password = movistar Baud = 460800
To establish a connection just run wvdial command with a user belonging to dialout group.
You also can use nm-applet. In order to set it up just click on the network connection icon and select the modem. At the beginning you have to put the following parameters:
After this, you will be able to establish a connection just by clicking on the networking icon and selecting Movistar, as shown below: