Change Hostname

Currently the Hostname is at the default of raspberrypi, we want something more suited for this project. I will be using library, you could use any name you want or keep it at the default.

To change the hostname we will type

sudo raspi-config

Then select Advanced Options

Then select Hostname

Now you can enter in the Hostname you want to use.

Once you exit the config it will ask if you would like to reboot. Select yes.

When you connect using SSH you will need to enter the new hostname library.local

This guide was first published on Dec 09, 2016. It was last updated on Dec 09, 2016. This page (Change Hostname) was last updated on May 23, 2019.