I use SE W810i with Airtel Mobile Office service to connect to the internet. There are two ways by which you can do this. One is connecting the mobile phone to the computer using USB cable. Another option is to connect the phone using Bluetooth. Both options allows you to use the phone as a modem. For me both of them worked, but here I will be mention how to configure using USB cable.
I assume that you have subscribed to Airtel Mobile Office and you are able to browse internet using phone.
You need cdc_acm module in order to make your phone act as a modem. I hope you have this compiled as a module. Just plugin the USB cable into your computers USB port and use the command dmesg to see the following messages at the bottom.
usb 2-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: configuration #1 chosen from 1 choice
cdc_acm 2-2:1.1: ttyACM0: USB ACM device
cdc_acm 2-2:1.3: ttyACM1: USB ACM device
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
If you see something similar, that means your device has been detected as a modem. You can access this device using the file /dev/ttyACM0. You can even use minicom or other communication programs to use this device as a modem.
Also you need ppp to connect to the internet. Install ppp daemon for your distribution. Debian users can just do the following to install ppp.
sudo apt-get install ppp
This will install both pppd and chat programs. I won’t get into much detail about these commands here.
1. Create a file /etc/ppp/peers/w810i with the following contents.
connect '/usr/sbin/chat -v -f /etc/ppp/peers/chat-w810i'
2. Now create another file /etc/ppp/peers/chat-w810i with the following contents.
Now you are ready to connect to the internet. Just type in the following command.
sudo pppd call w810i
You must be sudoer for the sudo command to work. It will ask for your password. If you don’t use sudo then you can log in as root and run the same command without sudo in the beginning. Now you will see a message “Connecting” on your mobile phone. If you look at the file /var/log/messages at the bottom you can see something similar to below lines, this means you are connected to the internet.
Jul 30 20:22:18 xxxxxx pppd: Serial connection established.
Jul 30 20:22:18 xxxxxx pppd: Using interface ppp0
Jul 30 20:22:18 xxxxxx pppd: Connect: ppp0 /dev/ttyACM0
Jul 30 20:22:19 xxxxxx pppd: Remote message: Congratulations!
Jul 30 20:22:19 xxxxxx pppd: PAP authentication succeeded
Jul 30 20:22:19 xxxxxx kernel: PPP Deflate Compression module registered
Jul 30 20:22:20 xxxxxx pppd: local IP address 22.214.171.124
Jul 30 20:22:20 xxxxxx pppd: remote IP address 126.96.36.199
Jul 30 20:22:20 xxxxxx pppd: primary DNS address 188.8.131.52
Jul 30 20:22:20 xxxxxx pppd: secondary DNS address 184.108.40.206
Open your favourite browser, mine is firefox, and have fun.