Re: odd bc -l output

2021-11-29 Thread Łukasz Moskała
Dnia 30 listopada 2021 08:38:27 CET, "Peter J. Philipp" napisał/a: >In fact it's not just bc -l, but also when I calculate the following in C >(linked with -lm) > >C = (180.0 - A) - B; >a = (double)(c / sin(C)) * sin(A); >b = (double)(c /

Re: odd bc -l output

2021-11-29 Thread Otto Moerbeek
On Tue, Nov 30, 2021 at 08:38:27AM +0100, Peter J. Philipp wrote: > In fact it's not just bc -l, but also when I calculate the following in C > (linked with -lm) > > C = (180.0 - A) - B; > a = (double)(c / sin(C)) * sin(A); > b = (double)(c /

Re: odd bc -l output

2021-11-29 Thread Peter J. Philipp
Sorry about this, I forget sin() takes radians not degrees! On Tue, Nov 30, 2021 at 08:38:27AM +0100, Peter J. Philipp wrote: > In fact it's not just bc -l, but also when I calculate the following in C > (linked with -lm) > > C = (180.0 - A) - B; > a = (double)(c

odd bc -l output

2021-11-29 Thread Peter J. Philipp
In fact it's not just bc -l, but also when I calculate the following in C (linked with -lm) C = (180.0 - A) - B; a = (double)(c / sin(C)) * sin(A); b = (double)(c / sin(C)) * sin(B); Some may recognize this as parts of the Law of Sines.

Raspberry Pi 4B performance compared to APU / wireless networking?

2021-11-29 Thread Steve Williams
Hi, I have an APU 2C4 running OpenBSD 7. I see that the Raspberry Pi 4B is supported by OpenBSD now and I was thinking of getting one to play with as my APU is my main server and I don't want to take it down to experiment. I can't seem to find any reviews/comparisons of an APU vs. a

Re: bgpd, announce to ibgp from 2 routers, prefixes only show up from 1

2021-11-29 Thread Adam Thompson
[apologies in advance for top-posting] bgpd(8) is excellent in many ways, and I am SO very grateful it exists. (Thank you Henning, Claudio, Peter and everyone else who has contributed to it over the years! It has straight-up saved my bacon a couple of times.) But one feature it does not yet

Re: bgpd, announce to ibgp from 2 routers, prefixes only show up from 1

2021-11-29 Thread Sebastian Benoit
Stuart Henderson(s...@spacehopper.org) on 2021.11.13 00:11:08 +: > I have a pair of -current routers running bgpd (let's call them rtr-a > and rtr-b) on a subnet which also has some vpn gateways and firewalls. > > These routers provide a carp address which the vpn gateways are using > as

/etc/bsd.re-config - change a device?

2021-11-29 Thread Paul B. Henson
I'm upgrading to OpenBSD 7 and I was happy to see the new support for /etc/bsd.re-config to allow modified kernels to be automatically rebuilt. However, one of the changes I need to make is updating the IRQ on com2, as my bios assigns it a non-standard value 8-/. I can't figure out how to do

odd shutdown message

2021-11-29 Thread Peter J. Philipp
I have a VPS at openbsd amsterdam that shutdown with the message that _unbound shut it down when it was my user OR root. sky# zgrep unbound /var/log/authlog*gz /var/log/authlog.0.gz:Nov 26 08:59:04 sky shutdown: reboot by _unbound: It was recorded in the logs as such. I haven't totally figured

pkg_add python errors ...

2021-11-29 Thread Why 42? The lists account.
Well, errors related to the python package ... After updating to the latest snapshot and rebooting I ran "pkg_add -vu" to update all my packages, which I think is the right thing to do. I noticed some strange errors related to python scroll past i.e. > ... > Update candidates: p7zip-16.02p6 ->

IKEv1 and IKEv2 coexistence

2021-11-29 Thread Grzegorz Patola
Hi All, Could you tell me if it is possible to run ipsec in v1 and v2 ie. isakmpd and iked daemons on just one gateway ? Thanks, Greg. -- We Revolutionise Customer Journeys. www.engagehub.com  | Follow us on LinkedIn

CPU recommendation

2021-11-29 Thread Barbaros Bilek
Hello @misc, I’m network administrator at a Hotel. We have nearly ~=1600 users concurrently. I’m trying to figure out which hardware covers my pc based OpenBSD firewall. Disk : 1 TB SSD RAM : 16 GB Ethernet : Intel i211AT But what about CPU. As far as I know CPU frequency is more important at

Re: libdmx removal incomplete?

2021-11-29 Thread Nick Holland
On 11/28/21 6:17 PM, Alexander wrote: ... Lastly: From your emails it seems to me that the use of sysclean after upgrading is very much encouraged if not necessary. Then why is it not included in base (especially when it's developed by OpenBSD developers)? Or am I misunderstanding the

Re: Running redmine on OpenBSD

2021-11-29 Thread Łukasz Moskała
W dniu 28.11.2021 o 18:07, Radek pisze: Hello, following the official guide [1] and few others webites I finally installed my first Ruby on Rails/Puma web app... and it passed the local test by curl (bundle exec rails server webrick -e production) - relayd wasn't configured yet. Then, I ran

Re: libdmx removal incomplete?

2021-11-29 Thread Crystal Kolipe
On Mon, Nov 29, 2021 at 08:36:42AM +0100, Sebastien Marie wrote: > On Sun, Nov 28, 2021 at 10:58:38PM -0700, Theo de Raadt wrote: > > (2) who don't recognize they can always reinstall and > > Reinstalling means "choose the files you want to keep" vs "choose the > files you want to