Make your own Command for wll

February 13, 2009

Those who have read my Bsnl wll article, there is a problem in it. Every time you restart your Linux machine you have to modprobe. So what will we do????

Simple make a command but How???

Take a terminal and type

$PATH (Every thing should be in CAPITAL)

this is the output in my debian machine

bash:/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games: No such file or directory

When you type a command in a shell, shell searches for executable file in directory mentioned by the above command..

So go to /usr/local/bin

make a file wll vi wll

add to lines

modprobe usbserial vendor=0x15eb product=0×0001
wvdial

save and exit

After that change the permission

chmod +x wll to make it executable

Know you have your own command wll


comments to:
Ranjeeth PT
Govt Engg College
Sreekrishnapuram,Palakkad


BSNL WLL And GNU/Linux(Debian)

December 31, 2008

1) You Have To Install Wvdail

* apt-get install wvdial

If you Don’t have the package download. If you are using Debian you add the packages of Disc 2&3

apt-add cdrom then enter the 2nd disk likewise….

2)You have to register the device to the kernel

* modprobe usbserial vendor=0x15eb product=0×0001

ID can be seen by using the command lsusb -v

3) Also add The module

* modprobe ppp_generic

4)See & configure your modem

* wvdialconf ( MODEM-usually – /dev/ttyACM0… OR /dev/USB0… )

4)edit the file in /etc/wvdial.conf with U’r favourite editor

* vi /etc/wvdial.conf

5)make it like this

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+crm=1;+cmux=1;+cps=33;+cta=0
Modem Type = Analog Modem
Stupid Mode = yes
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
Phone = #777
ISDN = 0
Username = Your Phone No: Without 0;
Password = Password is your last 4 digit of your ph: no:

6)Dail

* wvdial

7)take another terminal and ping to see connection to Internet

* ping http://www.google.com (you will raceive data)

8)Take a browser epiphany or mozilla its play time

* epiphany http://www.google.com

comments to:
Ranjeeth PT
Govt Engg College
Sreekrishnapuram,Palakkad


Follow

Get every new post delivered to your Inbox.