I’m actually surprised this wasn’t already there: Aaron Li added terminfo entries for tmux and tmux-256color into DragonFly’s terminfo(5) file. I’ve been using tmux without issue for some time on DragonFly… but I may not be exercising it as hard as I could.
Still lots of BSD stuff happening.
- DWM on FreeBSD, monocle not showing up.
- Play Stardew Valley on OpenBSD.
- Project Trident RC3 available. (via)
- NetBSD 8.0 ? dmesg?????? / KOF2018-NetBSD. Yeah, I know it’s all question marks. Something in my publishing chain doesn’t understand all character sets. (via)
- FreeBSD 12.0-b4 available.
- Polish BSD User Group OpenBSD Gaming talk (slides, PDF, Polish) (via)
- Linux and FreeBSD networking. (via)
- The Source History of Cat. (via)
- FreeBSD 10.4 EOL.
- Valuable News – 2018/11/11. You can tell my backlog size from this.
- ZFS Boot Environments Reloaded at NLUUG Autumn Conference 2018.
- OpenBSD in Stereo with Linux VFIO.
- Play “Crazy Train” through your APU2 speaker. This prompted the “Someday you will need this” tag for this post.
- pfSense with a hardware identifier.
- The Tor Project needs a data architect.
- Assembly language on OpenBSD amd64+arm64. (via)
For better or worse, there’s different browser options out there, especially for non-mainstream platforms. You know what I mean. DragonFly developer tuxillo has put together a helpful page listing options and how to get them to build.
For future edification: If you have HAMMER2 installed, the bulkfree operation will create console/dmesg activity even when nothing is wrong, to show operations are happening.
If you happen to be using DragonFly from a network location that only allows http/https as outbound traffic, you won’t be able to update /usr/src using defaults. /usr/Makefile pulls DragonFly source using a git:// URL.
The fix is to use the read-only Github mirror. You can set origin manually or just change GITHOST in /usr/Makefile (or GITURL_SRC if you are on DragonFly-master) to “https://github.com/DragonFlyBSD/DragonFlyBSD”.
(Guess what I did today? Updated to note it’s different on -master. Thanks tuxillo for reminding me of this whole thing.)
DragonFly has an automated installer, called PFI, for “pre-flight installer”. It’s not well-known, and there isn’t a man page to link to for it that I can find. Because of that, I jump at any chance I can get to link documentation or example configs.
This week’s BSDNow has a lot of “You will not regret knowing this” material – ZFS performance measurement, 2FA SSH, and using Netcat in various ways.
A good, oddball week.
- Happy #CIDRDay!
- Exploring OmniOS in a VM.
- Endless amounts of Commodore 64 games, in-browser. (via many places)
- Dangit, I missed posting about the Roguelike Celebration. (via)
- Software Heritage, archiving code. (thanks, Siju)
- Classic computers in Lego. Cuter than I thought possible. (via)
- Spleen – Monospaced bitmap fonts. A teeny terminal font, working down to 5×8. Designed on OpenBSD? I don’t know the tools used. (thanks, Frederic)
- Engineered Arts, a company that builds robots for interaction. What a fun job to have! (via)
- Bellingcat’s Online Investigation Toolkit. (via)
- 2018 IFComp entries. (via)
- everything you ever wanted to know about terminals (via)
- Oddness: the zoneinfo file on your computer right now could be affected by Earth speeding up.
Your unrelated comics link of the week: Draculagate, a book funded by Kickstarter. Watch the video.
To add to my ongoing slow fiddle with DragonFly: I’ve noted how to install in Hyper-V, and how to use Cygwin to connect to run X. Here’s another step: if you are using PuTTY/Pageant, as I am, and want to connect, Cygwin/X needs to be told to listen on TCP. Find your /usr/bin/startxwin file in Cygwin and change serverargs to:
And then in PuTTY, under Connection -> Session -> X11, check “Enable X11 forwarding”, set X display location to “:0.0”, and locate your .Xauthority file. It will be in your user’s Cygwin home directory. (tips found here)
plink can be used to create shortcuts – open an xterm directly into your DragonFly VM from your Windows desktop, for instance, with a shortcut that runs ‘plink <sessionname> xterm’.
If you are running a slightly newer version of Windows and aren’t trying to accommodate a ‘legacy’ PuTTY install, using Windows Subsystem for Linux may work better; I have not yet tried.
For the future edification of others: I mentioned I installed DragonFly under Hyper-V on a Windows 10 laptop. I wanted to be able to open a terminal on DragonFly while in my Windows environment. I have that now; here’s what I did:
- Installed DragonFly in Hyper-V (see my prior install notes)
- Installed xorg on DragonFly. (pkg install xorg)
- Installed Cygwin/X on Windows 10 – specifically, the xauth, xorg, xterm, xclock, cygutils-x11, and openssh packages.
- In DragonFly, set these items in /etc/ssh/sshd_config :
- X11Forwarding Yes
- X11DisplayOffset 0
- XAuthLocation /usr/local/bin/xauth
- Run XWin Server on Windows 10.
- Run CygWin64 Terminal on Windows 10
- export DISPLAY=:0.0
- ssh -Y (address of DragonFly host)
- Once logged in, type ‘xterm’.
At this point, a terminal window should pop up on your Windows machine, showing your DragonFly username@hostname as the prompt. You are set!
Next steps – getting this working with PuTTY, Pageant, and Plink.
BSDNow 265 has a con report – the just-finished EuroBSDCon 2018 in Romania, plus the usual roundup of news items. One news item that will be useful someday: how to perform a BIOS update on a non-Windows computer.
I tried Hyper-V, and of course, I had to install a virtual DragonFly system. Sascha Wildner very helpfully pointed out that DragonFly on Hyper-V requires a legacy network adapter and a gen-1 image type; both changes you can make during initial setup. I’m noting it here for the benefit of future people walking down the same path.
Note: pick ‘legacy BIOS’ during the actual DragonFly install, too.
DragonFly’s root account defaults to tcsh, and that now defaults to autorehash being set on. Useful to remember if you reflexively type ‘rehash’ like I do, and also useful if you come from a shell where ‘rehash’ isn’t needed.
I’ve been linking to other parts of this, but now it’s on one page: “Zenripper“, talking about how to overclock/underclock a Threadripper system on DragonFly.
It turns out Threadripper (well, a Ryzen CPU) delivers good performance at relatively low power usage. As I sit in a room made too warm by a single desktop machine running, this lower wattage sounds pretty good to me.
If you haven’t done it before, you can use ‘make rescue’ to build a tiny base system on DragonFly, for use when /usr goes missing, for when your disk is encrypted, and other rather catastrophic problems. It should be in sync with the rest of the system, which is why ‘make rescue’ can be part of a buildworld process. I’m mentioning this because currently, ‘make upgrade’ should be done first.