Thursday, August 5, 2010

Easy steps to configure citycell zoom in ubuntu

It is my great pleasure to write some easy steps to configure and connects to internet using citycell zoom.
1. Make sure that the USB device is detected properly by typing the following command in any terminal console(Applications->Accesories->Terminal).
 afzal@afzal-laptop:~$ lsusb
Bus 008 Device 002: ID 08ff:1600 AuthenTec, Inc. AES1600
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 064e:a117 Suyin Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
afzal@afzal-laptop:~$
observe a line like "Bus 007 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd"
and note down the vendorId(in my case 12d1 ) and prduct id (in my case 1001)
2. Now probe the USB device by using the following command

afzal@afzal-laptop:~$ modprobe usbserial vendor=12d1 product=1001
afzal@afzal-laptop:~$ 
3. Now check whether it is successfully probed by following command

afzal@afzal-laptop:~$dmesg

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-22-generic (buildd@palmer) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 (Ubunt
u 2.6.32-22.36-generic 2.6.32.11+drm33.2)
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   NSC Geode by NSC
[    0.000000]   Cyrix CyrixInstead
[    0.000000]   Centaur CentaurHauls
[    0.000000]   Transmet GenuineTMx86
[    0.000000]   Transmet TransmetCPU
[    0.000000]   UMC UMC UMC UMC
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 00000000bb974000 (usable)
[    0.000000]  BIOS-e820: 00000000bb974000 - 00000000bb9bf000 (reserved)
[    0.000000]  BIOS-e820: 00000000bb9bf000 - 00000000bba83000 (usable)
[    0.000000]  BIOS-e820: 00000000bba83000 - 00000000bbabf000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000bbabf000 - 00000000bbaec000 (usable)
[    0.000000]  BIOS-e820: 00000000bbaec000 - 00000000bbaff000 (ACPI data)
[    0.000000]  BIOS-e820: 00000000bbaff000 - 00000000bbb00000 (usable)
[    0.000000]  BIOS-e820: 00000000bbb00000 - 00000000c0000000 (reserved)
[    0.000000]  BIOS-e820: 00000000f8000000 - 00000000fc000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fed10000 - 00000000fed14000 (reserved)
[    0.000000]  BIOS-e820: 00000000fed18000 - 00000000fed1a000 (reserved)
[    0.000000]  BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000]  BIOS-e820: 0000000100000000 - 0000000140000000 (usable)
[    0.000000] DMI 2.4 present.
[    0.000000] last_pfn = 0xbbb00 max_arch_pfn = 0x100000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-DFFFF write-protect
[    0.000000]   E0000-EFFFF uncachable
[    0.000000]   F0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 0FFFE0000 mask FFFFE0000 write-protect
[    0.000000]   1 base 000000000 mask F80000000 write-back
[    0.000000]   2 base 080000000 mask FC0000000 write-back
[    0.000000]   3 base 0BC000000 mask FFC000000 uncachable
[    0.000000]   4 base 0BBC00000 mask FFFC00000 uncachable
[    0.000000]   5 base 0BBB00000 mask FFFF00000 uncachable
[    0.000000]   6 base 100000000 mask FC0000000 write-back
[    0.000000]   7 disabled
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] e820 update range: 0000000000002000 - 0000000000006000 (usable) ==> (reserved)
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] modified physical RAM map:
[    0.000000]  modified: 0000000000000000 - 0000000000002000 (usable)
[    0.000000]  modified: 0000000000002000 - 0000000000006000 (reserved)
[    0.000000]  modified: 0000000000006000 - 000000000009fc00 (usable)
[    0.000000]  modified: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  modified: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  modified: 0000000000100000 - 00000000bb974000 (usable)
[    0.000000]  modified: 00000000bb974000 - 00000000bb9bf000 (reserved)
[    0.000000]  modified: 00000000bb9bf000 - 00000000bba83000 (usable)
[    0.000000]  modified: 00000000bba83000 - 00000000bbabf000 (ACPI NVS)
[    0.000000]  modified: 00000000bbabf000 - 00000000bbaec000 (usable)
[    0.000000]  modified: 00000000bbaec000 - 00000000bbaff000 (ACPI data)
[    0.000000]  modified: 00000000bbaff000 - 00000000bbb00000 (usable)
[    0.000000]  modified: 00000000bbb00000 - 00000000c0000000 (reserved)
[    0.000000]  modified: 00000000f8000000 - 00000000fc000000 (reserved)
[    0.000000]  modified: 00000000fec00000 - 00000000fec01000 (reserved)
[    0.000000]  modified: 00000000fed10000 - 00000000fed14000 (reserved)
[    0.000000]  modified: 00000000fed18000 - 00000000fed1a000 (reserved)
[    0.000000]  modified: 00000000fed1c000 - 00000000fed20000 (reserved)
[    0.000000]  modified: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  modified: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000]  modified: 0000000100000000 - 0000000140000000 (usable)
[    0.000000] initial memory mapped : 0 - 00c00000
[    0.000000] init_memory_mapping: 0000000000000000-00000000377fe000
[    0.000000] Using x86 segment limits to approximate NX protection
[    0.000000]  0000000000 - 0000400000 page 4k
[    0.000000]  0000400000 - 0037400000 page 2M
[    0.000000]  0037400000 - 00377fe000 page 4k
[    0.000000] kernel direct mapping tables up to 377fe000 @ 7000-c000
[    0.000000] RAMDISK: 37858000 - 37fefc91
[    0.000000] Allocated new RAMDISK: 008de000 - 01075c91
[    0.000000] Move RAMDISK from 0000000037858000 - 0000000037fefc90 to 008de000 - 01075c90
[    0.000000] ACPI: RSDP 000fe020 00024 (v02 ACRSYS)
[    0.000000] ACPI: XSDT bbafe120 00064 (v01 ACRSYS ACRPRDCT 00000001      01000013)
[    0.000000] ACPI: FACP bbafd000 000F4 (v04 ACRSYS ACRPRDCT 00000001 1025 01000013)
[    0.000000] ACPI: DSDT bbaee000 092C9 (v01 ACRSYS ACRPRDCT 00000001 1025 01000013)
[    0.000000] ACPI: FACS bba8f000 00040
[    0.000000] ACPI: HPET bbafc000 00038 (v01 ACRSYS ACRPRDCT 00000001 1025 01000013)
[    0.000000] ACPI: APIC bbafb000 0006C (v02 ACRSYS ACRPRDCT 00000001 1025 01000013)
[    0.000000] ACPI: MCFG bbafa000 0003C (v01 ACRSYS ACRPRDCT 00000001 1025 01000013)
[    0.000000] ACPI: ASF! bbaf9000 000A5 (v32 ACRSYS ACRPRDCT 00000001 1025 01000013)
[    0.000000] ACPI: NSLI bbaf8000 00176 (v01 ACRSYS ACRPRDCT 00000001 1025 01000013)
[    0.000000] ACPI: BOOT bbaed000 00028 (v01 ACRSYS ACRPRDCT 00000001 1025 01000013)
[    0.000000] ACPI: SSDT bbaec000 00655 (v01  PmRef    CpuPm 00003000 INTL 20051117)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] 2115MB HIGHMEM available.
[    0.000000] 887MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 377fe000
[    0.000000]   low ram: 0 - 377fe000
[    0.000000]   node 0 low ram: 00000000 - 377fe000
[    0.000000]   node 0 bootmap 00008000 - 0000ef00
[    0.000000] (9 early reservations) ==> bootmem [0000000000 - 00377fe000]
[    0.000000]   #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
[    0.000000]   #1 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
[    0.000000]   #2 [0000006000 - 0000007000]       TRAMPOLINE ==> [0000006000 - 0000007000]
[    0.000000]   #3 [0000100000 - 00008d9e98]    TEXT DATA BSS ==> [0000100000 - 00008d9e98]
[    0.000000]   #4 [000009fc00 - 0000100000]    BIOS reserved ==> [000009fc00 - 0000100000]
[    0.000000]   #5 [00008da000 - 00008dd1ac]              BRK ==> [00008da000 - 00008dd1ac]
[    0.000000]   #6 [0000007000 - 0000008000]          PGTABLE ==> [0000007000 - 0000008000]
[    0.000000]   #7 [00008de000 - 0001075c91]      NEW RAMDISK ==> [00008de000 - 0001075c91]
[    0.000000]   #8 [0000008000 - 000000f000]          BOOTMAP ==> [0000008000 - 000000f000]
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000000 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x000377fe
[    0.000000]   HighMem  0x000377fe -> 0x000bbb00
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[6] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00000002
[    0.000000]     0: 0x00000006 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x000bb974
[    0.000000]     0: 0x000bb9bf -> 0x000bba83
[    0.000000]     0: 0x000bbabf -> 0x000bbaec
[    0.000000]     0: 0x000bbaff -> 0x000bbb00
[    0.000000] On node 0 totalpages: 768513
Note: if you can not see entire message please use 'dmesg|more' to see output page by page

4. Now configure wvdial.conf in your favorite  text editor. 





afzal@afzal-laptop:~$ sudo gedit /etc/wvdial.conf
enter your root password
paste the following in /etc/wvdial.conf file and save
[Modem]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = #777
New PPPD = yes
Modem = /dev/ttyUSB0
Username = waps
Password = waps
Baud = 9600

[Dialer cdma]
Username = waps
Password = waps
Phone = #777
Stupid Mode=1
Inherits=Modem





5. After saving wvdial.conf file , you are done configuring your device, now you can connect to internet by typing the following command































afzal@afzal-laptop:~$ sudo wvdial cdma
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATZ
OK
--> 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
--> Timed out while dialing.  Trying again.
--> Sending: ATDT#777
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 230400
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Aug  5 13:03:08 2010
--> Pid of pppd: 2344
--> Using interface ppp0
--> pppd: �50[08]�40[08]
--> pppd: �50[08]�40[08]
--> pppd: �50[08]�40[08]
--> pppd: �50[08]�40[08]
--> pppd: �50[08]�40[08]
--> pppd: �50[08]�40[08]
--> local  IP address 10.1.104.8
--> pppd: �50[08]�40[08]
--> remote IP address 2.2.2.2
--> pppd: �50[08]�40[08]
--> primary   DNS address 117.18.224.146
--> pppd: �50[08]�40[08]
--> secondary DNS address 117.18.224.147
--> pppd: �50[08]�40[08]
To disconnect press CTRL+C


Cooooooool , you are now connected to internet using your citycell zoom. happy browsing!!!

Feel free to comment in case you find any difficulty installing the same in your machine.







T

No comments: