{"id":978,"date":"2016-11-01T17:15:45","date_gmt":"2016-11-02T01:15:45","guid":{"rendered":"https:\/\/accretiondisc.com\/blog\/?p=978"},"modified":"2016-11-01T17:15:45","modified_gmt":"2016-11-02T01:15:45","slug":"ubuntu-16-10-and-zeroconf","status":"publish","type":"post","link":"https:\/\/accretiondisc.com\/blog\/2016\/11\/01\/ubuntu-16-10-and-zeroconf\/","title":{"rendered":"Ubuntu 16.10 and Zeroconf"},"content":{"rendered":"<p>I don&#8217;t do enough system admin to enjoy it when I do. (Does anyone?)<\/p>\n<p>When you upgrade Ubuntu, you lose a lot of the software you&#8217;d installed. There&#8217;s a <a href=\"https:\/\/twitter.com\/accretiondiscsw\">list of system admin tips that I try to remember<\/a> here. (Which reminds me, I should find a better home for it for when Twitter dies.)<\/p>\n<p>I couldn&#8217;t resolve names of Macs in my local network. I should point out what a shame it is that Mac addresses aren&#8217;t the same thing as <a href=\"https:\/\/en.wikipedia.org\/wiki\/MAC_address\">MAC addresses<\/a>, since Google as my primary system admin resource.<\/p>\n<p>That&#8217;s the work of <a href=\"https:\/\/wiki.archlinux.org\/index.php\/avahi\">avahi-daemon and friends<\/a> (a\/k\/a <a href=\"https:\/\/help.ubuntu.com\/community\/HowToZeroconf\">Zeroconf<\/a> and Bonjour). For awhile I thought that something had broken there. But eventually, I figured out that was working, i.e., the problem lay elsewhere.<\/p>\n<p>I wondered if they&#8217;d added a firewall to 16.10. They did (or, for all I know, they&#8217;ve always had one) called <em>ufw<\/em> (more <a href=\"https:\/\/wiki.ubuntu.com\/UncomplicatedFirewall\">here<\/a>), but it&#8217;s (still) not enabled by default. If that ever changes, I can learn what to do about it <a href=\"https:\/\/help.ubuntu.com\/community\/UFW\">here<\/a>.<\/p>\n<p>After about an hour, I found out there is something called <em>nss-resolve<\/em>. Which is actually a pretty clever idea. Except it wasn&#8217;t working. Its <a href=\"http:\/\/www.gnu.org\/software\/libc\/manual\/html_node\/Host-Names.html#Host-Names\">configuration file is well documented<\/a> here. Good luck figuring that out.<\/p>\n<p>Finally, I just compared my 16.10 <tt>\/etc\/nss-switch.conf<\/tt> file with the one from a working installation of 16.04.1. <strong>HAH!<\/strong><\/p>\n<p>Not only was there a difference, it gave me a string I could Google. That brought me to this: <a href=\"http:\/\/askubuntu.com\/questions\/837982\/how-to-configure-local-dns-lookup-in-ubuntu-16-10\">http:\/\/askubuntu.com\/questions\/837982\/how-to-configure-local-dns-lookup-in-ubuntu-16-10<\/a><\/p>\n<p>It also brought me to this: <a href=\"https:\/\/github.com\/systemd\/systemd\/issues\/4157\">https:\/\/github.com\/systemd\/systemd\/issues\/4157<\/a>, which (if I read it correctly) says that I should go ahead and use the string from 16.04.1 that works instead of the one from 16.10 that doesn&#8217;t.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I don&#8217;t do enough system admin to enjoy it when I do. (Does anyone?) When you upgrade Ubuntu, you lose a lot of the software you&#8217;d installed. There&#8217;s a list of system admin tips that I try to remember here. (Which reminds me, I should find a better home for it for when Twitter dies.) [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[52],"tags":[809,428,162],"class_list":["post-978","post","type-post","status-publish","format-standard","hentry","category-technology","tag-system-admin","tag-ubuntu","tag-upgrade"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRqpr-fM","_links":{"self":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/comments?post=978"}],"version-history":[{"count":0,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/978\/revisions"}],"wp:attachment":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/media?parent=978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/categories?post=978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/tags?post=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}