I have recently received my second pi in the mail and am not sure how to rename them so that they don't clash being on the same network.
I thought it was as simple as editing /etc/hostname in nano
This did largely work but I have noticed a few issues
1) When I close the desktop I notice error messages e.g. bad display name "serverpi:0" in "remove" command
2) When trying to download a package i get "-bash: syntax error near unexpected token ';;'"
3) My router shows both PIs as still being "RASPBERRYPI"
How do I change the name of the PI?
Is it necessary when using multiple PIs on a network?