Feeds:
Posts
Comments

Life Certificate for Doc based on POA

In the state of Tamilnadu, the above form is required for the execution of documents by an Agent under General Power of Attorney based on a Deed of General Power of Attorney that was executed on 1/2/2013 or later. The relevant circular of the department is available at http://www.tnreginet.net/circular/public_Circulars/POA_Circular_04022013.pdf

However, this form is not widely available. It is not even available on the website of registration department as on this date.

Hence, I have typed it out and made it available for users. Kindly take a printout and confirm with the appropriate registrar before using it. Continue Reading »

I started off with a BSNL Clarity IIA CDMA WLL Modem about a year or so ago. As I was new to linux, I could not figure out how to set it up in linux. I learned the method in bits and pieces from various sites, but most of the instructions were from another blog by Hemanathan at http://heman-hemanathan.blogspot.com/2008/08/bsnl-cdma-wll-internet-connection.html which is very detailed and informative. So, the credit for giving me this knowledge and my many thanks to Hemanathan, the blog owner as well as many other article writers, which I have now lost track of.

Recently, I have bought another BSNL WLL connection and this time, I received a Linktop CT800P WLL Modem. I tried using the same techniques as given in Hemanathan’s blog. But I could not somehow figure it out. After tinkering with the PC for quite some time, I got the hang of it.

I am using Linux Mint Debian Edition, Linux Mint 10 GNOME, as well as PCLinuxOS xfce on different PCs. And I have tested these instructions on all three and they work. Linux configurations are stored in text files and if you know how to work around them, then this or any similar job is child’s play. (I am a beginner, though).

And I have given the steps here.

We need 4 text files: –

1) 50-cdma.rules

2) wvdial.conf

3) resolv.conf

4) bsnlnet

The fourth text file “bsnlnet” could actually be any name you wish, but it should not be the same as any legitimate linux command. Filenames and commands are case sensitive in linux. So mind the case.

First up, create a text file called 50-cdma.rules on your Desktop. In Linux Mint, you can right click on Desktop and select ‘Create Document’ –> ‘Empty File’. Then you can type in the file name 50-cdma.rules

Press Enter. This will name the file. Then double click on the file. This will open the file in your default text editor (gedit in Linux Mint and mousepad in PCLinuxOS Xfce edition both work well for me). Then paste the following italicised text into it. Don’t be worried about the hashes ### they will be ignored when you execute these instructions. So, you can copy from the hashes too.

#########################

# For BSNL Linktop CT800P CDMA WLL FWT Instrument (This is just a comment. You can write anything after the # at the beginning of this line. It will not affect this file in any way.)
SUBSYSTEM==”usb”,ATTR{idproduct}==”3197″,ATTR{idVendor}==”109b”,RUN+=”/sbin/modprobe usbserial vendor=0x109b product=0x3197″
SUBSYSTEM==”usb”,ATTR{idproduct}==”3197″,ATTR{idVendor}==”109b”,RUN+=”/sbin/modprobe ppp_generic”

##########################

Then, save the file and close it. You can use Ctrl+S for save and Ctrl+W for close and Alt+F4 for exiting in gedit (default text editor in Linux Mint)

———————————————————————————————-

Now, in a similar way, create another text file called wvdial.conf on your Desktop. Then paste the following italicised text into it. Note: If you already have a wvdial.conf file in your system with details for another connection, then

open a terminal and give the following command

sudo gedit /etc/wvdial.conf

It will ask you for your password. Give your password. It will open the wvdial.conf file. Then paste the following italicised text into it at last.

##########

# wvdial configuration for BSNL Linktop CT800P Instrument (This is just a comment. You can write anything after the # at the beginning of this line. It will not affect this file in any way.)

[Dialer ctp]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Stupid Mode = 1
Baud = 115200
FlowControl = Hardware(CRTSCTS)
Phone = #777
Username = abcd
Password = abcd
Modem = /dev/ttyUSB0

##########

Note: In the above text, replace the username and password with your own. If you are appending to an existing wvdial.conf file, see to it that you do not have another section named [Dialer ctp]. Save the file, close it.

———————————————————————————-

Now, in a similar way, create another text file called resolv.conf on your Desktop. Then paste the following italicised text into it.

nameserver 218.248.240.181
nameserver 208.67.220.220

Save the file and close it.

Note that these DNS numbers may vary according to your place. You can best find them from your local BSNL office.

———————————————————————————

Now create another text file on your Desktop called bsnlnet and paste the following italicised text into it.

#########

#!/bin/bash
sudo modprobe usbserial vendor=0x109b product=0x3197
sudo modprobe ppp_generic
sudo wvdial ctp

#########

——————————————————–

OK, now you have created the 3 basic text configuration files 50-cdma.rules, wvdial.conf, and resolv.conf as well as one (not yet) executable file bsnlnet. The next step is to put the configuration files in their appropriate places and make the bsnlnet command an executable file.

Open up a terminal. In Linux Mint (also in many other linux distributions) right click on Desktop and select ‘Open in Terminal’.

Make sure you are opening the terminal from the same folder in which our 4 files are located (if you did as i said, they must be sitting on your Desktop). Or if you are opening the terminal from any other location then go to your Desktop with the following command

cd ~/Desktop

First, we will move the 50-cdma.rules file to its home with the following command.

sudo cp -vf ./50-cdma.rules /etc/udev/rules.d/

Give your password when asked. If all is well, you should see the following response

`./50-cdma.rules’ -> `/etc/udev/rules.d/50-cdma.rules’

Second, we will move the wvdial.conf file to its home. Note: If you have appended to your existing wvdial.conf file, then you can skip this step or else your existing wvdial.conf file will be overwritten. Those who are creating the wvdial.conf file for the first time can use the below command.

sudo cp -vf ./wvdial.conf /etc/

Give your password when asked. If all is well, you should see the following response

`./wvdial.conf’ -> `/etc/wvdial.conf’

Third, we will move the resolv.conf file to its home with the below command.

sudo cp -vf ./resolv.conf /etc/

Give your password when asked. If all is well, you should see the following response

`./resolv.conf’ -> `/etc/resolv.conf’

Finally, we are going to create your own custom command to connect to internet through this modem, with the following commands.

sudo chmod 777 ./bsnlnet

again, if asked, give your password. This command will not give you any responses, though. This command is to give read, write, and execute rights for bsnlnet command to user, group and others.

Next we will move this command to user commands region with the following command.

sudo cp -vf ./bsnlnet /usr/bin

Give your password when asked. If all is well, you should see the following response

`./bsnlnet’ -> `/usr/bin/bsnlnet’

If things went as they should have, then we have created the configurations and command to start browsing the internet on your PC from your linux operating system.

Now, for the configuration files to take effect, we have to restart our system.

First, boot in to your system and log in. Only later should the modem’s USP pin be connected to your PC. If you have connected the USB pin before booting or logging in, it may not work properly.

We have two options now:

Option 1:

If you prefer click-and-go, then you can straight away click the bsnlnet command on your desktop. It will give you some options, you should select ‘Run in Terminal’. Then it will ask for your password. Enter your password to continue. (Disadvantage of this method is that if and when your internet connection gets disturbed or disconnected, you cannot track the time and reason immediately as the terminal will disappear)

Option 2:

Open up a terminal and give the following command.

bsnlnet

Give your password. Advantage of option 2 is as and when your internet connection gets disturbed, you can see the time of and reason for disconnection as the terminal will not have disappeared.

In both cases, you can see the conversations between your PC and the modem and again, if all is well you should see something like this (need not be and definitely will not be identical to the following)

user@user-pc ~/Desktop $ bsnlnet
–> WvDial: Internet dialer version 1.61
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT
–> Carrier detected.  Starting PPP immediately.
–> Starting pppd at Thu Mar  3 20:44:51 2011
–> Pid of pppd: 12345
–> Using interface ppp0
–> local  IP address 117.254.111.11
–> remote IP address 192.168.52.12
–> primary   DNS address 218.248.240.181
–> secondary DNS address 208.67.220.220

You are now ready to browse. Open your favourite browser and fire away!!!

Thank you for reading. If there is any error above or for giving feedback or seeking help, please do comment…