/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: 1523398557025.png (800x689, 203K)

Other urls found in this thread:

man.openbsd.org/cwm
c0ffee.net/blog/openbsd-on-a-laptop/#cwm
man.openbsd.org/hostname.if
firmware.openbsd.org/firmware/
man.openbsd.org/iwn
man.openbsd.org/mixerctl
openbsd.org/faq/faq13.html
openbsd.org/papers/bsdcan2019-unveil/mgp00032.html
marc.info/?l=openbsd-cvs&m=156109087822676&w=2
undeadly.org/cgi?action=article;sid=20190621081455
cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/
man.openbsd.org/httpd
man.openbsd.org/httpd.conf.5
twitter.com/SFWRedditVideos

Previous threads:

You can read the manual page to understand how it works: man.openbsd.org/cwm

Or you can configure it to use the i3wm key bindings: c0ffee.net/blog/openbsd-on-a-laptop/#cwm

OP here, I'm thinking of abandoning this general.

If someone wants to start posting them themselves then they're free to so.

OpenBSD is fucking retarded

You can install XFCE, don't worry about FVWM.

thanks i was searching for this typeof info

No problem.

What? You install the DE and it works.

Why do you think they can't handle 1440p displays?

I can't get wifi to work.

iwn0: SIOCSIFFLAGS: Operation not permitted

Try connecting using an ethernet cable and run fw_update as root in order for the firmware to get downloaded.

Attached: quality.jpg (900x301, 69K)

did not work. brb. installing dragonflybsd

Try giving more info before saying "did not work", what does happen when you run fw_update? What shows up in dmesg?

Cool, is that a Debian VM on the right?

>dmesg | grep iwn0
iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 18:3d:a2:57:43:e0
iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 18:3d:a2:57:43:e0
iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 18:3d:a2:57:43:e0
iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 18:3d:a2:57:43:e0
iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 18:3d:a2:57:43:e0
iwn0: radio is disabled by hardware switch
iwn0: radio is disabled by hardware switch
iwn0: radio is disabled by hardware switch
iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 18:3d:a2:57:43:e0
iwn0: radio is disabled by hardware switch
iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 18:3d:a2:57:43:e0
iwn0: radio is disabled by hardware switch
iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 18:3d:a2:57:43:e0

You have to be root to put an interface up, dumb dumb

whenever did I imply I did not do it as root, dumb dumb dumb?

For starters you could show the command you actually ran.

OpenBaSeD:deini $ doas ifconfig iwn0 up
doas (deini@OpenBaSeD..) password:
ifconfig: SIOCSIFFLAGS: Operation not permitted

happy now dr. autismo?

>iwn0: radio is disabled by hardware switch
well why don't you flip the switch then

if I knew how to do that let alone what the fuck that is I wouldn't be here

what laptop

i'm thinking either it's on the side or you hit Fn+F2, most likely

HP Elitebook 2540p

wireless works on linux on this machine so I don't think I somehow turned of something

Just flip it d00d

trolls. i'm outa here

Welcome to the openBSD experience.

You need firmware for the wireless chip.

What shows up when you connect an ethernet cable and run doas fw_update? Make sure that the ethernet cable is getting connectivity: man.openbsd.org/hostname.if

It's 4

Attached: wireless.png (480x499, 116K)

if it were missing firmware dmesg would say that.

doas fw_update flashes no changes. no output to copy. sorry

ethernet has been working flawlessly out of the box though.

this is 1 of 2 issues I have with openbsd. the second is whenever I plug headphones into the laptop my microphones turn on.
I hate that this happens because I like this OS to god damned much, but I can't seem to find a solution to any of these problems...

The iwn(4) driver is non-free, therefore OP needs to download it from fw_update, which gets its updates from firmware.openbsd.org/firmware/ (you can see that the iwn(4) driver is listed there, because it's non-free, therefore it has to be downloaded separately.

What is your reason to use OpenBSD?

t. curious non-user of OpenBSD

no fucking shit dude. he has the fucking firmware already! otherwise dmesg would say missing firmware! dmesg actually says wireless disabled by button, so he needs to press the wireless button.

Take a look at this man page, might be useful for the first issue: man.openbsd.org/iwn
The second issue can be solved with this one: man.openbsd.org/mixerctl

...

Read the "Why OpenBSD" section of the thread.

>the second is whenever I plug headphones into the laptop my microphones turn on.
might be a solution to that - can you paste the output of "mixerctl"

From the iwn(4) man page:
>iwn0: radio is disabled by hardware switch
>The radio transmitter is off and thus no packet can go out. The driver will reset the hardware. Make sure the laptop radio switch is on.

fn+f4 doesn't work. no changes in the wifi indicstor on my laptop, which has an orange light both before and after

record.adc-0:1_source=sel2
record.adc-0:1_mute=off
record.adc-0:1=119,119
record.adc-2:3_source=sel3
record.adc-2:3_mute=off
record.adc-2:3=119,119
inputs.sel6_source=adc-0:1
inputs.sel7_source=adc-0:1
inputs.beep_mute=off
inputs.beep=85
outputs.hp_sense=unplugged
outputs.mic_sense=unplugged
outputs.line-in_sense=unplugged
outputs.hp2_sense=unplugged
outputs.spkr_muters=hp,hp2
outputs.master=126,126
outputs.master.mute=off
outputs.master.slaves=dac-0:1,dac-2:3
record.volume=119,119
record.volume.mute=off
record.volume.slaves=adc-0:1,adc-2:3
record.enable=sysctl

Not F4. It's the same row as the power button.

feel free to call me an idiot....

Attached: facepalm.jpg (350x350, 14K)

Did it work?

Idiot

and how does mixerctl look when you plug headphones in?

yes it worked....

outputs.hp_source=mix2
outputs.hp_boost=off
outputs.mic_dir=input-vr80
outputs.mic2_dir=input-vr80
outputs.spkr_source=dac-2:3
outputs.line-in_dir=input
outputs.hp2_source=mix2
inputs.dac-0:1_mute=off
inputs.dac-0:1=126,126
inputs.dac-2:3_mute=on
inputs.dac-2:3=126,126
inputs.sel_source=mix2
inputs.mix2_source=dac-0:1,dac-2:3,sel2,sel3
inputs.mix2_dac-0:1=120,120
inputs.mix2_dac-2:3=120,120
inputs.mix2_sel2=120,120
inputs.mix2_sel3=120,120
inputs.sel2_source=mic2
outputs.sel2=85,85
inputs.sel3_source=mic
outputs.sel3=85,85
record.adc-0:1_source=sel2
record.adc-0:1_mute=off
record.adc-0:1=119,119
record.adc-2:3_source=sel3
record.adc-2:3_mute=off
record.adc-2:3=119,119
inputs.sel6_source=adc-0:1
inputs.sel7_source=adc-0:1
inputs.beep_mute=off
inputs.beep=85
outputs.hp_sense=unplugged
outputs.mic_sense=plugged
outputs.line-in_sense=unplugged
outputs.hp2_sense=plugged
outputs.spkr_muters=hp,hp2
outputs.master=126,126
outputs.master.mute=off
outputs.master.slaves=dac-0:1,dac-2:3
record.volume=119,119
record.volume.mute=off
record.volume.slaves=adc-0:1,adc-2:3
record.enable=sysctl

I think I somehow didn't copy everything last time I posted mixerctl output

pavucontrol
no matter what I do with the slider the microphone is still recording and no change in volume

Don't use pavucontrol with OpenBSD.

I'd fiddle with the mutes in mixerctl. like
mixerctl record.volume.mute=on
mixerctl record.adc-0:1_mute=on
mixerctl record.adc-2:3_mute=on
mixerctl inputs.dac-0:1_mute=on
mixerctl inputs.dac-2:3_mute=on
If any of those help, it's a start.

some user in one of these threads suggested it last time I tried getting a solution for this problem.

>picture I forgot to post

Attached: pavucontrol.png (1272x763, 32K)

inputs.dac-0:1_mute=off
inputs.dac-2:3_mute=on
record.adc-0:1_mute=off
record.adc-2:3_mute=off
inputs.beep_mute=off
outputs.spkr_muters=hp,hp2
outputs.master.mute=off
record.volume.mute=off

doesn't work

>inputs.dac-2:3_mute=on
this was off...it keeps turning on.wtf

So you're saying:
after headphones were plugged in, and running all those mixerctl commands, you still get sound, and running mixerctl again shows all the mutes turned off even though i just turned them on.

is that what you're saying? just making sure i understand

Take a look at this, might be helpful:
openbsd.org/faq/faq13.html

Any amdgpu users around here? How does it work for you?

I’m saying off or on doesnt matter it’s still not muted

But only when the headphones are plugged in?

Can you post the full mixerctl output with headphones unplugged since is incomplete?

NPC

Don't go sweetheart, I'll miss you :'(

See

I can't tell if you mean that ironically or seriously.

>yfw no TRIM
lole

Attached: o-AMANDATODD-facebook.jpg (1536x1023, 109K)

I'm pretty sure that many people who nag about TRIM support constantly don't know what it is or what it does, because if they did know what it does and how irrelevant it is, they would stop nagging about it.

Attached: abertobaiacu.png (1023x801, 234K)

Yes it does, thanks :)

If you're also the same faggot who posts Haiku generals, you should just stop posting altogether. Nobody likes these generals.

OP here, I don't like Haiku and I never used it myself.

Then carry on, OP.

Does it turn on when you reboot your computer? Or when you plug a new device?

no matter how hard you cry your SSD won't stop being bloat

stay
fucking
mad

You are the one being mad here ;)

I'm glad that shills can't survive in this thread, so it made its own thread:

They always get disproven in /obsd/ threads, then they go and cry about the same retarded points in the next /obsd/ threads. The best thing to do is to just ignore them. They don't even know what they're talking about 99% of the time.

Yep. That's just about it.

That thread is hilarious.

shills are always great for the lulz

Great introductory presentation to unveil() in OpenBSD.
>pic related my favorite slide

Attached: mgp00022.jpg (1024x768, 98K)

forgot the link:
openbsd.org/papers/bsdcan2019-unveil/mgp00032.html

marc.info/?l=openbsd-cvs&m=156109087822676&w=2
OpenBSD just implemented protection for private keys at rest in RAM against speculation
and memory sidechannel attacks.

That's an interesting presentation, thanks for the link.

Where does that hand come from?

idk

undeadly.org/cgi?action=article;sid=20190621081455
Here's the news article about it.

>openbsd.org/papers/bsdcan2019-unveil/mgp00032.html
nice, but they are half implementing what Plan 9 does natively. I'd like to see 9front more used instead of seeing other os implementing its features

Does Plan 9 have something similar?

>Claims to be a minimalist, bloat-free OS
>If you want to use Xorg it comes with 3 (three) window managers preinstalled that you cannot remove because they are in the base system
>No xorg-minimal install without xclock, xeyes and all the other bloat
Into the trash it goes, where it belongs.

Attached: ok_lmao.gif (640x480, 1001K)

OpenBSD lets you choose the install sets by default, why did you choose everything?

Because you cannot install X without installing cwm, fvwm and twm because there is no proper package management on this system.

There are *four* sets that are related to Xorg, and you choose all of four of them and you came crying here. Next time read what the installer says before pressing enter.

Are you actually retarded?
xbase is required to have a working Xorg desktop and it includes a fuck ton of boat that you cannot remove.

All these threads ever talk about is desktop (or more precisely, second-hand business laptop) usage. Has anyone here run a server on OpenBSD? OpenBSD's httpd looks nice, but I don't want to give up on Apache's features.

Attached: puffy-tan_532x873.jpg (532x873, 89K)

It seems like you are the retarded one here. Here are the sets:
cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/
How many Xorg ones can you see? In case you can't count too I'll count them:
1- xbase
2- xfont
3- xserv
4- xshare

You can install Apache on OpenBSD.

I know. I am curious about the strengths and weaknesses of httpd if someone ITT has actually used it.

What Apache features do you want? You can check if they're available in httpd here:
man.openbsd.org/httpd
man.openbsd.org/httpd.conf.5

You need all of them to be able to set up a working desktop.
xbase is the set that includes (as the name suggests) the base libraries required by any X window managers, but it also includes three WMs.
What's honestly so hard to understand here?

No they aren't, you only need xserv to have a working X server and that's it.