System to Application

June 21, 2010

Life is a hell as i moved from system to application domain.

It really Sucks!!!


Linux On Laptops…..

April 3, 2009

Friends…. while buying a new laptop, check these sites which will give you
which all linux distros will support which all laptops…..

http://www.linux-laptop.net/

http://tuxmobil.orgO


Avr-Microcontrollers-in-Linux-Howto

March 18, 2009

Linux Documentation Project Howto:
Stable Version Released
Wiki Released
Avr-Microcontrollers-in-Linux-Howto

See multiple pages doc… in howto
Problems in pdf files… no image!!!!.Its informed me that it will be soon added
Avr-Microcontrollers-in-Linux-Howto


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


Follow

Get every new post delivered to your Inbox.