BSNL 3G Modem (HUAWEI E156G) in Linux

Heres how to get your Bsnl 3g connection working in linux. Im going to outline a process which uses mandriva since it provides a GUI way of working through configuring an internet connection. You will however find all the relevant information you need to configure something like wvdial (a heuristic auto-dialer) to use this connection in case you want this to work on some other distribution.

First things first, ill describe the connection properties.

1) this is technically a dial up connection. there is a phone number your modem dials using the bsnl network, this is then followed by a authentication process, which results in an internet connection.

2) The phone number for BSNL east is *99# for other zones try plugging the thing into a windows computer and read the connection properties to find the telephone number.

3) The authentication protocol in use is CHAP, to know more http://en.wikipedia.org/wiki/Challenge-handshake_authentication_protocol

4) this renders a username and password inessential.

So here goes,

Right click on the network icon in the taskbar, and click configure network. When this is done, youll be promted for the root password. Enter it.

From the several types of connections you can choose select Analog Telephone modem.

This will present you with a choice of modems, select Manual Choice, then select port  /dev/ttyUSB0. In case this is not present, youre using too old a version of mandriva. The drivers for this ind of modem have been around since kernel version 2.6.20.xx so upgrade to a newer version of mandriva, 2010 is a beauty.

Now, it will present you with a choice of Telephone Number, Username, Password, and the Authentication protocol to be used. In telephone number, write *99# (or the number you read from the windows connection in case you are not in BSNL east)

Leave the username and password fields empty and select CHAP as the authentication protocol. Youre done!

press next and youre presented with DNS, etc settings, leave all of them at the default (automatic) and press finish. You might want to select allow users to manage this connection on the way.

Your network should now be connected. Enjoy!

EDIT- I had initially tried this  with mandriva 2008.1 and since ppp etc is preinstalled there, there was no problem, on 2010 however youll have some trouble since ppp etc isnt installed.

just download these and install them serially

kppp-provider-4.3.2-1mdv2010.0.i586.rpm

ppp-2.4.4-10mdv2010.0.i586.rpm

kppp-4.3.2-1mdv2010.0.i586.rpm

just do a google search for these and download them. Follow that by double clicking them, which should install them. Now you can follow the instructions starting from “Configure Network” and it’ll work.

5 Responses to “BSNL 3G Modem (HUAWEI E156G) in Linux”

  1. Yudi Bagus Says:

    You help me so much! Thank you for that!

  2. Yudi Bagus Says:

    Just want to say what a great blog you got here!
    I’ve been around for quite a lot of time, but finally decided to show my appreciation of your work!

    Thumbs up, and keep it going!

  3. Billy Vorkink Says:

    17. Lengthy day to you, I was amazed with your work it’s flawless and words are pick perfectly as if it’s truly made for the article as nicely as the ideas on it.

  4. visiontek 3g usb data card Says:

    […] […]

  5. uday Says:

    how to configure on mandriva 2011? Initially the 3g card was detected and I was able to use it. But now a days I am never able to connect. Please help..

Leave a reply to Yudi Bagus Cancel reply