Tuesday, October 2, 2012

Default boudrate of Raspberry Pi USART available in GPIO is 115200. To use this serial port for communicating with Slow microcontrollers Like Arduino and PIC you need some modifications. For example if you want to change Raspberry Pi USART Boudrate to 9600:

Fist You change the console baudrate:
To change the console baudrate, edit /boot/cmdline.txt to look like this (this is all in single line):

Thursday, September 27, 2012

To make any changes in GRUB 2 you need to edit the main GRUB 2
configuration file located in /etc/default/ folder, you can edit it by
running the following command from terminal:sudo gedit /etc/default/grubyou can see the contents like

# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.# For full documentation of the options in this file, see:# info -f grub -n 'Simple configuration'

Tuesday, September 18, 2012

MAC address is the unique serial number of your Network Card. It is SIX TWO-Digit HEX Numbers Separated by Column(:). By using MAC number You can Identify your Network Card Manufacturer.
By using the simple command ifconfig you can find your MAC Address.

Open a terminal and type ifconfig , you will get a text output. In the first line you can see likeHWaddr:00:BA:13:67:78:76.

GIMP (GNU Image Manipulation Program) is a free image editing and manipulation tool editor which is often tagged as a free Photoshop alternative. It can handle essential image editing tasks like image resizing, editing, cropping, photomontages, and converting images between different image file formats. GIMP is freely available for most popular operating systems including Microsoft Windows, Apple Mac OS X, and Linux. Also with this free cheat sheet you will receive daily updates on new cool websites and programs in your email for free, courtesy of MakeUseOf.
Click Here

Friday, August 31, 2012

Mario is now Tux. Super Tux is a replica of our good old
Super Mario game, except for the "Tux". There is an similar alternative
called Secret Maryo Chronicles which you might want to take a look. If you are an Ubuntu user, click here to install Super Tux.
In debian
Open a terminal and type

Tuesday, August 28, 2012

If you are buying a new computer, it is best to select one with a
wireless component that is designed for free software like Linux. A
card designed for free software gives you improved support. Free
software compatible devices also work out of the box.

To determine what wireless card/chipset you have, first determine
whether it is a separate device plugged into the computer or not. If it
is a separate USB device, open up a terminal and type the following:

Monday, August 20, 2012

CuttleFish is an Interesting application for ubuntu users , if you want to set a trigger and automate tasks based on the result of a
prior action.
Cuttlefish is an app for Ubuntu that allows you to create a series of
tasks that can be triggered based on the result of a prior action.

example: you could set up a reflex to deactivate Bluetooth and WiFi when
the screen locks; or have Firefox open when you connect to Wifi. You
can even set up your wallpaper to change when you plug in a USB device.

Friday, August 17, 2012

By using a Nice utility Gloobus you can view almost all file type. Gloobus is a free application for GNU / Linux . Gloobus-Preview is an extension for the Gnome Desktop designed to enable a full screen preview of any kind of file. It allows instant access to a variety of file types without the need of opening their default application.

You can access the preview mode from several ways, right click on the file you want to preview and choose “Preview” o simply hit the Space key on your keyboard.

Gloobus can currently preview over 40 file formats and its family is still growing:

Linux from Scratch describes the process of creating your
own Linux system from scratch from an already installed Linux
distribution, using nothing but the source code of software that you
need.

This 318 page eBook provides readers with the background and instruction
to design and build custom Linux systems. This eBook highlights the
Linux from Scratch project and the benefits of using this system.

Users can dictate all aspects of their system, including directory
layout, script setup, and security. The resulting system will be
compiled completely from the source code, and the user will be able to
specify where, why, and how programs are installed.

This eBook allows readers to fully customize Linux systems to their own needs and allows users more control over their system.

Thursday, August 16, 2012

badblocks is a Free software to check for bad sectors on a disk drive. It
creates a list of these sectors that can be used with other programs, like
mkfs, so that they are not used in the future and thus do not cause corruption
of data. It is part of the e2fsprogs project.

It will help you to check your drive periodically for bad
blocks. It will list out all bad blocks. This list can be fed to fsck to be
recorded in the filesystem data structures so that the operating system won’t
try to use the bad blocks for storing data. The following example will show how
this could be done.

Open a terminal, type
following command:

$ sudo badblocks
-v /dev/hda1 > bad-blocks

The above command will generate the file bad-blocks in the
current directory from where you are running this command.

Now, you can pass this file to the fsck command to record
these bad blocks

$ sudo fsck -t
ext4 -l bad-blocks /dev/hda1

Pass 1: Checking
inodes, blocks, and sizes

Pass 2: Checking
directory structure

Pass 3: Checking
directory connectivity

Pass 4: Check
reference counts.

Pass 5: Checking
group summary information.

/dev/hda1: *****
FILE SYSTEM WAS MODIFIED *****

/dev/hda1: 25/360
files, 44/1440 blocks

If you have already used badblocks , e2fsck
will try to move the block to another place. If the block was really bad, not
just marginal, the contents of the file may be corrupted.

now you can restart apache

$/etc/init.d/apache2 restart

Tuesday, July 17, 2012

Here is an easy way to build an exactly similar ubuntu installation on another computer.

Run$ dpkg --get-selections >my_pakages

on the machine
that you want to clone. Install a clean copy of Ubuntu on the target
machine. Copy the file my_packages to the target machine.Run the following command on the target machine. $ sudo dpkg --set-selections < ./package_names$ sudo apt-get -u dselect-upgrade