Select Page

You can change your Raspberry Pi’s host name. Your host name is referenced in two raspbian configuration files. Open up the terminal window. After you make these changes, reboot your raspberry pi.

The following file will the default host name pi. Change it to your new name
$ sudo vi /etc/hostname

Also, change in the following file.
$ sudo vi /etc/hosts127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters pi -->Change this to your new name