_ _ ___ | |__ __ _ _______ | |_ / _ \| '_ \ / _` |_ / _ \| __| | (_) | | | | (_| |/ / (_) | |_ \___/|_| |_|\__,_/___\___/ \__|
ohazot | | docs | | about |
openbsd
—
openbsd
INDEX
linux_to_openbsd | (2025-10-06) | : Differences between linux and OpenBSD. |
vm | (2025-10-06) | : OpenBSD vmm - configuration and usage. |
make | (2025-10-06) | : OpenBSD make. |
pf | (2025-10-06) | : Configuration and usage. |
> web | ||
httpd | (2025-10-06) | : OpenBSD's httpd - setup. |
cgi | (2025-10-06) | : Using CGI with httpd. |
ssl | (2025-10-06) | : creating ssl certificate and httpd configuration. |
> Documentation | ||
mandoc | (2025-10-06) | : mandoc usage. |
roff | (2025-10-06) | : mdoc compatible roff macros. |
TOC
INSTALL | : considerations. |
- network | |
- disk partition | |
- install_packages | |
ETC_EXAMPLES | : Example configs can be found in /etc/examples. |
NOTEBOOK | : Tips. |
SEE_ALSO |
INSTALL
network
interfaces are named based on the drivers: iwn0 (wlan) , re0(eth), vlan0
disk partition
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.
install_packages
- using usb
- select disk
- sd1 should be selected, else set it
ETC EXAMPLES
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.
NOTEBOOK
turning off suspend on lid close
- manually
sysctl machdep.lidaction=0
- at startup
cp /etc/examples/sysctl.conf /etc/
machdep.lidaction=0