Now let's configure the network settings. By default, the Raspberry Pi automatically gets an IP address via DHCP.

It also has zeroconf/bonjour installed which will announce the Raspberry Pi on the local network to make it available as http://raspberrypi.local370. If zeroconf is not installed, you can install it with

sudo apt-get install avahi-daemon Under advanced settings in raspi-config, you can change the hostname. The zeroconf address is http://hostname.local77 and raspberrypi is the default hostname. So if you do not change the hostname, the address is http://raspberrypi.local370

If you do not which to use ZeroConf, it is recommended to give your Raspberry Pi a static IP address. This step is optional. You can skip to SSH if you want to keep the automatically assigned address.

To set up a static address run:

'sudo nano /etc/network/interfaces'

My /etc/network/interfaces file looks like this:

auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
  address 192.168.0.6
  netmask 255.255.255.0
  gateway 192.168.0.1
  dns-nameservers 8.8.8.8
  wpa-ssid "YOUR_SSID"
  wpa-psk "YOUR_PASSPHRASE"

It is recommended to pick a static Ip address that is outside of your router’s DHCP range. (usually .100-.200) The right IP addresses depend on your home network setup. I have used Google's public DNS server. Exit nano with CTRL-X and say YES to saving changes.

Finally, you will need to restart the networking service for these changes to occur:

'sudo service networking stop'

'sudo service networking start'

Check that you now have network connectivity by pinging google:

'ping google.com' Exit with CTRL-C.

Now that you have network, we can do the rest of the setup over SSH, so you can easily copy/paste commands.