I am involving in a project where I have to connect to the Internet using 3G USB Air Card. install the following packages
sudo apt-get install usb-modeswitch ppp libusb-dev
Sakis3G is a tweaked shell script that helps end user connecting through through 3G/UMTS/GPRS. Get sakis3g source from git
git clone git://github.com/Trixarian/sakis3g-source cd sakis-source mkdir build ./compile
sudo cp build/sakis3gz /usr/bin/sakis3g
When I first compiled it failed to compile and I had to install libusb-dev. After successfully compile you need to run as root. In fact after compilation it recommend:
sudo bash || su to connect use sakis3g connect or sakis3g --interactive connect
My operator requires to put APN but no username and password required. Sakis3g will guide you how to enter APN but if you do not put username it will quit and cannot connect. What I do is I enter a blank space for my username and password then it connects.