You need to edit 2 files replace raspberry with <name> this is what you choose and does not need <> brackets
raspberry
You will see raspberry change this to whatever you want (one word with limited characters apply) <name>
CTRL+X press Y then hit Enter
Change the entry 127.0.1.1 raspberry
To 127.0.1.1 <example>
sudo reboot
1. Edit the hostname file
sudo nano /etc/hostnameraspberry
You will see raspberry change this to whatever you want (one word with limited characters apply) <name>
CTRL+X press Y then hit Enter
2. Next you need to change the hosts file
sudo nano/etc/hostsChange the entry 127.0.1.1 raspberry
To 127.0.1.1 <example>
3. Reboot
When you login you will see pi@<name> ~ this is your new promptsudo reboot
Ei kommentteja:
Lähetä kommentti