OSboxes has created VirtualBox & VMware images with FreeBSD 11 as the virtual environment. This will allow users to test the open source operating system in a virtual machine before installing it on bare metal. Head on over to the page below to download the VDI or VMDK image to try out FreeBSD 11.
This tutorial/blog from Victoria Raspberry PiMakers will show you how to get FreeBSD set up on a Beaglebone Black board for a DIY home security solution. In this project, they aim to eliminate the third party, leaving control and privacy in the hands of the user. Follow the link below for the full set of instructions.
My goals for this project/presentation are:
- Introduce the Beaglebone Black;
- Use a smartphone as a remote control;
- Use the Internet as a conduit for control messages;
- Do this securely – i.e. high resistance to break-in and no
- Introduce some useful, but maybe little known technologies.
Oh yes, and light an LED and read a sensor. Here is a block
diagram of the infrastructure:
User Kevin Bowling shows us how to get FreeBSD and Windows to dual boot on a single machine. This method uses UEFI as the main bootloader. Follow the link provided for the full set of instructions.
Somehow I’ve managed to mostly not care about UEFI until now. On my new laptop, I decided I should give it a go. There are some small benefits, nothing life changing, but booting multiple OSes is a lot easier, especially if they are UEFI-native, and you can get a nice frame buffer the boot manager and the OS can use before starting graphically (and after, if you don’t have accelerated graphics drivers).
For reference, how I run FreeBSD desktop/laptop: digital-life*
Full tutorial: https://bsdmag.org/freebsd_uefi_root/
In this BSD Now episode, hosts Allan Jude and Kris Moore discuss WiFI, a new iocage, and news/guides regarding Raspberry Pi 3. Click play below to tune in:
BSD Now weekly content: https://www.bsdnow.tv/episodes/2017_1_18-getting_pi_on_my_wifi
Jupiter Broadcasting show notes: http://www.jupiterbroadcasting.com/106301/getting-pi-on-my-wifi-bsd-now-177/
This tutorial by user Audeuro will show you how to get Dream Daemon running on FreeBSD. Dream Daemon is a tool for using your machine as a server for BYOND games. Follow the link below for the full set of instructions.
Installing Dream Daemon(“DD”) on a FreeBSD system is a fairly straightforward process. The caveat is that it will require Linux (32-bit) compat layer(“Linuxolator”). If you do not have root access and cannot request the Linuxolator be enabled, then this guide is not for you.
The first step to installing DD is enabling the Linuxolator. You may refer to this section of the FreeBSD handbook for guidance on doing so, or in summary:
First, ensure Linux support is enabled in the kernel. If your kernel configuration does not enable “options COMPAT_LINUX32”, or you are not sure, then you will need to load it as a kernel module:
Full tutorial: http://www.byond.com/forum/?post=2196304
This tutorial by user Alex Samorukov shows us how to get the DHT-11 temperature sensor readings configured on a Raspberry Pi running FreeBSD. Follow the link provided below for the full set of instructions.
Connecting sensor to the RPi
DHT-11 is a very cheap temperature/humidity sensor which is commonly used in the IoT devices. It is not very accurate, so for the accurate measurement i would recommend to use DHT21 instead. Anyway, i had DHT-11 in my tool box, so decided to start with it. DHT-11 using very simple 1 wire protocol – host is turning on chip by sending 18ms low signal to the data output and then reading 40 bytes of data. Details about the protocol could be found in the specification. To read data from the chip it should be connected to the power (5v) and gpio pin. I used pin 2 as VCC, 6 as GND and 11 as GPIO (it is GPIO17, see pinout):
In this BSD Now episode, hosts Kris Moore and Allan Jude discuss LLVM linking, NetBSD’s scheduler, routers, desktops, build-systems, and more. Press play below to tune in:
BSD Now weekly content: http://www.bsdnow.tv/episodes/2017_1_11-linking_your_world
Jupiter Broadcasting show notes: http://www.jupiterbroadcasting.com/106146/linking-your-world-bsd-now-176/
A FreeBSD Security Advisory concerning an OpenSSH vulnerability has recently been issued. You can view the full description of the vulnerability and solution on the mailing list page. User Vivek Gite also provides a solution for the problem below.
I. Background OpenSSH is an implementation of the SSH protocol suite, providing an encrypted and authenticated transport for a variety of services, including remote shell access. OpenSSH supports accessing keys provided by a PKCS#11 token. II. Problem Description The ssh-agent(1) agent supports loading a PKCS#11 module from outside a trusted whitelist. An attacker can request loading of a PKCS#11 module across forwarded agent-socket. [CVE-2016-10009] When privilege separation is disabled, forwarded Unix domain sockets would be created by sshd(8) with the privileges of 'root' instead of the authenticated user. [CVE-2016-10010]
Original announcement: https://lists.freebsd.org/pipermail/freebsd-security-notifications/2017-January/000305.html
OpenSSH is critical for both sysadmin and programmers. It is an implementation of the SSH protocol suite, from OpenBSD project. It provides an encrypted session to your server.
OpenSSH multiple vulnerabilities
OpenSSH has multiple vulnerabilities as of 11th January 2017 running on FreeBSD operating system. From the advisory:
The ssh-agent(1) agent supports loading a PKCS#11 module from outside a trusted whitelist. An attacker can request loading of a PKCS#11 module across forwarded agent-socket. [CVE-2016-10009]
When privilege separation is disabled, forwarded Unix domain sockets would be created by sshd(8) with the privileges of ‘root’ instead of the authenticated user. [CVE-2016-10010]
Patch your FreeBSD server: https://www.nixcraft.com/patch-your-freebsd-server-for-openssh-vulnerabilities-11jan2017/168/
This tutorial by userwill show you how to configure a FreeNAS 9 installation to run on your VMware ESXi hypervisor. Check out the two videos below on how to get a FreeNAS virtual environment set up. In addition, Guy, Robot also shows us his custom FreeNAS build at the link below.
Just a quick post today. Last week I wrote in detail about the NAS that I setup at the start of the year. It’s been a really fun project – in particular getting FreeNAS running smoothe and stable in a virtual machine using hardware pass-through.
As promised last week I’ve created some detailed videos that look at how to get a fresh ESXi 6.5 installation ready for my hardware (including integration with the Realtek 8110 network card that isn’t supported by default in the latest versions of VMware) and how to configure your FreeNAS installation to be ready to serve iSCSI RAID disks to a hypervisor of your choice.
Rather than go through everything in detail here I’ve created a couple of videos to talk you through the process – check them out below.
Haiku OS, a powerful and lightweight open source operating system, has recently introduced improved support on UEFI and the FreeBSD compatibility layer. See the full story over at Phoronix, including a user discussion at the link below.
Last time we were talking about Haiku OS on Phoronix it was about working on UEFI support and that continued throughout December. Haiku OS now has a simple frame-buffer driver for UEFI, some key fixes have landed, serial debug support was added to investigate issues when booting with UEFI, improved GPT partition creation, and other improvements.