#netbsd

386 posts · Last used 3h

Day 36 New post! I successfully upgraded my NetBSD amd64 system (with one hiccup, described in the post) from 11.0 to 11.1: $ uname -v NetBSD 11.1 (GENERIC) #0: Mon Nov 2 16:34:32 UTC 2026 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC This was my first time upgrading NetBSD and I’m happy with how it all turned out! https://www.dwarmstrong.org/netbsd-upgrade/ #40DaysOfNetBSD #NetBSD #RunBSD
2
0
2
0
I got tired of janky connections from breadboard jumpers, so I made a custom USB-serial adapters that can be soldered on for #NetBSD kernel development. One side fit a BBB, the other an Olinuxino i.MX23. Unfortunately, I measured wrong and the capacitors are in the way on the Olinuxino, so I had to install it slightly raised.
9
0
5
0
Replying to
@netbsd@mastodon.sdf.org This is awesome work by the NetBSD team! I just today was using sysupgrade on my aarch64 devices running 11.0_STABLE. And now I have a weekend project! I'll start with upgrades to my RockPro64 and RPi3 to 11.1 😊 #netbsd PS: Remember to check if your $dayjob does donation matching.
0
0
0
0
Replying to
@MsDropbear42@infosec.space Maybe go ahead with #GhostBSD as the "gateway drug" :blobcatamused: into the BSD world. Then when you've "found your BSD feet" with it, hopefully easier to try plain #NetBSD or #OpenBSD. I think that's what I might do. I used friendly PC-BSD back in the 00s but no BSD experience since. (Switching not urgent yet as I'm on Linux Mint Xfce X11, based on a 2024 LTS release, so presumably much less likely to contain slop than a cutting edge release.) #FreeBSD #BSD #NoAI
7
1
3
0
Replying to
A T14g1 you say. What all works under #NetBSD on that ?
0
2
0
0
My Current NetBSD Laptop Setup Just over five months ago (an entirely too long of a time), I installed NetBSD onto my laptop. With my reintroduction to it, I set out to make NetBSD work the way I want it to work. I am the first to admit that I have a love/hate relationship with configuration; I love to tweak settings, but hate that I never settle for the first (or second, or third, or…) attempt at customization. I have been changing things up on this laptop almost on a daily basis, and there is no shortage of buttons to push, knobs to twist, or switches to toggle when it comes to any open-source product. To be fair, the same can be said of most non-libre software as well.
0
0
0
0
YESS! I did it. Managed to install #NetBSD to the BeagleBone Black's EMMC, AND downgrade u-boot to the 2018 version as the 2022 version has something broken with USB apparently. (Yet to test if I can get it to work now). Anyway the process is actually FAR simpler on #NetBSD than what many tutorials suggest. No need to dd at specific offsets by hand. Get a Live SD card image for NetBSD from https://armbsd.org and image it to card Boot said live image by holding down the S2 button next to the SD card slot with the card inserted. Login is "root" with no password set initially. From the live environment, download the same image again and dd it to the EMMC storage. The target device is usually /dev/rld1c - but check if your emmc is ld0 or ld1 .¹ Run, # ftp https://nycdn.netbsd.org/pub/arm/NetBSD-11.0-release/NetBSD-11-earmv7hf--bone-black.img.gz # zcat NetBSD-11.0-release/NetBSD-11-earmv7hf--bone-black.img.gz | progress dd of=/dev/rld1c Shutdown; remove SD, reboot. It should now boot from EMMC. To flash the old version of u-boot Shutdown. Insert live NetBSD SD card again. Boot from SD as before. Force-Install the OLD u-boot package and flash it to emmc using installboot: # pkg_add -f https://archive.netbsd.org/pub/pkgsrc-archive/packages/NetBSD/earmv7hf/8.0_2020Q4/All/u-boot-beagleboneblack-2018.11nb4.tgz # installboot -u /dev/rld1c /usr/pkg/share/u-boot/beagleboneblack Shutdown. Remove SD. Boot. Now on boot it should report, U-Boot 2018.11nb4 (Oct 01 2020 - 12:12:48 +0000) Magic! -- ¹ Do this by running dmesg | grep ld and confirming by checking drive sizes. Double-check with disklabel ldN if needed.
1
0
0
0
Most of the highly-publicized security vulnerabilities in #Linux these days, including the recent kernel TCP RCE, are the result of races and/or memory corruption. If #BSD were to catch on, all those AI bug-finding bots would be turned on the BSDs…which are written in C. There's probably plenty of vulnerabilities there too. Perhaps fewer than Linux, since Linux is so jam-packed with enterprise features and weird optimizations, but still… 😬 Are #NetBSD and #OpenBSD prepared for this?
10
1
4
0
The NetBSD Packet Filter (NPF) has a random block procedure extension. It is more of a network assessment feature. procedure “test” { rndblock : “mod” 10, “percentage” 30 } Modulo 10 will cause the firewall to drop one in every ten packet. Percentage 30 will cause NPF to generate random values from 0 to 10000 and will block the packet if the number generated is in 30 percent or less of 10000. This could be very useful to see how your network stack handles packet drops. #netbsd #NetBSD
0
0
2
0