[FrontPage] [TitleIndex] [WordIndex

Changing the Raspberry Pi's Hostname

Old Method

Simply edit /etc/hostname and /etc/hosts (eg. via sudo nano /etc/hostname) replacing raspberrypi in a similar fashion to that shown in the screenshot below:

TightVNC_raspiblack#2.png

(and then restart your Pi)

NB: /etc/hostname is not a script file and the name there has to be replaced rather than #-commented out (something I forgot when working with a Model A Pi months after creating this page!)

New Method - An option in raspi-config:

raspi-config_hostname.png



2024-02-11 21:50