This guide is to make the ZTE MF636 USB modem work with Ubuntu 9.10 ("Karmic"). I made this guide of many other guides out there, but only with the combination of them all I got it to work for me. I have the Norwegian NetCom operator, but it should work with others as well.
sudo apt-get install gtktermFind the correct USB device:
ls /dev | grep ttyUSBThe last device listed is probably the one. Now edit the config file. Make sure to replace the X in USBX you got earlier:
gedit ~/.gtktermrcCopy / paste:
[default] port = /dev/ttyUSBX speed = 115200 bits = 8 stopbits = 1 parity = none flow = none wait_delay = 0 wait_char = -1 echo = False crlfauto = False font = "Nimbus Mono L, 14" term_transparency = False term_show_cursor = True term_rows = 80 term_columns = 25 term_visual_bell = True term_foreground_red = 43253 term_foreground_blue = 43253 term_foreground_green = 43253 term_background_red = 0 term_background_blue = 0 term_background_green = 0 term_background_saturation = 0,500000Open gtkterm (Accessories->Serial port terminal) and go to configuration and check 'Local echo'. Then write:
AT+ZOPRT=5 AT+ZCDRUN=8You will get "Close autorun state result(0:FAIL 1:SUCCESS):1" if it went well.
sudo apt-get install gnome-pppEdit the following config file:
gedit /etc/wvdial.confCopy / paste: (Here also change the X)
[Dialer Defaults] Modem = /dev/ttyUSBX ISDN = 0 Modem Type = Analog Modem Baud = 460800 Init1 = ATZ Init2 = AT&F &D2 &C1 Init3 = ATS7=60 S30=0 S0=0 Phone = *99# Dial Attempts = 1 Dial Command = ATM1L3DT Ask Password = off Password = netcom Username = netcom Auto Reconnect = off Stupid Mode = 1Edit another config file:
sudo gedit /etc/init.d/rc.localadd:
modprobe -r usbserial modprobe usbserial vendor=0x19d2 product=0x0031Unplugg modem. Reboot. Plugin modem. Now we need to run gnome-ppp with root access:
sudo wvdialIf everything went well, you will get something like this:
echofish@ubuntu:/dev$ sudo wvdial --> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Modem initialized. --> Sending: ATM1L3DT*99# --> Waiting for carrier. ATM1L3DT*99# CONNECT --> Carrier detected. Starting PPP immediately. --> Starting pppd at Sat Nov 7 21:35:46 2009 --> Pid of pppd: 5709 --> Using interface ppp0 --> local IP address 89.9.97.35 --> remote IP address 10.64.64.64 --> primary DNS address 212.169.123.67 --> secondary DNS address 212.45.188.254</pre>Happy surfing!