Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Linux > Ubuntu Tips and Tricks

October 2nd, 2010, 14:01 GMT · By

How to Connect the ZTE MF636DB USB Modem on Ubuntu

SHARE:

Adjust text size:


ZTE MF636 USB modem from Orange
Enlarge picture
Are you one of those users with an MF636DB USB 3G modem from Orange, and you want to make it run under Ubuntu OS? Look no further, as today's tutorial will teach you step-by-step who to make it work!

We've tested the MF636DB USB stick on an eMachines 350 netbook powered by the Ubuntu 10.04 LTS (Lucid Lynx) operating system. After we've search the Internet for various solutions, we've finally find a good combination to make this MF636 USB stick act like a 3G modem.

This tutorial was also tested on a MF626 USB modem manufactured for Telstra Australia. Thanks to Graham Blackshaw for the information!

The Problem

The main problem is that the modem is mounted in Ubuntu as a CD-ROM device, and we need to do some tricks to unmount it as a CD-ROM and mount it as a USB modem device.

WARNING: Using GNOME PPP to connect to the Internet with the ZTE MF636 modem, some applications, such as Firefox or Pidgin, may not receive Internet connection. But you can use Chrome, Deluge, Thunderbird, and other applications.

The Solution

Step 1 - Tweaking the USB modem:

- Go to Applications -> Accessories -> Terminal, and type the following command:

lsusb

Hit the Enter key... and, at this moment you should see some text in the terminal window. Look for the 19d2:0033 entry, the ZTE modem!

Now, hit the ALT+F2 key combination and paste the following command:

gksu gedit /etc/udev/rules.d/ZTEMF637.rules

Click the OK button and you will be asked for your password. Enter it and click OK. When the text editor opens, paste the following lines...

ACTION!="add", GOTO="ZTE_End"
#
SUBSYSTEM=="usb", SYSFS{idProduct}=="2000", SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"
#
SUBSYSTEM=="usb", SYSFS{idProduct}=="0033", SYSFS{idVendor}=="19d2", GOTO="ZTE_Modem"
LABEL="ZTE_ZeroCD"
RUN+="/usr/bin/eject /media/cdrom1/"
#
LABEL="ZTE_Modem"
RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x0033",
MODE="660", GROUP="dialout"
#
LABEL="ZTE_End"


Make sure the numbers highlighted with red are the same with the numbers outputed by the lsusb command!

Save and close the text file. Just in case, reboot your machine!

Step 2 - Creating a Mobile Broadband connection:

WARNING: If you have a Mobile Broadband connection created, please skip to Step 3! Also, you can skip this step for now... and go directly to the next step (see the first warning). But it's OK to have a Mobile Broadband connection created, just in case!

We need now to create a default Mobile Broadband connection, before anything else. So, right click on the network icon in your system tray area and select Edit Connections...

Review image

Click the Mobile Broadband tab, and then click the "Add" button...

Review image

Click the "Forward" button...

Review image

Choose your country...

Review image

Choose your mobile provider...

Review image

Click the "Forward" button...

Review image

And click the "Apply" button...

Review image

You will see now a new window. The connection has been created. Just check the "Connect automatically" box and click the "Apply" button to close the window...

Review image

Close the Network Connections window and continue with the next step!

Step 3 - Installing GNOME PPP and final settings:

Search and install the GNOME PPP application with Ubuntu Software Center...

Review image

When the installation is over, GNOME PPP can be found under the Applications -> Internet submenu.

WARNING: It will not work if it is executed from your current user. It must be run as root!

So, hit the ALT+F2 key combination and type the following command:

gksu gnome-ppp

...enter your password when asked and hit Enter. GNOME-PPP will start... and you should see the following dialog...

Review image

Click the "Setup" button. On the 'Modem' tab choose the following options:

- the device from the drop-down box. Ours was the last one (/dev/ttyUSB3). It's always the last one in the list!
- USB Modem from the Type list;
- select 460800 for the Speed;
- select the Pulse mode;


Review image

On the 'Options' tab choose the following options:

- check the Dock in notification area box;
- check the Auto reconnect box.


Review image

Close the setup window now, and you will be returned to the initial connection dialog of GNOME PPP.

Enter a username and a password (any username and password you want, it doesn't matter... but you have to enter something), and the phone number *99#.

Also, check the "Remember password" box. Click the "Connect" button. The modem should connect now to your provider!

Review image

If you encounter any issues, do not hesitate to use our commenting system!

Editor's note: As an end note, if you use Ubuntu or any other Linux-based operating system, my suggestion is to get the Huawei E160E HSDAP USB Stick from your mobile provider. This one works flawlessly!

FILED UNDER:
Ubuntu
MF636DB
USB
modem
MF636

TELL US WHAT YOU THINK:

12,951 hits · 13 comments · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


How to Install KDE SC 4.5.0 on Ubuntu 10.04

Goodbye Ubuntu 9.04

Goodbye Linux Mint 7

Softpedia Linux Weekly, Issue 116

Fedora 14 Beta Is Now Available

READER COMMENTS:


Comment #1 by: peter on 17 Oct 2010, 03:29 UTC reply to this comment

Many thanks!
I had spent a lot of time to connect ZTE MF626 (Ubuntu 10.04, HP 625) before i found your tutorial. After implementing step 1 it connects in a few seconds, before it took 4-8 minutes (if ever). Step 2 realized with ubuntu-networkmanager.


Comment #2 by: Peter on 18 Oct 2010, 18:34 UTC reply to this comment

Many thanks!
I had spent a lot of time to connect ZTE MF626 (Ubuntu 10.04, HP 625) before I found your tutorial. After implementing step 1 it connects in a few seconds, before it took 4-8 minutes (if ever). Step 2 I realized by ubuntu networkmanage


Comment #3 by: HrachMD on 22 Oct 2010, 22:54 UTC reply to this comment

Yes, it works fine, but till restarting the system. After restarting the ubuntu it hangs during boot menu (before staring X) and the problem is solving after deleting the ZTEMF637.rules file.

Comment #3.1 by: archie on 03 Dec 2010, 01:01 GMT

Just add the following line into the terminal

sudo apt-get install usb-modeswitch

then go to:
system --> preference --> network connection
click on add new broadband connection, ensure you have the modem connected to a usb port before
ubuntu 10.04 will recognize the device automatically
follow the steps ask for configuration through the setting windows...

thats all it works fine for me....Ubuntu 10.04 on a AMD64 Laptop

Bye

Comment #3.2 by: Tom on 09 Jul 2011, 11:11 GMT

did u manage to get it to work after deleting the rule?


Comment #4 by: Pleasant on 03 Mar 2011, 07:59 UTC reply to this comment

How to connect ZTE MF631? I followed these instructions for it but it gave a message "Cannot open modem" in GnomePPP. What do I do?

Comment #4.1 by: Deepak on 27 Mar 2012, 18:52 GMT

Note:- Data cards are automatically detected in newer version of ubuntu. You just have to wait for detecting it and then you can configure it. Use this method only when your data card is not detected by default.
Plug in your modem. Let it be recognized as a flash drive. Once that is done do
1) Open terminal and type
lsusb.
The output will be something like this:
Bus 001 Device 001: ID 1d6b:0002

Bus 003 Device 001: ID 1d6b:0001

Bus 002 Device 002: ID 12d1:140b Huawei USB Device

Bus 002 Device 001: ID 1d6b:0001
(note: ur model MF631)
If you have same ID 12d1:140b Hwawei USB Device> follow the same instruction below
Now the first number here is the vendor id (0x12d1) and the second one (0x0140b) is product id. These numbers will differ depending on the make and model of your modem.
2) now type in terminal
modprobe usbserial vendor=0x12d1 product=0x140b
**optional:{ only if terminal asks for permission or are you root something.. then type
sudo modprobe usbserial vendor=0x12d1 product=0x140b
enter your password ...
}**
Now you need to install a packages and softwares below
1)sudo apt-get install libusb-dev
2) Download usb_modeswitch & extract:
or read from http://askubuntu.com/questions/78164/configuring-tata-photon-usb-modem-huawei-ec156


Comment #5 by: pavbaranov on 21 Mar 2011, 17:51 UTC reply to this comment

Hello. There are at least few solutions for connecting internet on linux via ZTE MF636DB, but...
Now, I'm testing Kubuntu 11.04 alpha 3 and ZTE isn't recognized at all. Only lsusb raports it well. I cannot mount it as CD-ROM or as modem.
What on hell is it? Bug of Natty?


Comment #6 by: Coo2 on 12 Jul 2011, 08:20 UTC reply to this comment

Check http://www.sakis3g.org hopefully it more helpfull


Comment #7 by: Linas on 23 Aug 2011, 19:11 UTC reply to this comment

After step1 Ubuntu doesnt start. Just black screen..


Comment #8 by: lsd on 15 Nov 2011, 14:40 UTC reply to this comment

Not working in Ubuntu 11.10


Comment #9 by: Dan on 05 Dec 2011, 11:54 UTC reply to this comment

Da Marius, NU merge in Ubuntu 11.10...
Ce ne sfatuiesti ?
(Yes, Marius, on 11.10 is not working. What is your advise ?)


Comment #10 by: Deepak on 27 Mar 2012, 19:04 UTC reply to this comment

I connect my USB Modem DOCOMO MF631 in ubuntu 11.10 from the help of this site : http://askubuntu.com/questions/78164/configuring-tata-photon-usb-modem-huawei-ec156. Now Ist problem is that i don't know my connection speedin ubuntu. In XP I can check my speed nearly 240 Kbps (2X). 2nd how to check remaining balance (data usages). xp mode docomo running setup allow check usages by *123# ( I'm using BSNL 3G SIM converted in 2G in DOCOMO Donggle) need help..........

Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM