commit 8bb8938d23648189b37ba99594f8c71a14a9e2c9 parent 1045b1a585ee9d0a187ad090c698a9a5bd0095bf Author: pyratebeard <root@pyratebeard.net> Date: Thu, 2 Oct 2025 16:48:00 +0100 updates updates Diffstat:
| M | unix/openbsd.md | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/unix/openbsd.md b/unix/openbsd.md @@ -176,5 +176,16 @@ newfs_msdos /dev/rsd2b cabel install bdf2wscons trigon8x15.bdf > ``` + +## networking +* network interface /etc/hostname.<int> + ``` + inet 192.168.1.3 255.255.255.0 + ``` +* add routes after (`!` prefix executes command after int is configured) + ``` + inet 192.168.1.3 255.255.255.0 + !/sbin/route add -inet default 192.168.1.0 + ``` [softraid encryption]: https://www.openbsd.org/faq/faq14.html#softraidFDE