Recommend me a small laptop/netbook for NetBSD? reddit / BSD ---------------------------------------------------------------------- ThranPoster · 2020-11-20 14:19 Greetings, I'm interested in setting up a small form factor laptop to run a BSD. I'm curious to try NetBSD, but would be open to another variety if it had better hardware support. My use case in mind is ssh, scripting and coding, some light Internet tasks. Likely with `dwm` or another lightweight window manager. I used to own an Asus EEE PC back in the day, so something of that form factor is what I have in mind. Screen size of 10". Wifi and suspend/resume support preferred. As a side question, what is your experience using source code shared among unixen? I'm aware that many packages and binaries exist for the BSDs, and much OSS is shared among Linux, BSD and MacOS X. But say I wanted to build CherryTree or SpaceFM on NetBSD, would it simply be a case of autoconf, make install, and if all the dependent libraries are present, I'd have a CherryTree binary for NetBSD? Regards, T.P. ---------------------------------------------------------------------- gumnos · 2020-11-20 15:27 I have both a [Dell Mini9 and a Mini10](https://en.wikipedia.org/wiki/Dell_Inspiron_Mini_Series) that work pretty well but I had to replace the rubbish Broadcom Wifi card in each with an Atheros-based card (I think each was under $10). I run OpenBSD on the Mini10 and the Mini9 is for experimentation (so on any given day in the last month it may have had OpenBSD, FreeBSD, FreeDOS, or Haiku). But I imagine that running NetBSD would be a similar experience. The Mini9 has an awkward keyboard layout—when I've taken it on vacation as my main machine, it usually takes me about an hour of typos/typing before my fingers rewire to the odd layout (and about an hour of typos/typing on my daily driver when I return home to go back to normal) The Mini10 has an [Intel GMA500](https://en.wikipedia.org/wiki/Intel_GMA) for video which means if you're running X, it might be unsupported so you might end up with slow VESA there; the Mini9 has a GMA950 which should be supported by X and give you better performance. > what is your experience using source code shared among unixen? I usually use prebuilt packages, but have occasionally had to build from source, and it hasn't usually been too much of a problem. If you're installing the bleeding-edge (or doing dev on a bleeding-edge project) sometimes the build-deps can get a bit hairy. ---------------------------------------------------------------------- jdrch · 2020-11-20 17:56 I assume you don't need Wi-Fi or Bluetooth to work? ---------------------------------------------------------------------- nsp0323 · 2020-11-20 18:13 Here, https://www.reddit.com/r/unixporn/comments/izipi4/frankenwm_vintage/ I run NetBSD on a HP EliteBook 820 G1. Everything is supported and wifi works as good as on Linux. ---------------------------------------------------------------------- nsp0323 · 2020-11-20 18:15 Please see my comment above. ---------------------------------------------------------------------- jdrch · 2020-11-20 18:23 Good luck, buddy. BSD generally has terrible (current and recent gen) Wi-Fi support. It's best run on a used desktop if you want a cheap solution. ---------------------------------------------------------------------- johnklos · 2020-11-20 18:23 The [PineBook Pro](https://www.pine64.org/pinebook-pro/) is an excellent BSD computer for a very good price. [Here's a review](https://arstechnica.com/gadgets/2020/06/pinebook-pro- review-a-200-foss-to-the-hilt-magnesium-chassis-laptop/). Not sure what CherryTree is, but I see SpaceFM is in pkgsrc-wip. Yes, most software that's written without Linux-isms baked in will just compile and run :) ---------------------------------------------------------------------- nsp0323 · 2020-11-20 18:26 I rather have an older laptop than running _systemd OS_. Sorry but, you asked for it. ---------------------------------------------------------------------- jdrch · 2020-11-20 18:36 > systemd OS It's almost like non-systemd distros with proper modern Wi-Fi support don't exist: Gentoo, Devuan, Void, Alpine (I think?) etc. Don't let zealotry and dogma blind you to available options that actually meet your needs. ---------------------------------------------------------------------- dontbeevil420 · 2020-11-20 19:29 Pinebook Pro isnt bad if you dont mind waiting months till it is in stock and then weeks after that to recieve it ---------------------------------------------------------------------- noradis · 2020-11-20 20:57 Good thing come to those who wait. ---------------------------------------------------------------------- [deleted] · 2020-11-20 21:28 [deleted] ---------------------------------------------------------------------- [deleted] · 2020-11-20 22:08 [deleted] ---------------------------------------------------------------------- gumnos · 2020-11-20 23:59 Interesting take. I find OpenBSD lighter (and I imagine NetBSD would be similar) than most of the Linuxen I've tried on my netbooks. I did have to replace their junk BCM wifi cards with Atheros cards (fairly straightforward process: unscrew the access panel, remove it, detach the antennae leads, gently pop out the old, replace with the new, replace the antennae leads, replace the access panel) but otherwise wifi has worked fine for my needs. I know that OpenBSD doesn't support Bluetooth, but I also don't use it, so :shrug: (I disabled the drivers when I had Linux or FreeBSD on them). They've been fine for any task I throw at it with a netbook (if I needed more power, I'd be using my daily-driver). I don't expect to be watching (or editing) full-screen hi-def video, playing 3d games (though Doom & Quake both ran fine on the hardware), editing hundred- megabyte images in GIMP, or CAD'ing in Blender. ---------------------------------------------------------------------- desal · 2020-11-21 05:15 a) Gentoo has a systemd version.. but that is irrevelant as the distribution is not what determines hardware support.. hardware support is inside the kernel, which is largely independent of distro, but a lot of distro maintainers ship their own versions of kernels with their own configurations, IE: a marketed "stable" distro might backport hardware support to older kernel versions like 4.9, 4.19, etc, while marketed "bleeding edge" / rolling release distros will usually just give you the newest kernel with updates as they go, or meet somewhere in the middle with a modern kernel & curated set of patches/updates. b) Even then, most give you the choice of whatever kernel but code some "safety" into their package managers to prevent someone from shooting themselves in the foot. IE: gentoo allows you to install any kernel but masks most of the new ones as "testing" or "unstable" at first.With Linux, you can pick a distro and upgrade the kernel to something that has support for more devices or platforms.. just like, you can swap out and change package managers, init systems, service managers, network managers, desktop environments, etc. c) wpa\_supplicant is available pretty much across the board. and you can use wpa\_supplicant just the same on any init system.. openrc, runit, sysvinit, runsv, or systemd. If you don't know how to configure your wireless card yourself, there's also lightweight network managers in between wpa\_supplicant and full-blown systemd- networkd or networkmanager. (iwd, for instance). From your statements, i'm assuming that you just weren't able to get it working for yourself without systemd and determined that it "doesnt have support" ---------------------------------------------------------------------- desal · 2020-11-21 05:37 a) Get mad at the hardware developers / chipset manufacturers for lack of support. they only work up and release drivers for specific OSes.. whatever the lions share of their market is using. Lots of them don't even like to support Linux as there's so many different flavors and versions, but they get more flak about linux support than other OSes. you might get lucky and they don't provide a driver but they are willing to work with you to create one, or at least share their API so you aren't having to reverse it in the dark. There's nothing stopping you or anybody else from contributing said hardware support to said flavor of BSD as well. the only limiting factor.. developers and time. Granted, I understand wanting to use something that is already a finished product, but these are constantly evolving software systems.. the people creating them could easily pick a random chipset off the shelf and provide support for it, but they're busy.. however there is nothing stopping you from providing support for a chipset if you absolutely can't find it. b) this entirely depends on the chipset and the flavor of BSD. If it's a popular chipset, it probably already has support. If it's an older chipset, the more likely it probably already has support. Do your research and you will be fine. That's the thing about these BSD's.. it's a robust, evolving software system that can be modified to do whatever your heart can imagine. They take time to learn but they are completely worth it. c) Any of the major BSD's can be installed with like.. 5 minutes of time.. but to fully configure and customize an entire desktop environment takes longer than that. There are LOTS of things to setup.. if you expect everything to be done for you or just work without setting it up first and configuring it for your specific use- case, then you are gonna have a bad time. but thats the beauty of it as well, any problem you run into has probably already been discussed at length on the internet in multiple places. A lot of people expect everything to be done for them or be done already. A lot of times, it is done already and support is already there, but the person complaining didn't know how to get it to work. FreeBSD has a bigger community/more support and NetBSD has been around forever / is known /marketed for it's portability and hardware support across various platforms. OpenBSD is security-focused/was a fork of NetBSD back in the day. You will find that people are more likely to post a complaint than they are to post and say "no problems here!" d) BSD's are developed differently than Linux, BSD's are developed by one team that works on the kernel and the userspace application packages together, a cohesive unit. That doesn't stop you or anybody else from porting an application to a BSD if it hasn't been done yet. The ports tree is searchable online and extensive. NetBSD, OpenBSD, and FreeBSD all have their own ports and packages, forums and mailing lists, IRC channels and more. ---------------------------------------------------------------------- ThranPoster · 2020-11-21 10:17 Thanks for your reply. I'm tempted by the PBP, it would compliment my PinePhone very well! Plus there's the chance to run an alternative architecture. RE: CherryTree, CherryTree is a hierarchical note taker. Think OneNote. It uses SQLite to store notes. It is written in C++/GTK3. Lots of handy features, like source code highlighting. I use it extensively to organise notes on many subjects. I've packaged software for Void Linux's XBPS before. So if I managed to build it on NetBSD, could it be submitted for inclusion as one of the ports? I wouldn't get upset if it wasn't - if the maintainers are aiming for only core/quality packages rather than quantity, I'd understand. ---------------------------------------------------------------------- ThranPoster · 2020-11-21 10:22 I hadn't thought of Dell, and there's a few of those on eBay. I'll be on the lookout. Thanks for sharing your experience. > it usually takes me about an hour of typos/typing before my fingers rewire to the odd layout I hear you. In a typical day I have to use a British keyboard, an American keyboard (on a mis-sold ThinkPad) and a British Mac keyboard. Now my hands are developing their own intelligence (or keyboard controller chips) to keep up with all the quirks of each. ---------------------------------------------------------------------- ThranPoster · 2020-11-21 10:26 Will also look out for one of these on eBay, thanks for the recommendation. Also, charming wallpaper! Do you collect insects and leaves? ---------------------------------------------------------------------- nsp0323 · 2020-11-21 13:04 Look for one with an Intel wifi card, NOT a broadcom ;) I don't collect insects but, I like tiled patterns. ---------------------------------------------------------------------- nsp0323 · 2020-11-21 13:09 I've packaged [feathernotes](https://github.com/tsujan/FeatherNotes), does it work for you? As for the packaging process, feel free to PM me if you want to know details, I don't want to polute the thread ;) ---------------------------------------------------------------------- jdrch · 2020-11-21 16:03 > I did have to replace their junk BCM wifi cards with Atheros cards (fairly straightforward process Not if the laptop OEM does hardware whitelisting. HP and Lenovo are notorious for that, even on their legacy devices. If you install a non-whitelisted NIC the BIOS will literally not recognize it. ---------------------------------------------------------------------- jdrch · 2020-11-21 16:12 a) I'm not angry at anyone. I just use what works best for me. If something doesn't support the hardware I have, I use something else that does. There's no "getting angry" on this end. > If it's an older chipset, the more likely it probably already has support. I can tell you from personal experience with BSD and both onboard and USB Wi-Fi adapters that this is not true. c) Irrelevant to context of discussion. d) See c). ---------------------------------------------------------------------- gumnos · 2020-11-21 16:39 In this case my were Dell netbooks and didn't have any stupid allow- lists. Glad I've not purchased any laptops/netbooks with such idiocy. ---------------------------------------------------------------------- gumnos · 2020-11-21 17:24 I'm detecting a repeated theme here between your reply and mine…netbooks like broadcom and they are junk. :-) ---------------------------------------------------------------------- nsp0323 · 2020-11-21 17:41 This specific HP was sold with either an Intel chip, supported by the `iwn` driver or, with an unsupported broadcom one. I thought, I should make that clear to the OP. Anyway, I wouldn't bother too much, one can get an used Intel chip for like $3 ;) But yes, I have to agree with you here, broadcom chips are crap. ---------------------------------------------------------------------- jdrch · 2020-11-21 18:04 You just got lucky. Whitelisting is generally undocumented, so there's no way for users to avoid it *a priori*. Even if you were able to, it's not reasonable to expect that everyone else would also be able to do so. ---------------------------------------------------------------------- desal · 2020-11-24 22:42 Your personal experience is limited, partial, and not an accurate representation of reality, perhaps better to chalk it up as a user error or at least acknowledge that you didn't know what you were doing when you post about it here /r/BSD, as this here is not "BSD"'s fault. You say it's irrelevant to context of discussion, but it's not.. in fact, it's *HIGHLY* relevant because OP's asking about specific hardware support for a specific flavor BSD. this was your time to contribute something relevant, but the fact that you again fail to indicate *which* release of *which* BSD (because every one is different) and *which* onboard adapter / *which* USB adapter (because again, every one is different and that's why I made that point) leads me to believe that you didn't do much investigation into the fact, otherwise you would have been able to get it working. which, I understand wanting to just turn something on and have it do everything for you so you don't have to configure anything, but that's just personal preference and each flavor of BSD is capable of doing all of these things, but they're going to take you configuring the device as the initial installs are left open so that you don't have to uninstall a bunch of stuff you don't need/want. Every version of each flavor of BSD has different levels of hardware support. I have used multiple different chipsets of onboard and USB Wi-Fi adapters with FreeBSD 10, 11, NetBSD 8, 9, and OpenBSD 6.1 and up. atheros, intel, realtek, etc. ---------------------------------------------------------------------- jdrch · 2020-11-24 22:46 > not "BSD"'s fault. The question of whether or not 2 things work together != whose responsibility them working together is. Nothing I said is an indictment of BSD. I would expect the typical professed logical BSD fan to recognize the distinction in the 1st sentence. ---------------------------------------------------------------------- desal · 2020-11-24 23:00 don't be myopic. I'm clearly referring to this : "I assume you don't need Wi-Fi or Bluetooth to work?" "Good luck, buddy. BSD generally has terrible (current and recent gen) Wi-Fi support. It's best run on a used desktop if you want a cheap solution." There's a reason the comment is hidden, it's not just negative, it's inaccurate. You're the one blaming BSD for this.. then when I say it's not BSD's fault, you tell me its not about responsibility of them working together? edit: when I say "it's not BSD's fault" I mean that BSD *does* have support for Wi-Fi, varied support for bluetooth. I don't believe OpenBSD supports bluetooth, but that was kind of my point. it's different for every version of every BSD and every chipset, just like Linux has varied support as well. ---------------------------------------------------------------------- jdrch · 2020-11-24 23:08 > There's a reason the comment is hidden, it's not just negative, it's inaccurate. No, it's downvoted because it was made in r/BSD, and people are being defensive. If I said "PS5 has terrible 343 Industries support" in r/PS5 I'd get downvoted there too. Not because it's inaccurate or untrue (it's true) but because it's r/PS5 and people interpret my comment as being an attack on the PS5. If you're on Reddit for upvotes you're gonna have a bad time. In this particular instance downvotes don't bother me (Reddit has a limit on those anyway.) I said what I said. > You're the one blaming BSD for this "BSD generally has terrible (current and recent gen) Wi-Fi support" != blaming BSD. If I say "Tom has a terrible car," I'm not blaming Tom for his car. That particular model might just be unreliable, which has nothing to do with Tom. OTOH if Tom is particularly sensitive or defensive about his car, he might take the comment personally and assume my evaluation of his car applies to him personally. Which is what I think is going on here. ---------------------------------------------------------------------- Illustrious-Term6917 · 2020-11-25 23:21 Honestly if you can stand going a bit bigger, the X2.. series from Thinkpad doesn't feel huge and has pretty good support if you pick an older model. I used an X230 for a few years on OpenBSD with no real complaints. ---------------------------------------------------------------------- nia_netbsd · 2020-11-28 13:52 if you need suspend on a small laptop with decent performance a second hand thinkpad x-series is really your best netbsd option, suspend is sketchy at best on everything else. see the laptops wiki page for details on what devs use, basically ---------------------------------------------------------------------- crocflamingo · 2020-12-12 22:07 Thinkpad X230