Free Software Community At Sreekrishnapuram

March 8, 2009

Free software community at Sreekrishnapuram..
Website under development

screenshot


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=0x0001
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=0x0001

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


Hack Your Parallel Port

September 9, 2008

Parallel Port Description

For blinking LED you have to write a code. i.e. first you have to make the data pin high(pin no:2-9)
we will be writing a C code:

1. #include”stdio.h”
2. #include”sys/io.h” /*Header file for iopl(),outb()*/
3. main()
4. {
5. iopl(3);/*to give your program access to all I/O ports*/
6. while(1)
7. {
8. outb(0xff,0x378); /* it will make the pin 2-9 high(0xff eight 1’s) & 0x378 is the port address*/
9. sleep(1);
10. outb(0x00,0x378);/*it will make the pin 2-9 low */
11. sleep(1);
12. }
13. }

Now comes your circuit. Here we have connected only 1 LED to pin2 and pin 19 is the ground.
You can connect LED to pin 2-9 with a resistor(1k) & control these pins in different way

comments to:
Ranjeeth PT
Govt Engg College
Sreekrishnapuram,Palakkad


Airtel Mobile office & Gnu/Linux (Debian)

September 9, 2008

1)install wvdial

* apt-get install wvdial

2)see & configure your modem

* wvdialconf /etc/wvdial.conf ( MODEM-usually – /dev/ttyACM0… OR /dev/USB… )

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

* vi /etc/wvdial.conf

4)make it like this
[Dialer Defaults]
Init = AT+CGDCONT=1,”IP”,”airtelgprs.com”,””,0,0
Modem Type = USB Modem
Baud = 460800 ; No Need to edit This is my Nokia 3110c modem
New PPPD = yes
Modem = /dev/ttyACM0 ;No Need to edit This is my Nokia 3110c modem(Default)
Stupid Mode = yes
Phone =*99# ;according to your settings in mobile
Password =
Username =
5)ITZ time

* wvdial

OR

* wvdial /etc/wvdial.conf

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

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

7)Take a browser epiphany or mozilla its play time

* epiphany http://www.google.com

Comments to:
Ranjeeth PT
Govt Engg College
Sreekrishnapuram,Palakkad.


Know Your Friend : Mr GNU/Linux

September 9, 2008

In 1969, Kenneth Thompson, Dennis Ritchie and others at AT and T Bell labs began developing Unix. The same year when Linus Torvalds was born. The Unix was far expensive and the source code of Unix was not available. In 1971, Richard Matthew Stallman joined MIT Artificial intelligence laboratory as a programmer. The programmer used to share their code freely among each other. In 1972, Ritchie rewrote Unix in his new programming language C. Because of the emergence of portable software-software which can be compiled to run on different computers, a business model emerged and they refused to share the code.

· RMS-as they call him, the father of GNU movement was against this trend. He believed in the principle that software should be free which led to Free Software Foundation. In 1985, RMS published GNU manifesto and he wanted to create a free operating system called GNU, which would be compatible with Unix. GNU is an acronym for ‘GNU is Not Unix’.

· In the same year Andrew S Tanenbaum wrote Unix like operating system called Minix. It had an advantage that the source code was available. Anyone who happened to get the book ‘The Operating System: Design and Implementation’ by Tanenbaum could get hold of the 12,000 lines of code, written in C and assembly language. It was the first time a hacker could read the source code of an operating system. Students of CS all over the world pored over the book reading through the codes to understand the very system that runs their computer and one of them was Linus Torvalds.

· In 1989,stallman released GNU General Public License now popularly know as GPL or copyleft ,he published all his works under this license, which gives you the legal permission to copy, distribute and/or modify the software, also with the principle’ Ones in GPL always in GPL‘. At the same time RMS along with a group of like minded programmers stared working to develop the tools to make a complete operating system like an editor (emacs),a compiler (gcc),liberies etc… they only lacked a free OS kernel. The GNU kernel HURD was in progress.

· In 1991,the 21 year old sandy haired, soft spoken second year student of CS at the university of Helsinki and self taught hacker ‘Linus Torvalds’ wrote his own kernel and released under GPL. He named it Linux. With the kernel and GNU tools the free OS GNU/Linux was released to the public . Linux is the kernel for an operating system, kernel is not everything for a complete os you should have so many tools like an editor, compiler, liberies, the list goes. All these tools where developed by GNU programmers. Their contribution is not less so it’s GNU/Linux .

Comments to:
Ranjeeth PT
Govt Engg College
Sreekrishnapuram,Palakkad.