Re: Using ffmpeg to record x11 screen & audio

2024-09-21 Thread Thomas Frohwein
On Fri, Sep 20, 2024 at 10:47:42PM -0700, patrick keshishian wrote: > Hi folks, > > Attempting to do a screen capture (x11) including audio; say chrome is > playing a video clip and I want to capture a portion of the screen > along with the audio. > > Quick search shows following example: > > f

Re: IPv6 static host address inside dynamic network

2024-09-10 Thread Thomas Bohl
Am 02.09.2024 um 22:21 schrieb Chris Ross: I’m trying to move from a static IPv6 network to a dynamic allocation from an ISP. The hard part is that some of my hosts have secondary addresses for specific services to use. I need to find a way to listen to router adverts but then manually add an a

Re: httpd & calibre-server (ebooks)

2024-09-07 Thread Greg Thomas
If I'm reading this correctly you're missing some of this: https://www.openbsd.org/faq/pf/rdr.html Not sure what is sending this: "500 Internal Server Error" because you haven't mentioned your public IP setup. On Sat, Sep 7, 2024 at 1:58 PM Am Jam wrote: > Hi Everyone, > > I am trying to hos

Re: Suggestions

2024-09-05 Thread Greg Thomas
Have you ever considered being a comedian? On Thu, Sep 5, 2024 at 10:50 PM wrote: > Drag and drop does not work in xfce ... > auto mounting of usb memories would be great > >

Re: hostname.if

2024-09-05 Thread Greg Thomas
Is this a trick question? Mine has 1. On Wed, Sep 4, 2024 at 11:50 PM wrote: > What should my hostname.if file look like. > Is there a minimum amount of settings I need? > >

Re: avrdude can't find usbasp

2024-08-14 Thread Thomas L.
On Wed, 14 Aug 2024 01:47:05 +0300 kodcode wrote: > Doesn't work for me. > Have you tried your solution (with an usbasp)? the additional group is only applied after you relogin. $ doas usermod -G dialer tom $ id uid=1000(tom) gid=1000(tom) groups=1000(tom), 0(wheel), 735(_wireshark) $ id tom uid

Re: Automatic Disk Partitioning

2024-08-04 Thread Greg Thomas
I don't know if I'm misreading your inquiry but if I have more than enough storage space why would I allocate way too much space to system partitions by allocating it proportionally? On Sun, Aug 4, 2024 at 12:18 PM David Uhden Collado wrote: > Hello, > > I have observed that the automatic partit

Re: IPv6 ULA routing stops working after 20 hours or so

2024-06-24 Thread Thomas Bohl
Am 23.06.2024 um 19:50 schrieb Thomas Bohl: The router doesn't have a valid NDP entry. It has a NDP entry for an address ifconfig says is deprecated. If I force the use of this deprecated address with "ping -I" the response are received. I have to verify if it always stops if

Re: IPv6 ULA routing stops working after 20 hours or so

2024-06-23 Thread Thomas Bohl
Am 23.06.2024 um 19:05 schrieb Crystal Kolipe: On Sun, Jun 23, 2024 at 06:42:10PM +0200, Thomas Bohl wrote: (The log-output is indistinguishable from when it is working.) Yet I don't see them arriving with tcpdump: # tcpdump -n -i vio0 ip6 tcpdump: listening on vio0, link-type EN10MB

Re: IPv6 ULA routing stops working after 20 hours or so

2024-06-23 Thread Thomas Bohl
^C 79 packets received by filter 0 packets dropped by kernel Strange On 23 Jun 2024, at 2:27 AM, Thomas Bohl wrote: Hello, I'm using ULAs for my local IPv6 networks. The hosts have internet access via the router doing NPTv6. After around 20 to 24 hours of uptime the OpenBSD hosts

Re: IPv6 ULA routing stops working after 20 hours or so

2024-06-23 Thread Thomas Bohl
be I should let slaacd run in the foreground till IPv6 stops working and see if that give out clues. Jason. Sent from my iPhone On 23 Jun 2024, at 2:27 AM, Thomas Bohl wrote: Hello, I'm using ULAs for my local IPv6 networks. The hosts have internet access via the router doing NPTv

IPv6 ULA routing stops working after 20 hours or so

2024-06-22 Thread Thomas Bohl
Hello, I'm using ULAs for my local IPv6 networks. The hosts have internet access via the router doing NPTv6. After around 20 to 24 hours of uptime the OpenBSD hosts (three in total) are no longer able to reach the IPv6 internet. A restart of the affected hosts usually helps. In rare cases a

Re: installing packages mentioned as dependency in ports package

2024-06-21 Thread Thomas L.
On Fri, 21 Jun 2024 20:16:57 +0530 Sandeep Gupta wrote: > My query is how to install build dependency of a package listed in > ports? i have FETCH_PACKAGES=-Dsnap in my /etc/mk.conf so that for all dependencies pkg_add -Dsnap is tried first (see bsd.port.mk(5) for details). you can also pass that

Re: make usb audio device always rsnd/1 - not rsnd/2

2024-06-19 Thread Thomas Frohwein
On Wed, Jun 19, 2024 at 01:25:44PM +0200, Divan Santana wrote: > Greetings All, > > I have a USB audio bluetooth dongle plugged in. > > azalia0 at pci0 dev 31 function 3 "Intel 600 Series HD Audio" rev 0x01: msi > audio0 at azalia0 > uaudio0 at uhub5 port 1 configuration 1 interface 3 "Creative C

Re: webcam not working on chromium

2024-06-13 Thread Thomas Frohwein
On Thu, Jun 13, 2024 at 03:45:55PM +0200, Walter Alejandro Iglesias wrote: > Hello Thomas, > > On Thu, 13 Jun 2024 09:27:30 -0400 Thomas Frohwein wrote > > On Thu, Jun 13, 2024 at 01:45:44PM +0200, Walter Alejandro Iglesias wrote: > > > Hi everyone, > > > >

Re: webcam not working on chromium

2024-06-13 Thread Thomas Frohwein
On Thu, Jun 13, 2024 at 01:45:44PM +0200, Walter Alejandro Iglesias wrote: > Hi everyone, > > I followed the instructions in OpenBSD media FAQ but I coudn't make my > webcam work neither on chromium nor on ungoogled-chromium. It works > fine on Firefox. Does anyone know any trick to make it work

Re: Sudden reboot every 5-10 minutes on latest snapshot

2024-05-25 Thread Thomas Frohwein
On Sat, May 25, 2024 at 12:06:39PM +, Ali Farzanrad wrote: > Ali Farzanrad wrote: > > Alexandre Ratchov wrote: > > > On Fri, May 24, 2024 at 09:04:29PM +, Ali Farzanrad wrote: > > > > Alexandre Ratchov wrote: > > > > > On Fri, May 24, 2024 at 04:30:52PM +, Ali Farzanrad wrote: [...]

Re: Issue with pf route-to and routing tables

2024-04-16 Thread Thomas
On Mon, 15 Apr 2024, at 21:33, Thomas wrote: > Hi all, > > I'm greatly enjoying OpenBSD and have it on most of my devices as I try > to set up my "perfect lab". I would like some feedback / thoughts about > one behaviour which I don't quite get. > > I

Issue with pf route-to and routing tables

2024-04-15 Thread Thomas
wg0 through vio0 and src IP is rewritten to VM public IP. I'm thinking of more complex rules to split traffic from wg0 between wg1 and vio0 based on the ports and using route-to vio0 seemed the easiest way to do so. Thanks in advance, Thomas

Re: sftp server empty password login

2024-03-27 Thread Thomas L.
On Tue, 26 Mar 2024 10:28:11 +0100 Sylvain Saboua wrote: > Match User media > ForceCommand internal-sftp -d /home/media > ChrootDirectory /home/media > PasswordAuthentication yes > AuthenticationMethods none > PermitEmptyPasswords yes you probably also

Re: No packages found for 7.5 snapshot on arm64

2024-03-09 Thread Thomas Frohwein
On Sat, Mar 09, 2024 at 02:27:36PM +0500, ofthecentury wrote: > I had a similar problem this week, for amd64. > The 'packages/amd64' folder on the OpenBSD > mirrors for 7.5 snapshot is also empty. So I > just manually set PKG_PATH to 7.4 packages > folder for the time being. This will likely break

Re: Automatic OS updates

2024-02-20 Thread Thomas Schmidt
OP did indeed mean `sysupgrade`, but fwiw, `syspatch && reboot` reboots your system if a patch as applied. I got it in all of my servers' cronjobs. - Thomas Am 17.02.2024 um 02:24 schrieb obs...@loopw.com: On Feb 15, 2024, at 10:12 AM, b...@fea.st wrote: am I the only one using

Re: Ignore some USB devices

2024-02-19 Thread Thomas L.
On Mon, 19 Feb 2024 19:43:14 +0100 Kirill A. Korinsky wrote: > I do have two USB audio device: > > ~ $ usbdevs -v > Controller /dev/usb0: > ... > addr 07: 043e:9a66 LG Electronics Inc., LG UltraFine Display Audio >high speed, self powered, config 1, rev 0.03 >drive

Re: OBS-Studio 26.1.0 and later

2023-12-13 Thread Greg Thomas
So you were using OBS-Studio in the past but can't remember how you installed it? As has been shown by others there never was a package for 7.1. And then you blame the project for removing a package that was never there in the first place. Wow. And you're also totally confusing some OS support

Use of fw_update to bootstrap OBSD

2023-10-08 Thread Thomas
, and that, at least for me, fw_update does not download signed SHA256.sig, would it not be possible to download unintended files? Thanks in advance, Thomas

Re: Webcam support on Lenovo Thinkpad T14 Gen3 (Intel)

2023-10-07 Thread Thomas Frohwein
On Sat, Oct 07, 2023 at 07:08:21AM -0300, Crystal Kolipe wrote: > On Sat, Oct 07, 2023 at 08:51:36AM +, Comte wrote: > > The webcam seems well detected but no image is displayed... > > What happens if you run /usr/X11R6/bin/video instead of using ffmpeg? > > > # dmesg | grep "uvideo" >

Re: X11 crashing

2023-10-05 Thread Thomas Frohwein
On Thu, Oct 05, 2023 at 06:23:36AM +, Maria Morisot wrote: > I installed the patch for X11 (October 3rd), then rebooted, > now X is crashing every time I log in on xenodm, > sometimes I get a blue screen with debug messages, > other times I get a square on my screen with a black background, > a

Re: My /usr cleaning campaign..

2023-08-13 Thread Thomas Frohwein
On Sun, Aug 13, 2023 at 06:40:54PM +0200, Daniele B. wrote: > > Thanks Stuart, as usual. > > Stuart Henderson wrote: > > > > I still do not understand why I have gtk-doc presents on disk but I > > > keep it for myself, not like the mistake on the signature, I mean.. > > > then we go to disturb

Re: Recognition Of My Wireless Network Device

2023-08-07 Thread Greg Thomas
On Mon, Aug 7, 2023 at 2:02 PM Jay F. Shachter wrote: > > It does not. The "ifconfig -a" command reports an awareness of lo0, > em0 (my Ethernet device), enc0, and pflog0. And nothing else. How do > I get OpenBSD to recognize my Broadcom BCM4313 wireless network device? > Did you Google "BCM4

Re: Recognition Of Linux LVMs

2023-08-07 Thread Greg Thomas
On Mon, Aug 7, 2023 at 12:20 PM Jay F. Shachter wrote: > > > > > As the primary author of OpenBSD's current fdisk/disklabel/etc. I > > was intrigued by your recent email to misc@ [I]f you want > > disklabel(8) to say "Linux LVM" for sd0l you would need at a minimum > > a patch to /usr/src/sy

Re: ksh bug or just normal behaviour?

2023-08-02 Thread Thomas Frohwein
On Wed, Aug 02, 2023 at 12:14:51PM +, Thomas Schweikle wrote: > > > Am Mi., 02.Aug..2023 um 13:45:26 schrieb Peter N. M. Hansteen: > > On Wed, Aug 02, 2023 at 11:35:39AM +, Ioan Samarul wrote: > > > Can you please tell me if this is a bug or it is considered norma

Re: ksh bug or just normal behaviour?

2023-08-02 Thread Thomas Schweikle
' $ echo ${test[8]} i I strongly suspect you stumbled on to a case of the old convention "numerals with leading zeroes are interpreted as octal notation" (but do check the underlying code to make sure). Yes, that is it. It is considered octal notation. -- Thomas OpenPGP_0x27AE2

Re: Temporary failure when sending emails to this mailing list

2023-07-24 Thread Greg Thomas
On Mon, Jul 24, 2023 at 12:12 PM Jay F. Shachter wrote: > > I question whether this topic remains of interest to the readers of > this mailing list, since it no longer has anything to do with OpenBSD, > only with the character of the man who insulted me when I first tried > to join the misc@openb

Re: how to startx with kde?

2023-07-23 Thread Greg Thomas
On Sat, Jul 22, 2023 at 2:46 PM Martin Schröder wrote: > Am Sa., 22. Juli 2023 um 23:15 Uhr schrieb Greg Thomas > : > > Have you read: > > > > https://www.openbsd.org/faq/faq11.html > > Where does that mention KDE? > It doesn't. But it also doesn't me

Re: how to startx with kde?

2023-07-22 Thread Greg Thomas
Have you read: https://www.openbsd.org/faq/faq11.html On Sat, Jul 22, 2023 at 12:25 PM ykla wrote: > Hi, > > I install kde by pkg_add kde but how to boot it? Here isn't any login > manager except gdm in openbsd. But gdm seems that can only boot gnome in > openbsd. > > So how can I boot it? And

Re: tmux server recent snapshot amd64 100% CPU freeze

2023-07-17 Thread Thomas Frohwein
On Mon, Jul 17, 2023 at 12:54:05PM +, Jacqueline Jolicoeur wrote: > Hi, > > I thought I would mention I seem to be able to reproduce a tmux lock up > where the tmux server component runs at 100% CPU. I am unable to attach > to it at that point. > > The command I run in order to reproduce this

Re: How Do I Get The OpenBSD Install Procedure To Stop Trashing My Bootloader?

2023-07-14 Thread Greg Thomas
"... use it for serious work." Hah, sure bro. Seems more like you're just trying to set a personal record for most bootable OSes on a single system. On Fri, Jul 14, 2023 at 12:03 AM Rob Schmersel wrote: > On Thu, 13 Jul 2023 13:53:24 -0500 (EDT) > "Jay F. Shachter" wrote: > > > Esteemed Collea

Re: iked server/client OBSD/OBSD

2023-07-10 Thread Thomas Bohl
Questions about cert for roadwarrior and more? Why 192.168.1.79? i was expecting 10.0.5.x please. Why did you expect that? spi=0xc166e8f236679cc9: recv IKE_SA_INIT res 0 peer 45.77.223.7:500 local 192.168.1.79:500, 255 bytes, policy 'roadwarrior' 192.168.1.79 is your local IP, which is on t

Re: iked server/client OBSD/OBSD

2023-07-10 Thread Thomas Bohl
what is wrong? client side iked.conf: ikev2 'roadwarrior' active esp \ from dynamic to any \ peer 45.77.223.7 \ srcid roadwarrior \ dstid server1.domain \ request address any \ iface lo1 # iked -dv /etc/iked.conf: 43: invalid iface lo1 m

Re: dhcpleased[59824]: sendto: Permission denied

2023-07-08 Thread Thomas M. Beaudry
You did not even look at the list rules. "Do your homework first.. No desire to deprive you of a learning experience." Nobody is here to hold your hand. They do too much of that at work. You must be knowledgeable of the subject. If not, use Google (many web sites for teaching) or switch to FreeBSD

Re: APCI on old Thinkpad

2023-07-03 Thread Thomas Vetere
Yep, Claudio is correct. I have an old 600e and this is an official statement from IBM support page long ago: *"The ThinkPad 600E is ACPI ready. ACPI is not installed, but the system hardware supports ACPI. While ACPI shows a great deal of promise for the future, numerous problems affect the opera

Fwd: tmux only possible as root and not as normal user in 7.3?

2023-06-09 Thread Thomas Schnell
gt;> >> >> This looks a lot like it is running "tmux attach" and not "tmux" when that >> message appears. Are you sure you are not using some kind of shell alias >> that makes it go "tmux a" instead? >> >> -- >> May the most significant bit of your life be positive. > > -- > > Viele Grüsse > Thomas Schnell

tmux only possible as root and not as normal user in 7.3?

2023-06-08 Thread Thomas Schnell
Hi there, I have three new installed machines, that show the same strange behaviour: tmux is only startable as root, if I want to start it with command "tmux" as normal user (which is in wheel group, btw), I get the error "no sessions", if I try to start it with command "tmux start-server", the

Re: build go projects with current: bad system call (core dumped)

2023-06-06 Thread Thomas Huber
VM. Thanks Stuart for helping out again and verifying the build step. On Thu, 1 Jun 2023 at 16:34, Thomas Huber wrote: > On Thu, 1 Jun 2023 at 16:28, Stuart Henderson > wrote: > >> On 2023-06-01, Thomas Huber wrote: >> > Hi @misc, >> > >> > I face a

Re: build go projects with current: bad system call (core dumped)

2023-06-01 Thread Thomas Huber
On Thu, 1 Jun 2023 at 16:28, Stuart Henderson wrote: > On 2023-06-01, Thomas Huber wrote: > > Hi @misc, > > > > I face a problem with -current when building golang projects. > > This worked fine on 7.2 and I think it stopped working with 7.3 release. > > Now I

build go projects with current: bad system call (core dumped)

2023-06-01 Thread Thomas Huber
quot; The Projects I´m trying to build are the nats-server[1] and natscli[2]. go version go1.20.4 openbsd/amd64 Maybe someone on this list has a clue... Thanks Thomas (the u2k20 host) -- [1] https://github.com/nats-io/nats-server [2] https://github.com/nats-io/natscli

Re: PC Engines APU platform EOL

2023-05-01 Thread Thomas M. Beaudry
Linux is slowly losing it's appeal for servers. IT is starting to notice that Linux servers are cracked almost as much as Windows servers. A large problem with any OS lacking a central authority to insure that nothing is added before being fully verified as not introducing a vulnerability. On Fri,

Re: Encrypted softraid - Operational question

2023-05-01 Thread Thomas Bohl
Hi In a server with an encrypted root - server boots with key in USB stick, not passphrase. Can I remove the USB stick with the key, after the server is up and running? Yes Will I have any problems doing that? No. Though not at the moment, I used such a setup for years. Only inserting

IBM X220 drm errors

2023-04-17 Thread Greg Thomas
Just found my backup laptop had powered off while in the middle of rsyncing to it over WiFi. Full dmesg is down below these handful of lines: Apr 17 14:24:28 grits /bsd: sd1 detached Apr 17 14:24:28 grits /bsd: scsibus2 detached Apr 17 14:24:28 grits /bsd: drm:pid7291:cpt_set_fifo_underrun_report

Re: File system is full after using dd

2023-04-15 Thread Thomas Bohl
Am 15.04.2023 um 16:14 schrieb Lorenzo Torres: Hello, I've run the dd command to wipe the data of an SD card:dd if=/dev/zero of=/dev/rsdb1c bs=1MAfter quite some time it crashed saying that the / filesystem is full and even after a reboot the same happens. Now I can't even run xorg because the

Re: Help for another wiped out disklabel

2023-04-13 Thread Greg Thomas
ng me Nick. On Thu, Apr 13, 2023 at 4:32 PM Nick Holland wrote: > On 4/13/23 16:08, Greg Thomas wrote: > > Thank you! I gave it one more shot before attempting the script and I'm > > back in. I figured I'd try 0 for the beginning of the partition. > > >

Re: Help for another wiped out disklabel

2023-04-13 Thread Greg Thomas
0 unused On Thu, Apr 13, 2023 at 2:51 AM wrote: > Greg Thomas writes: > > I just ran through a fresh 7.3 install onto sd0 on an old 6.8 laptop and > I > > have no idea what happened to the disklabel on sd1 (during the install I > > only did an automatic disklabel on

Help for another wiped out disklabel

2023-04-12 Thread Greg Thomas
I just ran through a fresh 7.3 install onto sd0 on an old 6.8 laptop and I have no idea what happened to the disklabel on sd1 (during the install I only did an automatic disklabel on sd0). This is just a backup of my current laptop so not the end of the world (unless my current laptop dies before

Re: Can't login after upgrading to 7.3

2023-04-11 Thread Thomas Frohwein
On Tue, Apr 11, 2023 at 05:12:34PM -0600, Nathan Gilbert wrote: > Hi, > > I ran sysupgrade on a ThinkPad X1 Carbon running 7.2 and am unable to login > afterwards. I’m unable to log in as my normal user in either the WM (LeftWM) > or the terminal, I immediately get kicked back to login. I’m able

Re: Cannot connect to iked, authenticate fails

2023-04-07 Thread Thomas Bohl
Hello, ikev2 "vpn" passive esp \     from dynamic to 185.21.22.23/32 \     local egress peer any \     ikesa enc aes-256 prf hmac-sha2-256 auth hmac-sha2-256 group modp2048 \     childsa enc aes-256 auth hmac-sha2-256 group modp2048 \     srcid 185.21.22.23 \    

Re: Command At Startup

2023-04-01 Thread Thomas Frohwein
On Sat, Apr 01, 2023 at 04:28:20PM +0200, Peter N. M. Hansteen wrote: > On Sat, Apr 01, 2023 at 11:26:31AM +0200, Computer Planet wrote: > > Hi Guys, OpenBSD 7.2 > > I have no way to get a stupid autorun script to load. Can anyone tell me > > where to put this script? > > In /etc/rc.local it does

Re: ikev2_resp_create_child_sa: no proposal chosen

2023-02-26 Thread Thomas Bohl
But the VPN-Router has a IKE-I-General-failure 0x21ff. All of the sudden it's a problem that I only want to route specific networks?! IPSec is so exhausting. I got it working. The trick is to have iked send the CREATE_CHILD_SA request / initiate the rekeying first. Either by having lower ikel

Re: ikev2_resp_create_child_sa: no proposal chosen

2023-02-24 Thread Thomas Bohl
Thanks for your responses. Try adding some non-modp2048 options. Maybe look at the SA installed from the initial negotiation (ipsecctl -vvsa) for ideas. I think this is the right answer. The log tells you what the other side sent: spi=0x0a131729beeb819a: ikev2_log_proposal: ESP #1 ENCR=AES_CB

ikev2_resp_create_child_sa: no proposal chosen

2023-02-23 Thread Thomas Bohl
Hello, I have several OpenBSD 7.2 connected to a commercial VPN-Router (LANCOM 1781EW+) using iked. It works, except every time the Child SA negotiation starts, iked answers NO_PROPOSAL_CHOSEN to the router. Which leads to closed connections and a new IKE SA negotiation. I don't understand th

crontab and /usr/local/{,s}bin

2023-02-14 Thread Thomas L.
noone bothered to change? kind regards, thomas

Suggestion for improving FAQ14: UUIDs

2023-02-06 Thread Thomas Dettbarn
the /home. If I WOULD HAVE BEEN smarter, I would have used a UUID in my fstab. Anyways, it is my believe that adding a line to each section might help the next person as stupid as me, hence my suggestion. Thomas

Re: Making MS teams work on openbsd

2023-01-18 Thread Thomas Frohwein
On Wed, Jan 18, 2023 at 10:19:25PM +0200, Divan Santana wrote: > Greetings friends :) > > In short MS teams works via chrome on openbsd7.2 for me except for the > camera. I was on an MS Teams meeting a few weeks ago with camera working. The main issue from my experience was the web client auto di

Re: Configure OpenBSD for remote server rarely used

2022-11-28 Thread Greg Thomas
You should reboot whenever patches or upgrades require it. Was that a trick question or something? On Mon, Nov 28, 2022 at 12:51 AM Greg Thomas wrote: > > > On Sun, Nov 27, 2022 at 12:08 PM James Johnson > wrote: > >> Thank you for this interesting perspective. &g

Re: Configure OpenBSD for remote server rarely used

2022-11-28 Thread Greg Thomas
On Sun, Nov 27, 2022 at 12:08 PM James Johnson wrote: > Thank you for this interesting perspective. > > Combined with the previous advice, I am convinced. I will not try to have > the machine sleep, or even try to put the drives in spun down. From what > you guys are saying, it seems doing so wou

Re: Locking network card configuration

2022-11-22 Thread Thomas Bohl
mac2dev() { # This got long ifconfig | while IFS= read _line; do if [[ "$_line" = [a-z]!(\ *):* ]]; then _dev=${_line%%:*} elif [[ "$_line" = *lladdr*$1* && $_dev != vlan* ]]; then echo $_dev

Re: Locking network card configuration

2022-11-21 Thread Thomas Bohl
Hello, I suppose there is some argument that we should support hostname.MAC files Maybe a function in netstart right before vifscreate could be enough to achieve this? I creates this diff, against stable for now though, as a test. Create a /etc/hostname.MAC file like you would create a /etc

Re: OpenIKE2 question

2022-11-20 Thread Thomas Bohl
Hello everyone.I'm planning to use OpenIKEv2 not just for VPN tunnel, but also to give client Internet access through that tunnel (none other for that client). Is it possible? Do I need additional config options or will default gateway become available on the system once connected to VPN? Yes

Re: [SPAM] Re: opensmtpd-filter-dkimsign-0.5

2022-11-10 Thread Thomas Bohl
# openssl genrsa -out /etc/mail/dkim/agroena.org.private.key 2048 and # chown _dkimsign:_dkimsign /etc/mail/dkim/agroena.org.private.key # chmod 440 /etc/mail/dkim/agroena.org.private.key

Re: opensmtpd-filter-dkimsign-0.5

2022-11-10 Thread Thomas Bohl
Now dkimsign is failing and i have not been able to repair it, could somebody please help? # smtpd -d info: OpenSMTPD 7.0.0 starting dkimsign: Can't open key file (/etc/mail/dkim/agroena.org.private.key): Permission denied warn: lost processor: dkimsign exited abnormally Exiting # doas -u _dkims

Re: iked RoadWarrior IPv6

2022-11-03 Thread Thomas Bohl
# cat /etc/iked.conf ikev2 "rathaus" active esp \     from 192.168.0.0/24 to any \     from dynamic to 192.168.0.0/24 \     peer vpn.example.com \     srcid o2@rathaus \     psk "will-change-to-certs-if-testing-is-finished" \     request address any \     iface lo1 I discovered that peer

Re: Disable amdgpu driver without a working keyboard in UKC?

2022-11-01 Thread Thomas Bohl
Hello, I wanted to try that out by running the same `disable amdgpu` command in UKC, but neither the built-in keyboard nor my external keyboard work in UKC mode. Is there an alternative way of disabling amdgpu when my keyboards don't work? Perhaps I can echo to some config file during the `b

iked RoadWarrior IPv6

2022-10-29 Thread Thomas Bohl
Hello, I want to integrate a remote OpenBSD 7.2 machine into my local network. So it will be reachable via a local IPv4 address like 192.168.0.206. My local router and IPSec server is a LANCOM 1781EW+. The setup works already, but only if iked uses IPv4 and not IPv6. (I have a working IPv6 s

Re: Auto layout for disk partitions - a new user's perspective

2022-04-18 Thread Thomas Frohwein
On Mon, Apr 18, 2022 at 01:36:18PM -, Stuart Henderson wrote: [...] > > 2) Should there be a /usr/local/pobj partition created with correct mount > > options? (I appreciate building ports is an "advanced" thing to do - but it > > feels weird having to mess with partition layout after a fres

Re: tcpdump rotating issue with newsyslog

2022-04-10 Thread Thomas L.
IGHUP. You could restart the capture instead. Capturing network traffic for days might use a lot of disk space though. Kind regards, Thomas

Re: How to track system changes?

2022-04-04 Thread Eric Thomas
Very valuable insights. That’s a great idea. The rysnc script was ksh/bash or cron? Ideally I’d like to use Python to tackle something like this but I’m not against learning shell. > On Apr 4, 2022, at 2:02 PM, Nick Holland wrote: > > On 4/4/22 11:32 AM, Eric Thomas wrote: >

How to track system changes?

2022-04-04 Thread Eric Thomas
I want to have a high degree of confidence in my system's state (packages that have been added, configs that have changed, permissions changed, etc). I've read about "read only filesystems" and the pro's/con's [here](http://geodsoft.com/howto/harden/OpenBSD/no_changes.htm). Aside from that, is the

Internal Logging?

2022-04-04 Thread Eric Thomas
I'd like to understand more about how OpenBSD logs internal events such as: - pkg_add/delete events - user logins - X session start/stops etc. Is there "one big log" where all of these types of events are stored? Or are they logged in specific directories depending on log type? Which log director

Re: How to rebuild the ports tree?

2022-04-02 Thread Eric Thomas
@Stuart Disregard! I see now that the `make FETCH_PACKAGES= install` installed everything. I assumed it would get the large packages only. Looks like running `unifi info` yields all relevant info. Thank you very much for the patience and expertise. On Sat, Apr 2, 2022 at 6:16 PM Eric Thomas

Re: How to rebuild the ports tree?

2022-04-02 Thread Eric Thomas
s in: "quirks-4.54 signed on 2022-03-26T14:02:422 Can't find unifi" How do I get the custom build to a location where pkg_add can "see it"? On Fri, Apr 1, 2022 at 8:30 AM Stuart Henderson wrote: > > On 2022-04-01, Eric Thomas wrote: > > @Crystal > > >

Re: How to rebuild the ports tree?

2022-04-01 Thread Eric Thomas
22 at 5:53 PM Stuart Henderson wrote: > > On 2022-03-31, Eric Thomas wrote: > > --c9bb7b05db88e7ee > > Content-Type: text/plain; charset="UTF-8" > > > > I'm stuck. I need to install the UniFi 6.2.26 port, I used the [FAQ to > > setup the

How to rebuild the ports tree?

2022-03-31 Thread Eric Thomas
I'm stuck. I need to install the UniFi 6.2.26 port, I used the [FAQ to setup the ports tree](https://www.openbsd.org/faq/ports/ports.html). This seemed to work just fine. However, the last few messages in the `make install` output showed errors. To debug the issue, I decided to completely uninstall

How to determine if WiFi AP is compatible?

2022-03-28 Thread Eric Thomas
I'm trying to determine if a WiFi AP is compatible with OpenBSD. For example, checking the [Wireless FAQ's]( https://www.openbsd.org/faq/faq6.html#Wireless), I don't see whether the chipset used by the [UniFi Access Point WiFe 6 Pro]( https://dl.ui.com/ds/u6-pro_ds.pdf) is compatible or not. I wan

OpenBSD Home Server + Workstation on same machine?

2022-03-21 Thread Eric Thomas
Hello, I'd like to learn about secure networking (PKI, x509 certs, DNS, IPS, etc.) and generally harden my home network using OpenBSD. Can I use OpenBSD services AND have it act as a desktop workstation on the same machine? Ref: https://superuser.com/questions/1712101/openbsd-home-server-workstat

Re: OpenSSH 8.8 ECCN REQUEST

2022-03-11 Thread Greg Thomas
Since the project is based in Canada I don't know if anyone on this list would have an ECCN. Unless there's someone on this list from one of the US companies that exports OpenSSH. On Fri, Mar 11, 2022 at 12:38 PM wrote: > Hello, > > Our company is exporting a computer with OpenSSH 8.8 software

Re: no serial access anymore after upgrade

2022-02-22 Thread Thomas
yes, I think you are right. /etc/ttys shows this line: tty00 "/usr/libexec/getty std.9600" unknown off I for sure messed it up manually with sysmerge... Thanks a lot, Nick! Thomas On 22.02.22 17:25, Nick Holland wrote: On 2/22/22 8:21 AM, Thomas wrote: Hello, I have

Re: no serial access anymore after upgrade

2022-02-22 Thread Thomas
Unfortunalty I don't have a dmesg from prior versions :/ When the machine is booting the serial console shows the output. So it seems to work in general. But after booting is finished...nothing. Thomas On 22.02.22 15:04, deich...@placebonol.com wrote: Do you have dmesg output pri

no serial access anymore after upgrade

2022-02-22 Thread Thomas
showing up after that. After boot I'm now not able to access the server via serial console at all anymore. Has anyone made the same experience after upgrading? Thanks and have a nice day, Thomas /etc/boot.conf stty com0 set tty com0 dmesg: OpenBSD 7.0 (GENERIC.MP) #5: Mon Jan 31 09:09:0

Re: New desktop CPU/chipset recommendation

2022-02-13 Thread Thomas Frohwein
On Thu, 3 Feb 2022 19:16:55 -0500 Andre Smagin wrote: > Replying to my own thread from months ago. Took some time to get > this done, buying one part per paycheck, but I have a new desktop now. > Ryzen 9 5950x on x570 chipset motherboard, should last ten years at > least. Everything "just works"

Mirrors down for maintenance?

2022-02-01 Thread Thomas Vetere
Hello everyone, Is anyone else getting "ftp Connection refused" when trying to access the mirrors? I checked the announcements email archive today and didn't see anything about maintenance. I found this email chain in the archives which is exactly what I'm experiencing. https://www.mail-archive.c

Re: How to install yfklog

2022-01-11 Thread Greg Thomas
I'd read through this: https://www.openbsd.org/faq/faq15.html After you read that you should be able to verify if the required packages are available on OpenBSD or not. And then go through what you think are the correct steps. And then ask questions after you've written exactly what you've done

Are there any OpenBSD Kernel/Architecture Books?

2021-12-20 Thread Thomas Windisch
What resources would be a good primer on the OpenBSD kernel and general architecture and give me a good understanding of the internals? FreeBSD has this: https://docs-legacy.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/books/arch-handbook/book.html I understand that i

Re: futex(2) not working in inherited mmap'd anon memory

2021-11-19 Thread Thomas Munro
On Fri, Nov 5, 2021 at 9:19 AM Thomas Munro wrote: > On Tue, Oct 26, 2021 at 11:29 PM Thomas Munro wrote: > > When I do mmap(MAP_ANONYMOUS | MAP_SHARED) and then fork(), it seems > > that futex(2) wakeups are not delivered between child and parent in > > that memory. It doe

Re: futex(2) not working in inherited mmap'd anon memory

2021-11-04 Thread Thomas Munro
On Tue, Oct 26, 2021 at 11:29 PM Thomas Munro wrote: > When I do mmap(MAP_ANONYMOUS | MAP_SHARED) and then fork(), it seems > that futex(2) wakeups are not delivered between child and parent in > that memory. It does work as expected if I instead use > shmget(IPC_PRIVATE). Hello, T

futex(2) not working in inherited mmap'd anon memory

2021-10-26 Thread Thomas Munro
Hello, When I do mmap(MAP_ANONYMOUS | MAP_SHARED) and then fork(), it seems that futex(2) wakeups are not delivered between child and parent in that memory. It does work as expected if I instead use shmget(IPC_PRIVATE). Below is a standalone test program. I tested it with the four OSes mentione

Re: New desktop CPU/chipset recommendation

2021-09-20 Thread Thomas Frohwein
On Mon, Sep 20, 2021 at 02:56:31PM -0400, Andre Smagin wrote: > Good day. > > I am looking for a hardware advice. > I don't upgrade my desktop very often - last one was about ten > years ago (AMD FX-8350 CPU), which I recently made my home server > running -current, no issues. Now I am looking for

Re: Recover partition table/FFS2 after overwrite?

2021-09-09 Thread Thomas Windisch
t; > > I was previously running -current and I reinstalled -release 6.9. > > It seems that grep is a remnant of the old install? How come? > > > > On Wed, Sep 08, 2021 at 10:15:30PM -, Stuart Henderson wrote: > On 2021-09-08, Thomas Windisch wrote: > > I mangaged to r

Re: Recover partition table/FFS2 after overwrite?

2021-09-08 Thread Thomas Windisch
I mangaged to restore my drive using #fdisk -iy #disklabel -R #fsck Thanks Geoff and David. After reinstalling OpenBSD everything seems so be running fine. Almost. When I now run grep I get this: $ grep warning: libc.so.96.0: minor version >= 1 expected, using it anyway ld.so: grep: can't loa

Recover partition table/FFS2 after overwrite?

2021-09-06 Thread Thomas Windisch
I think I just overwrote my file system by using sd1 instead of sd2: # pv install69.img > /dev/rsd1c sd1 is softraid crypto device that holds the system partitions and data: $ df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/sd1a 1.9G143M1.7G 8%/ /

Re: Can't figure out what's taking up space on /

2021-08-04 Thread Greg Thomas
> > > On Wed, Aug 4, 2021 at 1:41 PM Todd C. Miller > wrote: > > > >> On Wed, 04 Aug 2021 13:32:54 -0700, Greg Thomas wrote: > >> > >> > I'm at a loss, I booted in single user mode, ran fsck on /dev/sd0a > and it > >> > shows clean.

Re: Can't figure out what's taking up space on /

2021-08-04 Thread Greg Thomas
2021 13:32:54 -0700, Greg Thomas wrote: > > > I'm at a loss, I booted in single user mode, ran fsck on /dev/sd0a and it > > shows clean. I still have a large discrepancy between df and du. > > Did you verify that nothing was hiding under the mount points? For > example,

  1   2   3   4   5   6   7   8   9   10   >