This time, i will write a note about how to using haier C700 in ubuntu, of course with Smart provider. Yesterday, i’ve tried to browse in the internet, but what i got is nothing tutorial that perfectly can connect my haier onto my notebook. In this case i use Haier C700, smart provider, ubuntu 9.04 (Jaunty Jackalope), and Notebook Compaq Presario V3000.
Ok, now, open your terminal. First, we have to add the serial port module to the kernel to make our phone identified by the kernel. Use this command : gksudo gedit /boot/grub/menu.lst
In the opened menu.lst file, find these words :
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 7c0cd01f-552f-4361-b1da-51f2f371a378
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7c0cd01f-552f-4361-b1da-51f2f371a378 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
Change with :
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 7c0cd01f-552f-4361-b1da-51f2f371a378
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7c0cd01f-552f-4361-b1da-51f2f371a378 ro quiet splash usbserial.vendor=0×05c6 usbserial.product=0×9004
initrd /boot/initrd.img-2.6.28-11-generic
quiet
After that, we have add usbserial module to our kernel. Now restart your PC. After been restarted, open the terminal again. Now, we need to ensure that our modem correctly detected by our PC. Write : lsusb , our modem will be present there, it showed by Bus 002 Device 005: ID 05c6:9004 Qualcomm, Inc.
To make a dial-up connection we use wvdial. It is not installed by default. To install wvdial, use : sudo apt-get install wvdial.
After wvdial has installed, now write this in your terminal : dmesg | grep tty . It will show you which usb port that your modem been attached. Look at the last line, there is your usb port that we will use. In mine, it looks :
[ 1641.188385] generic ttyUSB0: generic converter now disconnected from ttyUSB0
[ 1641.556785] generic ttyUSB1: generic converter now disconnected from ttyUSB1
[ 1662.775691] usb 2-1: generic converter now attached to ttyUSB0
[ 1662.776041] usb 2-1: generic converter now attached to ttyUSB1
It means that i will use the ttyUSB1 port. Now, we have to edit the configuration of wvdial to set up our connection. Write this command : sudo gedit /etc/wvdial.conf . There will an opened blank text file (if you never use it before). Write this to the file
[Dialer Defaults]
Modem = /dev/ttyUSB1
Modem Type = Analog Modem
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Baud = 230400
Phone = #777
Username = smart
Password = smart
Stupid Mode = 1
ISDN = 0
New PPPD = yes
Remember, the marked text shows the port that you use. In this case, i use ttyUSB1. After this, we have successfully install and configure the modem. To use the connection, you should write : sudo wvdial . If it succesfully connected, it will be looks like :
xxxxxxxxxx@xxxx:~$ sudo wvdial
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Fri Jan 15 06:37:53 2010
–> Pid of pppd: 4339
–> Using interface ppp0
–> pppd: [08]xO[08]�uO[08]
–> pppd: [08]xO[08]�uO[08]
–> pppd: [08]xO[08]�uO[08]
–> pppd: [08]xO[08]�uO[08]
–> pppd: [08]xO[08]�uO[08]
–> local IP address xx.xx.xxx.xxx
–> pppd: [08]xO[08]�uO[08]
–> remote IP address xx.xx.x.xx
–> pppd: [08]xO[08]�uO[08]
–> primary DNS address xx.xx.x.xxx
–> pppd: [08]xO[08]�uO[08]
–> secondary DNS address xx.xx.x.xxx
–> pppd: [08]xO[08]�uO[08]
Congratulation, now you can get your Ubuntu connected to the world.. ^^