[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:


(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:


2024-02-11 21:50