Installing CDMA Phone (Qualcomm Chipset) for Internet Usage

Now after Linux been installed the first thing I needed to setup was my internet. I had a PTCL provided ZTE phone which uses CDMA technology. I started my search and soon got know this is possible.

First I tried to see if my phone is being detected by Ubuntu by using command “lsusb” on the terminal. This showed me that my phone was there.

Then I searched dmesg to see where my phone was being placed in /dev. The results of this command showed me something like “USB ACM device” and “/dev/ttyACM0” which meant that my phone was ready to be used for the internet.

In Linux wvdial is used as a connection dial just like the way dial up connection application in windows. Just because there is some command line kinda thing need to be done before you can use, it looks such a trouble. Anyways what need to be done was this code to be placed in the wvdial.conf file in /etc.

First the system didn’t allowed me to add this thing and save it in the file but since I was determined to do it searched in the book I bought (Linux for Dummies), to see how I can get root access and found command “sudo” which gave me access to edit the file.
Complete command which I used to do that was

sudoedit /etc/wvdial.conf

[Dialer ptcl]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Modem Name = CDMA
Modem Type = USB Modem
Phone = #777
Username =
Password = ptcl
Stupid Mode = 1
PPPD Options = crtcts multilink usepeerdns lock defaultroute

After this I had to make a link for this so this is the command i used

“sudo ln -s /dev/ttyACM0 /dev/ptcl”

When done I opened terminal and entered “wvdial ptcl” and saw internet connection being made an DHCP assigning my computer an IP. When I did this thing on Fedora I wasn’t able to browse, use my IMs etc. but was able to ping any IP or server which confirmed me that I was connected to the internet but there is something else which I am missing so I looked for the services which were running at that particular time and found out that the TCP/IP service (name i don’t remember) was disabled. I just enabled that and there it go, I was successful in overcoming this problem. 

Just for an example this was the output I got. Though I still have questions as to what few things on this output mean like pap-secrets and chap-secrets but for now, as long as I’m connected, I’ll leave them for later.


/hrao@rao:~$ wvdial ptcl
–> WvDial: Internet dialer version 1.56
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
–> Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
–> Carrier detected. Waiting for prompt.
–> Don’t know what to do! Starting pppd and hoping for the best.
–> Starting pppd at Wed Oct 3 14:21:35 2007
–> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
–> –> PAP (Password Authentication Protocol) may be flaky.
–> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
–> –> CHAP (Challenge Handshake) may be flaky.
–> Pid of pppd: 5054
–> Using interface ppp0
–> pppd: [10] [06][08]
–> pppd: [10] [06][08]
–> pppd: [10] [06][08]
–> pppd: [10] [06][08]
–> pppd: [10] [06][08]
–> local IP address
–> pppd: [10] [06][08]
–> remote IP address
–> pppd: [10] [06][08]
–> primary DNS address
–> pppd: [10] [06][08]
–> secondary DNS address
–> pppd: [10] [06][08]


At this point if Ctrl + C is pressed in the same terminal the connection will be disconnected and something like this will be written on the terminal window and when the prompt appears again, that means the connection has been successfully closed.

Caught signal 2: Attempting to exit gracefully…
–> Terminating on signal 15
–> pppd: [10] [06][08]
–> Connect time 75.7 minutes.
–> pppd: [10] [06][08]
–> pppd: [10] [06][08]
–> Disconnecting at Wed Oct 3 15:37:21 2007

I am still searching for more on this one, like if I could have some shortcut made on my desktop like i have in windows system and let it run in background.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.