Running wireless internet services of BSNL/Airtel/Idea using Huawei E156G 3g Wireless USB Modem (Dongle) on Red Hat Enterprise Linux 5 (RHEL 5)
wireless modem :-
Step 4:- Issue the command in terminal:- tar jxvf linux-22.214.171.124.tar.bz2 to untar and uncompress the file in the directory /usr/src
Step 5:- Goto the directory using cd in terminal /usr/src/linux-126.96.36.199 and issue the command:- make menuconfig
Step 6:- Just save and come out and issue the command in terminal :- make
Step 7:- Issue the command in terminal:- make modules
Step 8:- Issue the command in terminal:- make modules_install
Step 9:- Issue the command in terminal:- make install
Step 10:- Reboot the system and you will see the new kernel appear in the grub bootloader list. Select the new kernel and boot.
Step 11:- Login as root user and plugin in the Huawei USB wireless modem (the dongle).
Step 12:- Issue the command in terminal:- lsusb to view the device trail. You will find that OS has started detecting the dongle as a modem.
Step 13:- You will see that a device named ttyUSB0 is created in the folder /dev
Step 14:- At this stage we can use either wvdial or kppp program to connect to internet. You have to open a terminal each time to use wvdial whereas kppp is GUI based and has a neat graphical statistics display. Choice is yours.
Step 15 (a):- Issue the command in terminal:- wvdial and you will see that the modem is detected.
Step 15 (b):- Issue the command in terminal:- wvdialconf /etc/wvdial.conf
Step 15 (c):- Edit the file wvdial.conf in /etc folder using gedit or vi editor
Step 15 (d):- Uncomment the lines having Phone, Username and Password by removing ;
Step 15 (e):- Change the Phone to *99#
Step 15 (f):- Change the Username and Password to dummy or anything you like as it doesn’t authenticate with these parameters but it should be there.
Step 15 (g):- Add a line below Init2 like:- Init3 = AT + CGDCONT=1,”IP”,”bsnlnet”
Note :- For Idea replace “bsnlnet” with “internet” and for Airtel replace “bsnlnet” with “airtelgprs”.
Step 16 (a):- Goto Applications -> Internet -> KPPP (Start KPPP)
Step 16 (b):- Click on Configure and goto Modems and Select New
Step 16 (c):- Give a new Modem name say ‘Huawei’
Step 16 (d):- Select Modem device as /dev/ttyUSB0
Step 16 (e):- Select Connection Speed as 9600 bauds
Step 16 (f):- Now goto Modem tab and click on Query Modem and you will see that the modem responds. Close the window.
Step 16 (g):- Now click the Modem Commands button and for using BSNL services put the the following string in Initialization string 2 :- AT + CGDCONT=1,”IP”,”bsnlnet”. For Airtel services simply replace “bsnlnet” with “airtelgprs” and for Idea services replace the string “bsnlnet” with “internet”. Press OK and come out.
Step 16 (h):- Now goto Accounts tab and select New.
Step 16 (i):- Select Manual Setup
Step 16 (j):- Give a name to the new connection say ‘BSNL’
Step 16 (k):- Besides the Phone Number text box use the Add button to add a phone number as *99#
Step 16 (l):- Put any value in Username and Password as it does not authenticate with these parameters.
Thats it! Enjoy surfing internet!
2. You may get ‘no buffer’ error while using any terminal command. Maybe some options have to be selected while using menuconfig which I have not figured out yet. (Any help will be appreciated).
11 Responses to “Running wireless internet services of BSNL/Airtel/Idea using Huawei E156G 3g Wireless USB Modem (Dongle) on Red Hat Enterprise Linux 5 (RHEL 5)”
to install and configure huwaie e220 to redhat interprise 5?
March 10, 2011 at 1:56 am | Reply