Ubuntu 16.10 and Zeroconf

I don’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’d installed. There’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.)

I couldn’t resolve names of Macs in my local network. I should point out what a shame it is that Mac addresses aren’t the same thing as MAC addresses, since Google as my primary system admin resource.

That’s the work of avahi-daemon and friends (a/k/a Zeroconf 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.

I wondered if they’d added a firewall to 16.10. They did (or, for all I know, they’ve always had one) called ufw (more here), but it’s (still) not enabled by default. If that ever changes, I can learn what to do about it here.

After about an hour, I found out there is something called nss-resolve. Which is actually a pretty clever idea. Except it wasn’t working. Its configuration file is well documented here. Good luck figuring that out.

Finally, I just compared my 16.10 /etc/nss-switch.conf file with the one from a working installation of 16.04.1. HAH!

Not only was there a difference, it gave me a string I could Google. That brought me to this: http://askubuntu.com/questions/837982/how-to-configure-local-dns-lookup-in-ubuntu-16-10

It also brought me to this: https://github.com/systemd/systemd/issues/4157, 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’t.

ttf-mscorefonts

I had to reinstall Linux on my laptop and ran into some trouble with the ttf-mscorefonts package. (It runs some text-mode click-wrap license agreement, except in my case, there was a problem where it didn’t run properly. I probably hit the wrong button at some point.) Anyway, this is not a new problem:

I picked the latter one because it didn’t involve dpkg.

 

System Admin Notes

Windows 10 is, in some ways, worse(!) than 8.1 was. (Really!)

Since I don’t have time to keep sinking into Windows, here’s what I’ve been doing:

Once you’ve done all that, remember to install an ssh server:

sudo apt-get install openssh-server

Also, install rbenv (and ruby-build) and a ruby or two. Plus your favorite gems.

Tech Tab Sweep

It’s time to upgrade your Ubuntu machines.

8 things to do after installing Ubuntu 15.04. One of the items is to add a tweak tool, which reminded me of Unsettings.

I’m working on a similar list for Windows, except (a) nobody gets to install Windows, you have to buy a PC with it preinstalled, and (b) there are about 300 things you have to do next.

Speaking of Ubuntu…. I barely know what a .deb is, so this article was complete gibberish to me, with all this talk about Snaps and Snappy for future releases of Ubuntu.

Bjarne Stroustrup outlines changes in store for C++ in v17. I can barely remember how awesome I used to think C++ was back in 1986. And compared to C, I guess is was, then. Today—forget about it. Just give me a scripting language.

Finally: During the 1990’s I used to be a DIY system builder, but the past decade or two I’ve been too busy and too impoverished. And there’s a lot to be said for buying something small. Still, I might get around to building something again someday. This sounds like fun:

Ubuntu Tips

How to upgrade to Ubuntu 14.10 from Ubuntu 14.04.

Or, how to get an ISO if that’s your preferred way.

What to do when you finish upgrading to 14.10.

How to watch YouTube on your Ubuntu machine.

Normally, I run Chrome and/or Chromium instead of Firefox, but there’s a new version of Opera too.

Here’s some tools for scanning on Linux.

How to create a UEFI bootable Ubuntu USB drive using Windows.

Or you can just get a Mac and run the all-new butt-ugly Yosemite.

Twitchy Mouse in Ubuntu

I have a love/hate relationship with Wacom tablets. They’re awesome when they work, but that’s rare, because the drivers are crap. And that’s on a Mac, where a lot of people actually use them.

I installed one on my Linux machine, and from that day forward, the mouse just lived a life of its own — jumping around and generally acting stupid.

So today, on a hunch, I decided to uninstall the Wacom drivers. It seems to have calmed the mouse down a little, but it still randomly jumps a couple of hundred pixels away from where it ought to be.