A little meta, this week.
Your unrelated tea link of the week: In Sri Lanka’s Tea Paradise, A Social Enterprise Is Brewing. I actually heard about the quality of the tea (very good) before I heard about the way the company was formed. Consider where your next tea purchase comes from, in light of this.
Here’s one of the reasons to have your own permanent server: The New York Times has a daily feature called, not surprisingly, “The Daily“. It’s a short 15-20 minute news segment, ready by 6 AM. It’s available through Google Play Music or iTunes, but I leave for work by 6:15, and I don’t want to use up cell data downloading something that should arrive on my phone just before I leave the house. Of course, there’s no obvious way to tell Google Play, “I know it’s there; go get it right now”. I don’t know the iPhone experience, but I imagine it’s the same. I want to download on my time, not on Google or Apple’s schedule.
Luckily, there’s an RSS feed for this podcast. That, plus this simple script on my DragonFly system, means I can pull it down whenever I’m ready:
fetch -o – http://feeds.podtrac.com/zKq6WZZLTlbM | grep enclosure | cut -d ‘”‘ -f2 | xargs fetch -m
So, it’s a matter of running that script, and syncing off my own local storage, on my own schedule. FolderSync Lite will happily sync back to my phone using sftp.
The question of using vkernels(7) in a manner similar to jails pops up time and again, and the answer is, unsurprisingly, “it depends“. It looks like when you want to isolate greedy programs, vkernels are the way to go.
I mention this because people don’t realize there’s a console screensaver: ‘vidcontrol -t XX’ will blank the console after XX seconds of inactivity. This way you aren’t lighting up your server closet with a terminal screen, forever.
Did you know you can set the border color for the system console? I didn’t. syscons(4) lists a number of options, including scrollback length and some other features I never thought about changing.
If your DragonFly machine is using CARP, and you don’t want CARP messing with your default routes, the sysctl net.inet.carp.setroute can keep them from being changed.
If you are using em(4) or re(4) devices for networking, you may want to turn on polling. MSI may or may not help for re(4), along with switching to the emx(4) driver.
This week’s Lazy Reading came together in perhaps 10 minutes.
Your unrelated music video of the week: Danny Brown – When It Rain. The music may not be what you are used to, but I like how “damaged VHS tape” is being used as a visual design choice. (via)
I manage to avoid a topic this week, really. That’s good!
Tomohiro Kusumi is thinking about porting it. Follow the whole thread for details.
I may have mentioned this in part before, but Matthew Dillon has a brief script to reload pf when an interface IP changes. I’m linking it here in case it’s useful in the future.
Thanks to a reminder from IRC user ‘cgag’, I’ve put an uncompressed ISO image of DragonFly 4.6 up on the main site. It’s linked on the download page, and should be available within 24 hours on the mirrors. If you are buying service from a virtual host provider, and can install an operating system directly from a downloadable URL, this is for you.
Off-the-beaten-path links this week. Strap in!
Your unrelated animated GIF of the week: Permanent Wink.
A useful tip: if your DragonFly machine isn’t usually on 24/7 (e.g. a laptop, not a server), you should move your Hammer cleanup from 3 AM to sometime when the computer is normally on.
karu.pruun shares a story of manually installing DragonFly on a UEFI-booting machine. In this case, it’s a Macbook, though there’s other non-fruit UEFI machines out there?
That’s one tip per subject, really. If you need to set up a ‘video’ group for xorg, here’s the one-liner to do so. If PulseAudio annoys you, which is not uncommon, ‘chmod -x /usr/local/bin/pulseaudio’ and it’ll go away.
This is limited to some users of specific Intel video chipsets, but: if you get odd screen artifacts in X, the ‘vesa’ driver may work just fine for you. Or turn acceleration off. Or set ‘drm.i915.enable_execlists=0’ according to zrj on #dragonflybsd.
(Updated to reflect all the answers in the thread and elsewhere.)
If you didn’t already know about it, you will find this useful: DragonFly has a tuning(7) man page, about getting the best performance from your system. Matthew Dillon recently updated the man page with some tips about SSD setup.
There are USB devices out there that are sort of like a mouse, as in they work as a pointing device, but they don’t show up as a mouse device. For example, the PowerMate USB Multimedia Controller. It’s possible to pipe the events from this or similar ‘weird’ devices to sysmouse, and use it the way you’d expect, with this fix from user tautology.
Did you know there’s a rescue image, created with crunchgen, in DragonFly? If your system can boot to single-user mode, you can use it to at least manipulate data on disk – it includes mined as a simple small editor. (Since vi assumes /usr is mountable.) This rescue image now includes undo, so you can back out changes on a Hammer volume.