Let me first of all make it clear that the activation of your card can be done only using windows so you need to find a windows machine and get your card activated.
Assuming you have activated your card the following are the steps to get it working on ubuntu
Open the Terminal (Application->Accessories->Terminal)
Type SU (Super User, gives administrative privilege will need it little later). Key in the password .
then,
lsusb
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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 003: ID 12d1:1412 Huawei Technologies Co., Ltd.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
This thing pops Out
Note down the no just before Huawei or quallcom depending on which card you use . To my experience all cards of the same vendor will have the same id. like for Huawei itll be 12d1:1412.
next,
modprobe usbserial vendor=0xAAAA product=0xBBBB ,
Where AAAA is 12d1 and BBBB is 1412 in my case.
Then you have to edit wvdial.conf file, type,
gedit /etc/wvdial.conf
This will open wvdial.conf.
(NOTE: wvdial might not be installed , to install it .
Insert original UBUNTU CD
Go to System->Administration->software sources. add cd as a source and close . itll update itself, Then on terminal type,
sudo apt-get install wvdial .
And key in Ur password , that shall do.
NOW coming back to wvdial .conf. Copy and paste this overriding the previous setting in .
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
Phone = #777
New PPPD = yes
Modem = /dev/ttyUSB0
Username = 9876543210 (This is the no written in the back side and changes in every card).
Password = 9876543210 (This is the no written in the back side and changes in every card and is same as user name).
CBaud = 460800
Save it and exist .
Next,
Just enter terminal and sudo Wvdial
And your password to getconnected.
Best of Luck .