How to change your raspberry pi name in your network?

It is always confusing to have a few raspberry pi’s connected to your network, all of them will have the same name – raspberrypi – how to change it?

go to the line with raspberrypi name

change to whatever you like

Next change hostname:

change raspberrypi to myNewHostnameName

type next command to commit all changes

after rebooting type in terminal:

Now your name should be myNewHostnameName in your lan network – make sure to clear device list in your router.

Speak Your Mind