Saturday, April 5, 2014

This article shows how to do it on an Ubuntu machine. But the procedure will be the same on all the Unix and Linux machine. You will need to look for equivalent command for Windows platform. Essentially, this is what I am doing:

Formatting and copying Raspbian OS to the SD card

Editing /etc/network/interfaces file

Putting the SD card in Pi and plugging it to router.

SSHing to Pi and running a couple of commands

This post is geared towards getting Raspberry Pi set up to work from network.

You will not need a separate keyboard or monitor for installation and setup.

We have mask, and gateway from last command. We know that the IP is going to be in 192.168.2.X series. So, lets assign 192.168.2.42 to RasPi. To do this, we need to edit /etc/network/interfaces on the Raspbian OS ***in the SD CARD** which is located at /media/nishant/fc254b57-8fff-4f96-9609-ea202d871acf/etc/network/interfaces. MAKE SURE YOU DO NOT END UP EDITING YOUR UBUNTU'S CONFIG.