@@ -67,8 +67,6 @@ You can add your personnal SSH public key to the Raspberry Pi's `authorized_keys
ssh-copy-id pi@raspberrypi.local
```
**Note**: It is possible to encounter an issue where SSH is very slow when connecting using mDNS `your-hostname.local` after changing the default hostname... After a bit of research and experiments, it looks like you need to edit the `/etc/avahi/avahi-daemon.conf`, uncomment and change `host-name=your-hostname` to match your hostname. Now reboot and it should be working just fine.
### Change locale
```sh
...
...
@@ -110,8 +108,10 @@ sudo raspi-config
Go to 'System Options'> 'Hostname' and enter the new hostname you want to use. This will modify the `/etc/hostname` and `/etc/hosts` files.
In `/etc/avahi/avahi-daemon.conf`, uncomment the `host-name` and set it to your new hostname: `host-name=your-hostname`. For some reason, if you don't change this then the SSH connection when using the custom domain name is very slow...
Reboot your Raspberry Pi for the `avahi` mDNS daemon to apply the changes.
You should now be able to `ping your-hostname.local` from your computer if it is on the same network as the Raspberry Pi.
You should now be able to `ping your-hostname.local`and `ssh pi@your-hostname.local`from your computer if it is on the same network as the Raspberry Pi.