Questions tagged [openbsd]

OpenBSD is a BSD variant with a strong security and code correctness focus.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

How do you use fluxbox in OpenBSD

I recently installed OpenBSD on my sparc64 workstation and I wanted to use fluxbox for my desktop environment. When I install it and try to start it it gives a error saying "couldn't connect to ...
2
votes
1answer
43 views

Can't Install firefox in OpenBSD/sparc64

I just installed OpenBSD on a sparc64 based pc but when I try to do pkg_add -v firefox it says can't find firefox. I also tried installing nano, which installed fine, so why can't it find firefox.
0
votes
1answer
25 views

Is it possible to make a user that can only log in using su?

I want to make a user that can only be accessed using su. I can see in the login.conf man page there are different authentication types, and one of the example types is su, but I am unable to discover ...
0
votes
0answers
14 views

I get taken back to the xeondm login screen after trying to login on OpenBSD

I am trying to start MWM by default. I edited the $HOME/.xsession script to make OpenBSD boot with MWM by default instead of FVWM, After I rebooted OpenBSD. I tried to login with xenodm, and all it ...
3
votes
1answer
85 views

What are the daemon user and group for?

I am configuring a web server on OpenBSD and I can see in /var/www/ that all directories except /var/www/cache/ are root:daemon. I then see that the user for the daemon group is daemon $ grep daemon /...
0
votes
0answers
22 views

After OpenBSD finished installing, it does not recognize my mouse

I recently installed OpenBSD, and after it got installed. I got a message saying: wsmouse0 detached. Yet the keyboard still works fine. How can I solve this issue? I have a USB mouse by the way for ...
0
votes
2answers
36 views

Limit SSH to a range of IP

I work with OpenBSD and I want to limit the port 22 for all user who have an IP between 192.168.42.40 - 192.168.42.60. But I don't know how to do this. I need to modify the packet filter ? (SSH is on ...
0
votes
0answers
41 views

Server httpd(OpenBSD), doesn't work server.key

I am trying different ways, but ssl certificate doesn't working BSD# curl -vi https://192.168.1.21:443 * Trying 192.168.1.21:443... * Connected to 192.168.1.21 (192.168.1....
2
votes
1answer
50 views

What is the difference between unbound and unwind?

Reading the man pages of OpenBSD gives me unwind - validating DNS resolver and unbound - Unbound DNS validating resolver 1.11.0 which begs the question - what is the difference between these ...
0
votes
0answers
26 views

Configuring printer on OpenBSD

I am trying to connect my home printer to my OpenBSD laptop via USB and with XSane program. When I launch Xsane I am getting error as "No device found". It works fine with Debian system that ...
1
vote
1answer
52 views

Linux equivalent of these BSD-style routes

I'm following these instructions for setting up a (kernel-space) Wireguard VPN on OpenBSD. In my particular case, the VPN server is running OpenBSD and is confirmed to be working correctly (as one of ...
1
vote
1answer
75 views

OpenBSD 6.7 Wireguard instructions fail

Wireguard setup instructions don't work for me on my OpenBSD 6.7 machine: $ uname -a OpenBSD foobar 6.7 GENERIC.MP#3 amd64 $ sysctl kern.version kern.version=OpenBSD 6.7 (GENERIC.MP) #3: Thu Jul 9 07:...
0
votes
3answers
173 views

Does *BSD have the ability to encrypt a system partition with full disk encryption?

Does FreeBSD, NetBSD, or OpenBSD have an encryption feature like Linux's dm-crypt? And will it work for a system partition?
0
votes
1answer
47 views

Configuring networking with QEMU for OpenBSD 6.7 guest on Debian Buster host

I have a host machine running Debian 10 and am using QEMU to run an OpenBSD 6.7 guest (amd64). My current invocation of QEMU is as follows: $ qemu-system-x86_64 -m 512 -drive if=virtio,file=my_image....
0
votes
1answer
157 views

How come I can't use `\` to continue a line in crontab?

The acme-client(1) man page suggests the following cron entry: ~ * * * * acme-client example.com && \ rcctl reload httpd When I add to crontab the edit is not saved when I use ...
0
votes
1answer
35 views

How to use interface name instead of IP addresss on IPFW?

add 04000 allow IP from 192.168.1.10 to ca-vancouver.privateinternetaccess.com keep-state I want to change to epair0b because I want to avoid hardcoded IP address and I would like to use DHCP instead ...
0
votes
0answers
21 views

Can Postgres data_directory be Moved to Block Storage on OpenBSD?

Trying to figure out if we can switch Operating System from Linux (Ubuntu) to OpenBSD. Moving the Postgres data_directory to the Block Storage works flawlessly on Ubuntu/Debian e.g: https://www....
0
votes
0answers
31 views

OpenBSD installation script does not recognise SATA-connected drives

My question is one that has been posted here before but merits a new thread since the solution given did not work for me. During the OpenBSD installation, only one device is recognized as a candidate ...
0
votes
0answers
29 views

How to pkg_* on openbsd with multiple repos?

When multiple repos are in $PKG_PATH pkg* seems to get confused. It will only check one for packages so if it finds v1.0 in the first repo it stops, even if the second has v1.2 which is newer. This ...
0
votes
1answer
76 views

Permission denied opening socket / connection with rsync in OpenBSD

I recently was trying to retrieve a copy of UCE (spam) sender IPs from uceprotect.net with rsync, but I encountered the following errors: [user@host ucedata]$ rsync -rzv rsync-mirrors.uceprotect.net::...
1
vote
1answer
37 views

What is the canonical way to have wifi devices reconnect?

On openbsd6.7 I was able to get the urtwn driver to work easily, by setting up a /etc/hostname.urtwn0. I can connect to different APs defined by separate join statements. However, when I suspend/...
0
votes
1answer
74 views

Start network connections last on boot

Running OpenBSD 6.7 as my perimeter device with a number of services installed to monitor the network. The problem is netstart runs early in the boot process resulting in the interfaces being ...
1
vote
1answer
51 views

Routing on all interfaces

I recently got a small single board computer to replace the horrible router provided by my ISP. Following this example: https://www.openbsd.org/faq/pf/example1.html em0 is my WAN, em1 is an AP, and ...
2
votes
1answer
72 views

OpenBSD: downloading and installing php packages

How do I download and install packages from the command line in OpenBSD? As an example, in Fedora, to download the php pecl-memcached package from the command line, I just do this: dnf install php ...
0
votes
1answer
142 views

mount_null / mount --bind equivalent for OpenBSD

What's the most efficient way of making an already mounted directory available within a chroot'ed environment (e.g. webserver)? I know that Linux offers the mount --bind option and other BSD variants ...
1
vote
0answers
161 views

Mail sent with mutt is not dkim signed

On OpenBSD 6.6 I'm sending mail with mutt and it isn't being DKIM signed. I am new to OpenBSD, mutt, and rspamd, so any help much appreciated. $ cat ~/.muttrc set editor = nano set pager = lynx set ...
2
votes
0answers
52 views

OpenBSD ipsec routing

I have an OpenBSD VM that I wish to connect to my OpenBSD home router with ipsec. The objective is to have a secure channel between my home network and the VM. So I have the following ike conf' on ...
0
votes
2answers
51 views

Where is DHCP data stored on OpenBSD?

I'm currently testing with some DHCP and I'm wondering how I can verify if options like "option host-name" or "option domain-name-servers" really worked on the client machine (OBSD 6.6). Where does it ...
0
votes
1answer
177 views

How do I install OpenBSD/ARM in qemu?

Could you share a specific command line & which file I need to download to make this work? If you have a link to an OpenBSD/ARM image that is already installed (and a commandline to run it), that ...
0
votes
1answer
55 views

Compaq CQ58 with RT3290 and with OpenBsd 6.6 do not want to switch on WiFi card

I have Compaq CQ58 with combo wireless card RT3290. OpenBSD 6.6. Wifi key F12 lights orange. This command: ifconfig ral0 scan says, besides other info, that status: no network and that cannot ...
0
votes
1answer
68 views

OpenBSD Unix Wifi Wireless Networking IDIMAX N150 USB Wifi dongle issue

I was able to successfully install OpenBSD 6.6 on a Dell Latitude e6400 laptop I have, that I installed an SSD drive on. It works great with Ethernet LAN with cat6 cable to my internet router, no ...
0
votes
1answer
117 views

OpenBSD Unix USB Install, BIOS Recognizes hard drive, but OpenBSD Install does not recognize

I have a Dell Latitude e6400 laptop, that I am trying to install on from a USB drive, the BIOS Recognizes the hard drive and also lists the hard drive size, but during install from USB, OpenBSD is ...
0
votes
1answer
127 views

OpenBSD: Where to seek for the source of programs in the base system?

In OpenBSD, I use pkg_info -E $(which [cmd]) to be supplied with the name of the package/port to the executable/command [cmd]. Having this information I can further look for the source code to the ...
0
votes
1answer
35 views

OpenBSD how to Create node for wd1 block device?

On OpenBSD, during install: Via dmesg | grep wd1 -A1 I know this information: wd1 at pciide0 channel 0 drive 1: <VBOX HARDDISK> wd1 128-sector PIO, LBA, 450MB, 922496 sectors however I cannot ...
2
votes
1answer
501 views

OpenBSD Unix 6.6 Gnome 3.2 Side Effect Issue on Window Manager

I have several older Dell laptops and have been putting them to good use by installing Linux and BSD Unix. I wanted to learn OpenBSD Unix so I installed it on a Dell Vostro 1500 I have with 2Ghz Intel ...
8
votes
2answers
385 views

Bounds in awk regular expression do not work on OpenBSD

This awk expression prints inet 34.45 as expected on OpenBSD: echo "inet 34.45" | awk '/inet [0-9]+\./ { print }' However, when I replace the + with a bound {1,3}, I am not getting any match: echo "...
7
votes
1answer
250 views

Packaging binary release on OpenBSD

I have a tiny application written in go and I've cross-compiled it to various operating systems. Currently my Makefile generates myapp-VERSION-OS-CPUARCH.tar.gz packages to be used as a source ...
1
vote
2answers
295 views

Historically, what was the first OpenBSD remote hole?

On: https://www.openbsd.org/ I can see: Only two remote holes in the default install, in a heck of a long time! I understand the concept what are they pointing out, since other OSes have ...
0
votes
1answer
1k views

Is there anything similar to CrystalDiskMark for UNIX?

If you're shopping for an SSD, you've surely seen one of those screenshots from CrystalDiskMark with a few green squares, and the 2x4 matrix with results of doing read/write tests for the given ...
3
votes
1answer
150 views

How to make a custom OpenBSD distribution?

Goal Create a custom distro that comes with a desktop environment and other desktop utilities, general applications, custom ~/.xsession, etc. Basically, a simple image for usage with OpenBSD ...
0
votes
0answers
47 views

How change wifi network on OpenBSD

I'm connected to the xyz wifi network. I want change to kzq network. I edit the /etc/hostname.if file and I add join kzq without wpa password because it's an open network. Then I run sh /etc/netstart ...
0
votes
0answers
88 views

polkit on OpenBSD

I use xfce which came with a polkit action org.xfce.thunar.policy in /usr/local/share/polkit-1/actions/. This action allow to run thunar as root if you can give the root password. On debian with ...
6
votes
2answers
107 views

ssh-keygen and its -Z option on OpenBSD and on RHEL

I'm following along a rather good text about SSH certificates written for RHEL 6 and openssh-5.3p1-94.el6 (which makes it about 10 years old) while trying to mimic the examples on my OpenBSD-current ...
1
vote
1answer
264 views

OpenBSD pf - redirect all DNS queries to local DNS server

Our little home network: ISP -> ROUTER -> SWITCH -> WIFI APs -> CLIENTS ROUTER: OpenBSD 6.5, giving DHCP+fwing internet to the WIFI APs. Based on https://www.openbsd.org/faq/pf/example1.html#pf and ...
0
votes
0answers
27 views

How to get terminal window to show username@remotedevice as title when logging in remotely to OpenBSD?

I am new to OpenBSD and logging in using Linux Mint with OpenSSH. The current behaviour is when logged in to the the remote device, my terminal's title changes to username@localdevice, but I want it ...
2
votes
1answer
348 views

No gcc executable after pkg_add gcc on OpenBSD

I installed gcc from packages on OpenBSD 6.5 # pkg_add gcc-8.3.0 gcc related files are installed at /usr/local/lib/, but no gcc executable is found. # gcc -bash: gcc: command not found (I'm aware ...
2
votes
2answers
199 views

cut now has a line length limitation?

I had a script, with a 25,000 character input that I was using 'cut' on: ...\n" | cut -c -$LENGTH I didn't use it that frequently, but it was working (oh, about a year or two ago). Granted, my ...
-1
votes
1answer
2k views

How to connect to WIFI in OpenBSD?

Question: How to connect to WIFI on OpenBSD? Currently I have tried: # ifconfig iwn0 nwid <network-name> wpa wpapsk `wpa-psk <network-name> <my-passphrase>` But it responds with ...
1
vote
0answers
132 views

How to start Lumina by default? [OpenBSD]

Question: How do I configure OpenBSD to start Lumina by default instead of OpenBSD's default desktop environment?
1
vote
1answer
639 views

How to change window managers?

I have been trying to change my window manager from the default cwm to something different (probably OpenBox). Reading some articles online, it appears the configuration would be in the $HOME/....

1
2 3 4 5
9