_                    _
  ___ | |__   __ _ _______ | |_
 / _ \| '_ \ / _` |_  / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
 \___/|_| |_|\__,_/___\___/ \__|

openbsdindex and usage

linux_to_openbsd : Differences between linux and OpenBSD.
vm : OpenBSD vmm - configuration and usage.
make : OpenBSD make.
pf : Configuration and usage.
web : index and setup.
- httpd : OpenBSD's httpd - setup.
- cgi : Using CGI with httpd.
- ssl : creating ssl certificate and httpd configuration.
documentation : index and usage.
- mdoc : OpenBSD mdoc format - usage and examples (WIP)
-- mdoc_list_examples : OpenBSD mdoc examples - lists.
- mandoc : mandoc usage.
- roff : mdoc compatible roff macros.

interfaces are named based on the drivers: iwn0 (wlan) , re0(eth), vlan0

As with network, disks are named based on the drivers: wdNP , sdNP. Eg.: wd0a (disk 0, partition letter a).

Using an existing disk with allocated partitions

  • h help
  • z to delete all partitions
  • A to autoallocate
  • p g to print the partitions showing size in GB
  • Autoallocation can leave unused space at the end of the disk which can be manually allocated.

  1. using usb
  2. select disk
  3. sd1 should be selected, else set it

back to top

Example files can be found at /etc/examples, they can be used for reference.

NOTE: Make sure only necessary lines are uncommented when copying to /etc.

back to top

turning off suspend on lid close

back to top

back to top

  1. sysupgrade
  2. Reboot (this is automatic)
  3. sysmerge
  4. pkg_add -u
  5. syspatch -l
  6. If patches need to be applied and have been verified.
    syspatch

Running syspatch -b leaves files that differ available for later comparison at /tmp/sysmerge.xxxxxxx.

When upgrading a vm, the vm may need to be started manually to complete the upgrade as it may be stopped instead of rebooted.

back to top

linux_to_openbsd , user_management

- OpenBSD manpages: sysctl(8) , bsd.re-config(5) , sysupgrade(8) , sysmerge(8) , pkg_add(1) , syspatch(8)

- OpenBSD
- OpenBSD 7.7 (Previous Release)
- OpenBSD 7.8 (Current Release - 2025-10-22)
- Upgrade Guide: 7.7 to 7.8
- OpenBSD FAQ
- openports.pl

back to top

ohazot | about | ohazot.com <admin@ohazot.com>

OpenBSD 7.7| Created:2025-10-03|Updated:2025-11-10|