Tuesday, November 27, 2012

Default Password of Raspberry Pi

Default password for Raspberry pi 

Debian Wheezy  

Username : pi     Password : raspberry

Arch Linux ARM 

Username : root     Password : root

Thursday, October 25, 2012

How to Install Google drive Client Insync in Ubuntu / Debian Linux



Google Drive is everywhere you are—on the web, in your home, at the office and on the go. So wherever you are, your stuff is just...there. Ready to go, ready to share. Get started with 5 GB free.

Official clints are not available for linux.

 Insync  is an unofficial Google Drive client for Linux, is now available in a repository for Ubuntu and Debian user.

Debian-based distributions

Add Insync as a source
  1. Edit /etc/apt/sources.list and add deb http://apt.insynchq.com/[DISTRIBUTION] [CODENAME] non-free
    Replace [DISTRIBUTION] with your Linux distro: ubuntu, debian
    Replace [CODENAME] with your Linux distro codename: for example Ubuntu 12.04 is precise  eg:
    deb http://apt.insynchq.com/ubuntu precise non-free
  2. Run this in a terminal:
    $ wget -O - https://d2t3ff60b2tol4.cloudfront.net/services@insynchq.com.gpg.key \
      | sudo apt-key add -
    $ sudo apt-get update
Ubuntu with Unity (the default desktop)
$ sudo apt-get install insync-beta-ubuntu
Gnome Shell
$ sudo apt-get install insync-beta-gnome

Wednesday, October 3, 2012

How to recover windows control buttons in Gnome (no maximize, minimize, close buttons) Ubuntu

How to recover windows control buttons in Gnome (no maximize, minimize, close buttons)  Ubuntu

Metacity is the window manager for Gnome Classic. Compiz is another window  manager. If you are using compiz try the following.

Open a terminal

then type

$ ps -ef | grep -e metacity -e compiz

if window manager is compiz

type the following

$ metacity  --replace

If you want to add it permanently

Go to System -> Preferences -> Startup Applications
click Add

metacity  --replace

Tuesday, October 2, 2012

How to Change the Baudrate of Raspberry Pi USART




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):
dwc_otg.lpm_enable=0 console=ttyAMA0,9600 kgdboc=ttyAMA0,9600 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait

Then  edit /etc/inittab to change the baudrate of the getty (you should find a line with baudrate of 115200, change that number to 9600):
2:23:respawn:/sbin/getty -L ttyAMA0 9600 vt100

Restart the system. 

Thursday, September 27, 2012

How to Change Grub2 Default Timeout in Ubuntu / Debian Linux


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/grub you 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'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""


To change the default timeout option in GRUB 2, just  change the GRUB_TIMEOUT parameter.

The value of this parameter is in sec, change this value as per your requirement.

Tuesday, September 18, 2012

How to Find MAC Address in Ubuntu / Debian Linux

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 like HWaddr: 00:BA:13:67:78:76.


Gimp Command Reference ( keyboard Shortcuts) for Ubuntu / Debian Linux


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

Thursday, September 13, 2012

Raspberry pi Trouble Shooting: RED Power LED is Blinking

 Raspberry pi Trouble Shooting: RED Power LED is Blinking

The Red Power LED is directly connected to 3.3V Power supply rail od Raspberry Pi. So it should never Blink. If it is blinking , it means the 5V is dropping out. So change the power supply.

Solution: Change Power Supply with rating 5V,1A (5V, 700ma As per specs)

Check the voltage between Tp1  and Tp2 ( Two points you can see in the board component side.

Monday, September 10, 2012

How to set Password in Raspberry Pi (Raspbian)

The Default Password of  Raspberry Pi image of Debian Squeeze, Wheezy is
        
           username: pi
           password: raspberry 
Now How to Change your password :
Type 

pi@raspberrypi: ~$ passwd

(current) UNIX password: raspberry   # default (Current) Password

Enter new UNIX password: newpassword   # Your New Password Type here

Retype new UNIX password: newpasssword   #Repeat Your New Password.



Friday, August 31, 2012

How to install Ubuntu / Debian Games : Super Tux


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

$ sudo apt-get install supertux