From ff6e92e27942d9cbaf32cc4780bef65d990142a7 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Mon, 6 Nov 2023 11:38:13 +0100 Subject: [PATCH] Update 2023-11-06 11:38:11 --- ....pm => 2023-11-06-OpenBSD_simple_laptop_network_setup.pm} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename src/posts/{2023-11-06-OpenBSD_laptop_network_setup.pm => 2023-11-06-OpenBSD_simple_laptop_network_setup.pm} (97%) diff --git a/src/posts/2023-11-06-OpenBSD_laptop_network_setup.pm b/src/posts/2023-11-06-OpenBSD_simple_laptop_network_setup.pm similarity index 97% rename from src/posts/2023-11-06-OpenBSD_laptop_network_setup.pm rename to src/posts/2023-11-06-OpenBSD_simple_laptop_network_setup.pm index f9d7ac2..29814f0 100644 --- a/src/posts/2023-11-06-OpenBSD_laptop_network_setup.pm +++ b/src/posts/2023-11-06-OpenBSD_simple_laptop_network_setup.pm @@ -1,4 +1,4 @@ -# OpenBSD: laptop network setup +# OpenBSD: a simple laptop network setup (with dhcp) Note, each of the commands comes with a man page, which I encourage you to read. This post is merely to get you started. @@ -111,7 +111,7 @@ This `/etc/hostname.` based configuration makes it easy to copy configur You can create a [trunk(4)](https://man.openbsd.org/trunk.4) device, which internally switches between your ethernet and your wireless device. -For this to work, we need three configurations and you should be able to understand most of it. +For this to work, we need three configurations and you should be able to understand most of it by now. ``` # cat /etc/hostname.em0 @@ -144,4 +144,3 @@ trunkport iwx0 The fist line means that we do a failover. This means we use the fist device if we can. If the first device (master device) is down, then we use the second one. In this concrete example it means, if a network cable is plugged in to `em0`, we use this device. If the network cable is pulled, we simply continue with the wireless device `iwx0`. -