Some notes on using FreeBSD

Login as root to complete most of the tasks below.

Restart wifi

service netif restart

install security patches

freebsd-update fetch
freebsd-update install

update packages

pkg update
pkg upgrade
pkg autoremove
pkg clean

Update the FreeBSD version

For example, to upgrade from 14.0-RELEASE to the 14.1-RELEASE (get info on release numbers from freebsd.org):

freebsd-update -r 14.1-RELEASE upgrade
freebsd-update install

Reboot:

shutdown -r now

Login as root and run the install command again:

freebsd-update install

Installing the Sway window manager

After installing Wayland and Sway per the FreeBSD Handbook, install the graphics driver:

pkg install drm-kmod
sysrc -f /etc/rc.conf kld_list+=i915kms

Ensure that $USER is in the video group and reboot.

Starting Sway

Do this as $USER and not as root.

sway