Archive for December, 2009

BSNL 3G Modem (HUAWEI E156G) in Linux

December 26, 2009

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

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




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.