sudo vi /etc/hosts
# replace raspberrypi with your desired hostname, and save
sudo vi /etc/hostname
# replace raspberrypi with your desired hostname, and save
# you will get a warning about "sudo: unable to resolve host raspberrypi" after save
sudo reboot
- The host should now be available on hostname.local