/obsd/ - OpenBSD General

OpenBSD is a free and open-source, security-focused, Unix-like operating system.

*Please remember that this thread is not meant to be a discussion about Linux vs OpenBSD*

FAQ:
>How do I get started?
-openbsd.org/faq/faq4.html

>What are the available graphics drivers?
-amdgpu(4): AMD Radeon GPUs using the amdgpu kernel driver (not enabled by default yet, still Work-In-Progress)
-intel(4): Intel integrated graphics chipsets
-radeon(4): ATI/AMD Radeon video driver
-efifb(4): EFI frame buffer
-vesa(4): Generic VESA video driver

>What are the available wireless drivers?
-man.openbsd.org/?query=wireless&apropos=1

>How do I set up Full-Disk Encryption?
-openbsd.org/faq/faq14.html#softraidFDE

>Why OpenBSD?
-sivers.org/openbsd
-over-yonder.net/~fullermd/rants/bsd4linux/01 (discusses *BSD in general)
-why-openbsd.rocks/ (shows up a random fact about OpenBSD whenever you load it)
-openbsd.org/innovations.html
-en.wikipedia.org/wiki/OpenBSD_security_features

>Should I use -release or -current?
-If you're using it in your home machine, then -current is most likely what you're looking for since it contains updated packages.

>How do I follow -current?
-openbsd.org/faq/current.html

>How do I upgrade -current to the latest snapshot?
-Just run sysupgrade(8) as root.

>How do I get help?
-OpenBSD man pages
-OpenBSD mailing lists: openbsd.org/mail.html
-daemonforums: daemonforums.org/
-OpenBSD FAQ: openbsd.org/faq/

>Book recommendations:
-Absolute OpenBSD (2nd edition)
-The Book of PF (3rd edition)

>Miscellaneous:
-c0ffee.net/blog/openbsd-on-a-laptop/ (tips for a laptop installation, contains some useful information)
-openbsd.org/lyrics.html (OpenBSD's songs) -cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/ (list of available packages)

Feel free to ask questions and discuss topics that are related to OpenBSD.

Attached: bluefish.jpg (227x339, 16K)

Other urls found in this thread:

man.openbsd.org/httpd
cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/
openbsd.org/faq/faq5.html#Custom
man.openbsd.org/drm.4
man.openbsd.org/amdgpu.4
cvsweb.openbsd.org/src/sys/arch/amd64/conf/GENERIC?rev=1.473&content-type=text/x-cvsweb-markup
man.openbsd.org/nvme
openbsd.org/faq/faq14.html#softraidFDEkeydisk
github.com/jasperla/openbsd-wip/blob/master/x11/intel-vaapi-driver/TODO
openbsd.c3sl.ufpr.br/openbsd/)
twitter.com/SFWRedditGifs

first for no drivers

>literally works on everything that isn't Nvidia
>no drivers
Shills aren't trying hard these days.

>inb4 GPL vs BSD

>Here's your OpenBSD fileserver bro!

Attached: egnyte-death-of-the-file-server-happy-halloween3.jpg (375x348, 20K)

man.openbsd.org/httpd
>Here is your file server bro, can be configured with two lines of configuration.

>he doesn't know

Attached: potatoqualityanimegiggle.gif (220x272, 63K)

Thinking about switching from arch. How comfy is ricing on OpenBSD?

Ricing on OpenBSD is similar to ricing on anything else, just make sure that the stuff you need are available in packages before switching:
cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/

I will miss polybar :-(

You can use lemonbar.

How do I get AMDGPU working on my system with an RX580? Can I just boot a -current install cd? Do I have to compile some shit from ports like with drm-next in FreeBSD?

you have to install a -current snapshot then you have to compile a kernel with a custom config that doesn't have the amdgpu lines commented out

Go back to r/unixporn and stay there. If you weren't such a brainlet ricer you would just fork it for OpenBSD.

Ok got it. I messed with CVS that openbsd uses before. But will I have working video to use the terminal to even be able to compile the kernel with amdgpu or would I have to get a already supported graphics card? (Or maybe create a custom ISO with the proper kernel?)

The generic efifb(4) driver should work fine for most tasks, including watching videos and compiling stuff, so most likely you won't need to replace anything in your hardware before compiling the kernel.

As for building the kernel, take a look at this:
openbsd.org/faq/faq5.html#Custom

Works perfectly on my T420s. It's the comfiest OS.

Same on my laptop, pretty comfy.

My only gripe I guess is that the apm command only tells you the total battery status, for a machine with two or more batteries you can't figure out how charged they all are.

I have an Ultrabay battery which I use just for hot swap with the main one but sometimes it discharges that one too, and I'm not elite enough to figure out the apm code even though I've looked.

That's one enhancement I'd love to see, better apm status and battery control. But it's not a big deal.

Thanks a lot kind user! I'll do it when I get home. Might post results tomorrow.

No problem, don't forget to tell us how it goes.

Also take a look at these man pages:
man.openbsd.org/drm.4
man.openbsd.org/amdgpu.4

If you want to look at the config file from your browser before editing it in your machine, take a look at it here:
cvsweb.openbsd.org/src/sys/arch/amd64/conf/GENERIC?rev=1.473&content-type=text/x-cvsweb-markup
(basically search for "amdgpu" and uncomment the lines that has it).

What WM/DE do you guys use? I'm personally using cwm at the moment.

Same user here. I ended up downloading the -current .fs from a mirror as it seems openbsd's cdn has issues? anyway I'll use the mirror in the install as well, just backing up shit from my current OS.

RELEASE > snapshots
prove me wrong

Attached: marie.jpg (800x1200, 623K)

Downloaded some updates from OpenBSD's mirror earlier today, no problems on my end.

-current is more suited for home usage since it contains updated packages. -release is more suited for servers since it gets rarely updated.

same user, sorry for hogging thread just making sure of something. is there any harm to installing openbsd on my nvme ssd? will it be able to boot through it?

Gnome. It's super comfy.

>same user, sorry for hogging thread
No problem, feel free to ask as many questions as you like.
>just making sure of something. is there any harm to installing openbsd on my nvme ssd? will it be able to boot through it?
No harm at all, OpenBSD supports NVMe SSDs out of the box. It will be able to boot through it just fine.
man.openbsd.org/nvme

How's the performance?

>rarely
It's updated every six months.

Just the other day a large number of people on snapshots had a failure to boot issue. It was fixed but pretty unacceptable. But people running the snapshots realize they are beta testers so no hard feelings.

My main issue is that I can't run some sort of video chat application like ZOOM or Skype...

Is there any way to have my main disk (nvme ssd) have full disk encryption and contain inside it the key for my second disk (sata HDD) that is being used as /home so it ends up being mounted without requiring me to type a password?

I haven't tried it myself, but take a look at this:
openbsd.org/faq/faq14.html#softraidFDEkeydisk

Have you tried using them in a browser?

That was a long time ago AFAIK.

I don't think that it needs to be ported, just compile it on OpenBSD and that's it.

I got an OS class next semester and everyone will use Ubuntu for the code. Am I going to do well if I want to be contrarian and use OpenBSD? Also how is it for having virtual machines on it and making it work somehow like Qubes? Please forgive my ignorance

>I got an OS class next semester and everyone will use Ubuntu for the code. Am I going to do well if I want to be contrarian and use OpenBSD?
You're going to be fine, unless you're going to write Linux-specific code or use Linux-specific tools.
>Also how is it for having virtual machines on it and making it work somehow like Qubes?
The virtual machines on OpenBSD don't have graphical output (yet), only serial console, in order to get graphical output, you need to set-up something like VNC or X forwarding.
>Please forgive my ignorance
It's alright, we all start somewhere.

mfw the SACK bug crashing Linux and NoHugBSD was fixed 15 years ago in OpenBSD 3.5

This.

Nah it just happened again. Like last month. Check openbsd.misc list.

btw just posting this from openbsd, runs great on my t420s

Attached: 2019-06-17-233632_1584x864_scrot.png (1584x864, 32K)

Nice.

can I haz vaapi?
wayland?

github.com/jasperla/openbsd-wip/blob/master/x11/intel-vaapi-driver/TODO

/thread

>literally doesn't work on 50% of PCs
ftfy

>wastes hald the power of your cpu by not allowing hyperthreading

A big plus.

How the fuck do you partition a 500gb disk?

The same way you partition a 250GB or 1TB disk but with a larger home partition

The partition tool doesn't give you an option of displaying sizes in megabytes or gigabytes, but displays it in fucking sectors. I'm not an android.

It allows SMT; it's just disabled by default.

It's been a while since I've edited partition sizes at install but if you use the help prompt there should be an option to display sizes in B/MB/GB/etc.

Just type "p g" and it will print in gigabytes

On another note, I downloaded and installed -current but pkg_add keeps on giving me errors about not being able to resolve the packages that are pulled in as dependencies for any package I try to install. Not at home right now tho.

Are you sure that you have an Internet connection/mirror set-up?

You got any proof for that? Or are you talking out of your ass?

Hyperthreading is disabled by default as a security measure because it enabled many dangerous vulnerabilities like Meltdown, Spectre and MDS.

You can still enable though.

Yep. I tried with both a mirror near me (openbsd.c3sl.ufpr.br/openbsd/) and with the CDN. Both gave me the same issue.

You're doing it all wrong friend. Let the installer do the partition for you. Just remember, type yes to almost everything to install OpenBSD, it's almost too easy.

Or follow the handbook.

Can you write the exact error message? And try to ping the mirrors you're connecting to.

how clever of you not to say what the fuck you're talking about...