Created
July 12, 2013 14:14
-
-
Save davisford/5984768 to your computer and use it in GitHub Desktop.
Setup avahi-daemon on Ubuntu for so you can reach hostname `ubuntu.local` from host OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install avahi-daemon avahi-discover avahi-utils libnss-mdns mdns-scan |
May I suggest the following as an all-in-one? sudo apt update && sudo apt-get install avahi-daemon avahi-discover avahi-utils libnss-mdns mdns-scan && sudo apt upgrade
. Once that looks good, sudo reboot
. That got me going on my new Ubuntu install on the TuringPi RK-1 modules.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try the hostname without the ".local". I have an Octopi server (its a 3D printer appliance) on a Raspberry Pi and sometimes octopi.local works and sometimes just octopi. Not sure why. Then I just recently installed Avahi on a virtual machine and no matter what I did hostname.local didn't work. Then I tried hostname by itself without a .local and viola! SSH and web browser can both reach it that way.