Linux web sites

Just some notes about web pages I was reading today.

Chromium crashed

Today my chromium crashed like this:

-------------------
Sat Nov 18 02:18:49 [bash:5.2.15 jobs:0 error:0 time:1]
jj5@charisma:/home/jj5
$ chromium 
[1118/021851.032430:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1118/021851.032474:ERROR:elf_dynamic_array_reader.h(64)] tag not found
Trace/breakpoint trap (core dumped)
-------------------

…gonna try upgrading, apparently there are new packages.
Update: upgrade didn’t fix the problem, but a reboot did.

Linux Journal articles

I had a read of a few Linux Journal articles today. Easy reads that give you a high level view of what’s available:

New books

Ordered on Amazon today:

I’m not sure what to make of the fact that these books are nearly 20 years old… totally out of date, but all that is available? What’s up with that?

Netfilter and iptables

This evening I read the iptables man page and Linux iptables Pocket Reference from cover-to-cover; my notes are here: Netfilter.

I think at this point I am ready to use iptables in anger for the first time in a long time, and the first time ever on a router.

However, before I take that on, I’m going to have a quick diversion into the following books, and then sleep, and I will do my iptables programming when I wake up tomorrow.

QEMU/KVM Attaching a Virtual NIC Directly to a Physical Interface

Man, it took me a while to figure out how to do this! Over on Attaching a Virtual NIC Directly to a Physical Interface I figured out I could use this XML in Virtual Machine Manager (virt-manager) for my NIC device:

<interface type='direct'>
  <source dev='enp9s0' mode='bridge'/>
</interface>

That then gets expanded automatically to something like this:

<interface type="direct">
  <mac address="52:54:00:ce:5b:09"/>
  <source dev="enp9s0" mode="bridge"/>
  <target dev="macvtap4"/>
  <model type="rtl8139"/>
  <alias name="net0"/>
  <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
</interface>

Update: ah, balls. This doesn’t completely work, because the guest can’t connect to the host, and vice versa, even though both the host and the guest can connect to the internet. This is a problem for another day. Maybe this or this will help?