To detect your handphone, is it known by your Ubuntu, you can check it at System log while you insert it data cable to the USB Port. But before you do that, first open System Log Viewer by clicking [System]-[Administration]-[System Log]. At the “Message”, find the last line of the message.
Then, connect your Handphone LG KU250 to the USB port, and watch the message that will appear at the last line of the “message” part of the System Log Viewer.
Example of the message like this:
Jul 19 20:15:39 otak-korzzlet kernel: [ 62.851371] input: USB Optical Mouse as /devices/pci0000:00/0000:00:1d.2/usb3/3-1/3-1:1.0/input/input11
Jul 19 20:15:39 otak-korzzlet kernel: [ 62.872755] input,hidraw2: USB HID v1.10 Mouse [USB Optical Mouse] on usb-0000:00:1d.2-1
Jul 19 20:19:52 otak-korzzlet kernel: [ 102.716748] usb 1-2: new full speed USB device using uhci_hcd and address 5
Jul 19 20:19:52 otak-korzzlet kernel: [ 102.725153] usb 1-2: configuration #1 chosen from 1 choice
Jul 19 20:19:53 otak-korzzlet kernel: [ 102.995205] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
Jul 19 20:19:53 otak-korzzlet kernel: [ 102.997270] usbcore: registered new interface driver cdc_acm
Jul 19 20:19:53 otak-korzzlet kernel: [ 102.997278] /build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
Pay attention to the message that I have give green colour. This message appeared when I connected my LG KU250 to the USB Port. And the message “Jul 19 20:19:53 otak-korzzlet kernel: [ 102.995205] cdc_acm 1-2:1.0: ttyACM0: USB ACM device” as a sign that Ubuntu has found he modem in your phone and known as ttyACM0. May be, it will have a little different with yours.
But, the important thing is, LG KU250 modem has known by Ubuntu 8.04.
Next, open trminal by clicking [Application]-[Terminal] and type ‘sudo su’ then give your root password to be a root. This time I work at a laptop (otak-korzzlet) with username zhumphallabux.
zhumphallabbux@otak-korzzlet:~$ sudo su
[sudo] password for zhumphallabbux: [give your password here]
The, type wvdialconf that followed by ENTER, so that it will appear message like these:
root@otak-korzzlet:/home/zhumphallabbux# wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- Manufacturer: QUALCOMM INCORPORATED
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0
You can see that at the last three lines, system has found a modem at /dev/ttyACM0. Continue with configuration connection to the operator that you use by typing “gedit /etc/wvdial.conf” and ENTER, like this:.
root@otak-korzzlet:/home/zhumphallabbux# gedit /etc/wvdial.conf [Enter]
So that, it will appear a gedit window that have confoguration wvdial. Edit that configuration, based of your operation configuration. I have edited my wvdial configuration like next example. I am using “TELKOMFLASH” from TELKOMSEL Operator.
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
INIT3 = AT+CGDCONT=1,"IP","telkomsel"
Modem Type = USB Modem
ISDN = 0
Phone = *99***1#
Modem = /dev/ttyACM0
Username = telkomsel
Password = telkomsel
Baud = 460800
For the other operator, as Indosat with its im3, the differences only at INIT3 …… , iusername and password. Change it with INIT3= AT+CGDCONT=1,"IP","indosatgprs" and use “indosat” as user name and passsword for volume based or “indosat@durasi” for time based.
When you finished, save the change that you have done. Then Close wvdial configuration and go back to the terminal.
Now, you can connect to the internet, by typing “wvdial” on the terminal, so that it will appear messages like these:
root@otak-korzzlet:/home/zhumphallabbux# 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
--> Sending: AT+CGDCONT=1,"IP","telkomsel"
AT+CGDCONT=1,"IP","telkomsel"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Sat Jul 19 20:47:44 2008
--> Pid of pppd: 9053
--> Using interface ppp0
--> pppd: ��[06][08]@�[06][08]ا[06][08]
--> pppd: ��[06][08]@�[06][08]ا[06][08]
--> pppd: ��[06][08]@�[06][08]ا[06][08]
--> pppd: ��[06][08]@�[06][08]ا[06][08]
--> pppd: ��[06][08]@�[06][08]ا[06][08]
--> pppd: ��[06][08]@�[06][08]ا[06][08]
--> local IP address 10.132.126.99
--> pppd: ��[06][08]@�[06][08]ا[06][08]
--> remote IP address 10.64.64.64
--> pppd: ��[06][08]@�[06][08]ا[06][08]
--> primary DNS address 202.3.208.10
--> pppd: ��[06][08]@�[06][08]ا[06][08]
--> secondary DNS address 202.3.210.10
--> pppd: ��[06][08]@�[06][08]ا[06][08]
Now…. CONRAGULATION, you have been connected to the Internet.
source: http://zhumphallabbu.blogspot.com
0 Comments:
Post a Comment