summaryrefslogtreecommitdiffstats
path: root/content/posts/installing-openbsd-on-pcengines/index.org
diff options
context:
space:
mode:
authorDante Catalfamo2020-07-08 12:17:56 -0400
committerDante Catalfamo2020-07-08 12:17:56 -0400
commitdbcdcd2e62722de7002de6d89cbf38718699a8db (patch)
tree101070b30f62bbe1453ef03b490ccaabcfc2bd29 /content/posts/installing-openbsd-on-pcengines/index.org
parent4ac623f0195c294cb7e62c0499791d8c26a9db47 (diff)
downloadblog-dbcdcd2e62722de7002de6d89cbf38718699a8db.tar.gz
blog-dbcdcd2e62722de7002de6d89cbf38718699a8db.tar.bz2
blog-dbcdcd2e62722de7002de6d89cbf38718699a8db.zip
Add notes on serial connection to OpenBSD
Diffstat (limited to 'content/posts/installing-openbsd-on-pcengines/index.org')
-rw-r--r--content/posts/installing-openbsd-on-pcengines/index.org19
1 files changed, 16 insertions, 3 deletions
diff --git a/content/posts/installing-openbsd-on-pcengines/index.org b/content/posts/installing-openbsd-on-pcengines/index.org
index 51d6ed5..115ccbf 100644
--- a/content/posts/installing-openbsd-on-pcengines/index.org
+++ b/content/posts/installing-openbsd-on-pcengines/index.org
@@ -48,8 +48,11 @@ that I inserted the drive into the USB port on the APU2.
I then plugged one end of the DB9F end of the serial adapter into the
APU2, and the USB end into my PC. My desktop runs Fedora, so I had to
install the =cu= utility using =sudo dnf install cu=. I then dialed it
-up using the serial adapter with the command =sudo cu -s 115200 -l
-/dev/ttyUSB0=.
+up using the serial adapter with the command
+
+#+BEGIN_SRC shell
+sudo cu -s 115200 -l /dev/ttyUSB0
+#+END_SRC
I plugged in the power connector into the APU2, and I saw the boot
info in my terminal! It's really cool that these things use SeaBIOS
@@ -84,9 +87,19 @@ I ran [[https://man.openbsd.org/fw_update][=fw_update(1)=]] to pull in any extra
sure to add my user to the [[https://man.openbsd.org/doas.conf][=doas.conf(5)=]] config file.
I kept the serial adapter connected and plugged it into another
-machine I have right next to it, so if I ever have any trouble
+OpenBSD machine I have right next to it, so if I ever have any trouble
booting, I can always SSH into the other machine and dial into the
serial connector to work things out without having to physically plug
the APU2 into my laptop.
+To connect to the serial device through the other OpenBSD machine, I
+just run
+
+#+BEGIN_SRC shell
+doas cu -s 115200 -l /dev/cuaU0
+#+END_SRC
+
+You can always find the serial device through plugging the adapter in
+and checking =dmesg=.
+
Finally I added the OpenBSD sticker!