No more hostapd

hostapd, for creating a wireless access point, has been included in DragonFly along with wpa_supplicant, for a long time.  Like wpa_supplicant, there’s a version in dports that is the latest version and is easier to update (e.g. no system update required to get a newer version.)  Unlike wpa_supplicant, there’s no chicken-and-egg installation problem if it’s not in the base system – so out it goes.

DragonFly 4.2 and 4.0.6 branched

The more eagle-eyed may have noticed a branching for DragonFly 4.2, and for DragonFly 4.0.6.  The 4.2 branch is currently only a release candidate, so don’t necessarily change over yet – it’s for testing, not release.  Note that packages for 4.2 are not yet built, so you’ll have to manually specify a package path to install with pkg on 4.2 – for now.. That won’t be the case for the actual release, of course.  DragonFly 4.3 users will have to specify PKG_PATH manually to use 4.2 images until new ones are built.  4.2 release candidate users will be fine.  (see comments for correction.)

The 4.0.6 release is mostly to get the recent OpenSSL update into a 4.0.x build.

I am working on image building for both.

Shut up ARP

Sepherosa Ziehau has introduced a new sysctl:

net.link.ether.inet.log_arp_creation_failure

Set this to zero and you won’t get endless ARP events from networks you aren’t on.  For example, I’m hooked up to a cable modem.  I only get a public routable IP address, but the network used for the cable modem network itself bleeds ARP packets out where my DragonFly machine can see it.  Since it’s on a different network segment than the address I receive through DHCP, it always fails and the system logs it.  For example:

May 11 05:20:52 www kernel: arplookup 100.68.112.145 failed: host is not on local network

I can’t do much about it since that layer 2 leakiness is going to happen, but I can shut it up with this sysctl – and thank goodness, cause I’ve been seeing these messages since first using a DOCSIS modem in… 2001 or so?

Building only one compiler

DragonFly builds two compilers by default.  If you weren’t interesting in building both, there were switches to build only the default, like NO_GCC47.  This changed with every compiler update.

With the switch to GCC 5, the new switch is “NO_ALTCOMPILER”.  That will last through compiler changes.  I’m mentioning this now because sooner or later, you’ll want to gain back some time on a buildworld.