Thursday, April 23, 2009

HOWTO: 3G Mobile Broadband on Ubuntu

Do you like to connect to your Mobile Boardband internet through Ubuntu?

Do you like to send SMS through your mobile board internet?

Do you like to have the same program which comes with your Mobile boardband pakage in Ubuntu? To monitor your usage, manage contacts, ...

Vodafone Mobile boardband software for Linux makes everything easy for you. Also since we are in Linux enviorment and EVERYTHING IS POSSIBLE we can use this tool to content to other company's mobile boardband connections such as 3G.

Here is a step by step help to connect your How to connect to your Mobile Boardband internet through Ubuntu (the setting that I describe here is for Australian 3G Mobile Boardband service):

1. Get last version of vodafone-mobile-connect-card-drive from https://forge.betavine.net/frs/?group_id=12

2. Install it. (very simple process just you need to run the installer)

3. sudo gedit /usr/share/vodafone-mobile-connect-card-driver-for-linux/resources/templates/wvdial.conf.tpl

Change line according to below codes:

# wvdial template for VMC

[Dialer Defaults]

Phone = *99#
Username = $username
Password = $password
Stupid Mode = 1
Dial Command = ATDT
Check Def Route = on
Dial Attempts = 3

[Dialer connect]

Modem = $serialport
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
Init4 = AT+CGDCONT=1,"IP","$apn"
ISDN = 0
Modem Type = Analog Modem

4. Run: sudo modprobe usbserial vendor=0x12d1 product=0x1003

5. Run Vodafone Mobile connection card driver for Linux from Application -> Internet.

6. Create profile with below details:

Username and password = *
Authenticaion type = CHAP
APN host = 3netaccess

7. Save profile and close vodafone.

8. Run: sudo gedit /home/YOUR USERNAME/.vmc2/mobile-profiles/YOUR PROFILE NAME

9. Modify the file according to below codes:

[connection]
username = *
dialer_profile = CHAP
dns2 =
dns1 =
connection = 3GPREF
serialport = /dev/ttyUSB0
phone = *99#
staticdns = no
apn = 3netaccess
password = *

10. save file, open Vodafone program click on Connect and enjoy surfing in the Internet!

For help you can go to: https://forge.betavine.net/forum/?group_id=12

Note: For Prepaid broadband users please change the apn to 3services. Thanks Ege for this information

0 comments: