Raspberry Pi Basic Setup – UPDATE

This post is an updated version of the setup guide that I had posted back in 2014. Many things have changed since then and a lot of improvements have been made to the hardware and software as such. The most notable things are the integration of Wifi and Bluetooth modules on the Pi. This eliminates the use of extra hardware. Also, SSH is now enabled by default – that means the Pi is now totally independent of a monitor, keyboard and a mouse, that was a requirement for the previous versions at least for the first boot! In the following tutorial, I will take you through a step by step guide … so let’s start.

Make sure you have the followings things before you proceed:

  1. Raspberry Pi 3
  2. MicroSD card
  3. SD card reader/adapter
  4. LAN cable (needed for the first time setup)

Continue reading

How to setup a Static IP Address for Raspberry Pi – UPDATE

This post is the much-awaited update to this series of setting up a static IP address. The newer version of Raspbian (Jessie) seems to have an issue with the traditional method of modifying the interfaces file. The reason is the introduction of dhcpcd demon in the newer version of Raspbian which is parsed before the interfaces file. To setup the static IP follow the below steps:

Step 1: SSH into the Raspberry Pi

Log in into the Pi using SSH. If you are not aware how to do this, here’s a tutorial. Continue reading

How to install Node.js on Ubuntu 14.04/15.04

The official Node.js site provides a windows installer for a hassle free installation. Alternatively, in the case of Linux and its various flavours, there is no specific install instruction. And the resources on the internet can provide you with too much of information and it would take some time to narrow down to what’s needed. To save your time, I have listed the required commands below:

Bam! It’s done. It was that simple.

Let’s test if the installation was successful by writing a Hello World program. Below is the code to create a simple http server:

Open up a browser and navigate to http://localhost:8080. If everything is okay, you should see “Hello, World!”.

Cast Media Content from Raspberry Pi!

The idea for this post comes as a solution to one of the problems that I faced – Sharing content with a group of friends at the same time.

Sharing content (Videos, Music, Pictures) with people around you can be a bit tricky if you have to share large files to multiple people at the same time. By sharing, I mean either the user downloads the content on to  his device or just casts it from another device. To do this there are some options available, but none of them seems to be good enough. Here are the popular ones – SuperBeam, SoftwareDataCable. Both these apps can share content but cannot cast it, so they are not done for my purpose!

To solve this issue, I decided to go with DLNA. Find more about it here. Continue reading

How To Connect Raspberry Pi To A Phone

This tutorial includes basic steps to help you connect the raspberry pi to your phone (android, windows, ios). In order to achieve this, we will be going the wireless way! No more wires! This is a step forward to make the raspberry pi truly portable.

Things needed:

  1. Raspberry Pi
  2. Wifi Dongle
  3. A phone with WiFi tethering

First of all set up the WiFi dongle for use with raspberry pi. If you have no idea of how to go about this, here’s a tutorial. Continue reading