Skip to content
Snippets Groups Projects
Commit 03af1827 authored by Thomas VADEBOUT's avatar Thomas VADEBOUT
Browse files

Update paragraph about avahi daemon

parent 6e61c09a
No related tags found
1 merge request!3Slow SSH Connection fix with avahi
......@@ -115,7 +115,9 @@ 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...
In `/etc/avahi/avahi-daemon.conf`, uncomment the `host-name` and set it to your new hostname: `host-name=your-hostname`. For some reason (that we don't know), the use of `avahi` make the SSH connection very slow... We discover a fix that seems to work until now. You need to disable ipv6 connections and also set the domain. Change the value of `use-ipv6` from `yes` to `no` and uncomment line `domain-name=local`.
Reboot your Raspberry Pi for the `avahi` mDNS daemon to apply the changes.
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.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment