Saturday, March 28, 2009

CityCell Zoom in Ubuntu

One of my friends just asked me on how to connect to Internet in Ubuntu/Linux using Citycell Zoom. Here goes the procedure.

Connect your zoom device/phone to your PC/laptops USB port.

Issue this command in the shell:

$lsusb


You shall get a list of devices:


Bus 005 Device 004: ID 05ac:8300 Apple, Inc. Built-in iSight (no firmware loaded)
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 05ac:8205 Apple, Inc. Bluetooth HCI MacBookPro
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 05ac:8240 Apple, Inc. IR Receiver [build-in]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 15ca:00c3 Textech International Ltd. Mini Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 05c6:3197 Qualcomm, Inc. CDMA Wireless Modem/Phone
Bus 001 Device 003: ID 05ac:021a Apple, Inc.
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


Note the line:

Bus 001 Device 004: ID 05c6:3197 Qualcomm, Inc. CDMA Wireless Modem/Phone


The line has following meaninng.


Vendor ID: 05c6
Product ID: 3197


Now execute following command in shell


$sudo modprobe usbserial vendor=0x05c6 product=0x3197


Now back to good old wvdial

sudo wvdialconf


It shall now find a modem in /dev/ttyUSB0

Now open /etc/wvdial.conf and make sure you have the following lines in it.


Phone=#777
Username = waps
Password = waps
Stupid Mode = 1


Now run $sudo wvdial from your shell and you have net. :)

Happy Linuxing ...

3 comments:

spike said...

Hi,
in ubutu 9.04 I can't change wvdial.conf for the telephone number and username & pass word. Whenever I want to do that it says i don't have permission.
Though I'm the only administrative user.
I've installed all the file as per ur post.
But I'm unable to execute the following command in terminal.

$sudo modprobe usbserial vendor=0x05c6 product=0x3197

However in wvdialconf it finds the modem in /dev/ttyUSB0

can you please tell me how to solve this problems

Abu Zaher Md Faridee said...

You should be able to open wvdial.conf if you use sudo mode, I don't see any reason why you can't.


As for the modprobe line, it can't be executed in 9.04 because the module is built-into the kernel now, so you must pass kernel parameters.

Refer to the updates post here for details.

Rubel said...

Simply Great... Just like to share some thing. The full code in wvdial.conf should be like

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Phone=#777
Modem = /dev/ttyUSB0
Username = waps
Password = waps
Stupid Mode = 1
Modem Type = cdma

Back to Blogging

After a failed attempt last year to get back to blogging, I'm trying it again this year. I really wanted to get back, but got busy will...