MCU recommendations to program on OpenBSD?

2024-03-03 Thread Sadeep Madurange
Hello, I recently switched to OpenBSD and love every bit of it. Most of what I do on my workstation is programming MCUs like ESP8266 and ESP32. However, Espressif toolchain is not OpenBSD friendly. So, I'm planning to change the vendor. Any recommendations for MCUs with C language SDKs supported

Re: crawling network with ix driver when routing trafic

2024-03-03 Thread Aaron Mason
Hi! It's my understanding that the Realtek network adapters are pretty craptacular under load since they basically defer to the OS for everything, raising an interrupt each time. Try the fourth test again while running top and see if the interrupts (intr) spike during that time. On Mon, Mar 4,

Re: MCU recommendations to program on OpenBSD?

2024-03-03 Thread Chris Narkiewicz
On Sun, Mar 03, 2024 at 05:11:17PM +0800, Sadeep Madurange wrote: > Any recommendations for MCUs with C > language SDKs supported by OpenBSD? AVR - 8 bit ARM - 32 bit Especially AVRs are top of the game when it comes to open source toolchain support. Best regards, Chris Narkiewicz

Re: MCU recommendations to program on OpenBSD?

2024-03-03 Thread Andrew Gwozdziewycz
> On Mar 3, 2024, at 18:36, Chris Narkiewicz wrote: > > On Sun, Mar 03, 2024 at 05:11:17PM +0800, Sadeep Madurange wrote: >> Any recommendations for MCUs with C >> language SDKs supported by OpenBSD? > > AVR - 8 bit > ARM - 32 bit > > Especially AVRs are top of the game when it comes to >

Re: crawling network with ix driver when routing trafic

2024-03-03 Thread jan
On March 3, 2024 9:38:22 PM GMT+01:00, Pierre Peyronnel wrote: >Hey misc, > >Note : I posted on this topic in r/openbsd and before I open a bug, I >thought I'd ask you. > >My OBSD router has a Realtek (onboard) and an intel (X540 pcie) network >card, and in one particular situation I get very

Re: Need advice on “tcp proxy”

2024-03-03 Thread Joel Wirāmu Pauling
Maybe look at Meshcentral as an alternative to Rustdesk. It allows proxying over https OOTB. On Sun, 3 Mar 2024 at 19:30, Kasak wrote: > > > > 3 марта 2024 г., в 00:46, Joel Wirāmu Pauling > написал(а): > > > > ssh can work in tap VPN mode (ssh -w) and will tunnel udp fine ; I'm not > > sure

Re: disklabel and df -h don't show same size

2024-03-03 Thread Otto Moerbeek
On Sun, Mar 03, 2024 at 11:48:01AM -, beecdadd...@danwin1210.de wrote: > > disklabel -h sd3 shows this > > # /dev/rsd3c: > type: SCSI > disk: SCSI disk > label: SR CRYPTO > duid: some-number > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 >

Re: disklabel and df -h don't show same size

2024-03-03 Thread Otto Moerbeek
On Sun, Mar 03, 2024 at 12:01:12PM -, beecdadd...@danwin1210.de wrote: > oh okay > reserved for root? I ran those commands as root, or you mean something > else? I didn't know overhead was that big.. so this is okay, then? > thanks for very fast reply 3.5G meta data overhead is less than

Re: disklabel and df -h don't show same size

2024-03-03 Thread Stuart Henderson
On 2024/03/03 13:06, beecdadd...@danwin1210.de wrote: > is there no way to know how many rounds a drive needs to be decrypted? if Easiest way is probably to modify the bootloader to print it (in libsa). You could also check a hexdump of the softraid header block but you'll need to figure out the

Re: qwx0 / QCNFA765 Does 802.11g Only

2024-03-03 Thread 20 100
Hello Stefan, First of all many thanks for your work around qwx. Here after some observations on my T14s regarding qwx. My OpnBSD current setup is not my daily machine, but sounds that this driver is quite stable ;). My main message is that when running Apline Linux (in dual boot), I've got

Re: mount not working as expected? and what are my default bioctl rounds?

2024-03-03 Thread Theo de Raadt
beecdadd...@danwin1210.de wrote: > But manual says this > "If it is a DUID, it will be automatically mapped to the appropriate entry > in /dev" > I assumed the opposite would be true, if I did mount sd3i, and that mount > would check it's DUID and check in fstab for it it does not do that? No

Re: qwx0 / QCNFA765 Does 802.11g Only

2024-03-03 Thread Omar Polo
Hello, On 2024/03/03 15:07:34 +0100, 20 100 wrote: > Hello Stefan, > > First of all many thanks for your work around qwx. > > Here after some observations on my T14s regarding qwx. > > My OpnBSD current setup is not my daily machine, but sounds that this > driver is quite stable ;). > > My

disklabel and df -h don't show same size

2024-03-03 Thread beecdaddict
disklabel -h sd3 shows this # /dev/rsd3c: type: SCSI disk: SCSI disk label: SR CRYPTO duid: some-number flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 31130 total sectors: 500117600 # total bytes: 238.5G boundstart: 64 boundend: 500117600 16

Re: disklabel and df -h don't show same size

2024-03-03 Thread beecdaddict
oh okay reserved for root? I ran those commands as root, or you mean something else? I didn't know overhead was that big.. so this is okay, then? thanks for very fast reply On Sun, March 3, 2024 11:57 am, Otto Moerbeek wrote: > On Sun, Mar 03, 2024 at 11:48:01AM -, beecdadd...@danwin1210.de >

Re: mount not working as expected? and what are my default bioctl rounds?

2024-03-03 Thread beecdaddict
On Sun, March 3, 2024 11:50 am, Otto Moerbeek wrote: > On Sun, Mar 03, 2024 at 10:47:31AM -, beecdadd...@danwin1210.de > wrote: > > >> hi list I want to know how many rounds my computer defaults to for >> bioctl -r, so I can change it and know how stronger it is can you help >> me? >> >> after

Re: disklabel and df -h don't show same size

2024-03-03 Thread Stuart Henderson
On 2024-03-03, beecdadd...@danwin1210.de wrote: > On Sun, March 3, 2024 12:07 pm, Otto Moerbeek wrote: >> On Sun, Mar 03, 2024 at 12:01:12PM -, beecdadd...@danwin1210.de >> wrote: >> >> >>> oh okay reserved for root? I ran those commands as root, or you mean >>> something else? I didn't know

Re: disklabel and df -h don't show same size

2024-03-03 Thread beecdaddict
thanks for your time! On Sun, March 3, 2024 1:05 pm, Otto Moerbeek wrote: > On Sun, Mar 03, 2024 at 12:59:08PM -, beecdadd...@danwin1210.de > wrote: > > >> that's why not having that reserved space can set the drive to crawling >> speed when full? > > Yes, internal bookkeeping of FS space to

Re: MCU recommendations to program on OpenBSD?

2024-03-03 Thread Janne Johansson
Den sön 3 mars 2024 10:14Sadeep Madurange skrev: > Hello,24 > > I recently switched to OpenBSD and love every bit of it. > > Most of what I do on my workstation is programming MCUs like ESP8266 and > ESP32. However, Espressif toolchain is not OpenBSD friendly. So, I'm > planning to change the

mount not working as expected? and what are my default bioctl rounds?

2024-03-03 Thread beecdaddict
hi list I want to know how many rounds my computer defaults to for bioctl -r, so I can change it and know how stronger it is can you help me? after reading mount manual about DUID I realized that it is not working for me as expected in /etc/fstab I have the same DUID I got from disklabel of that

Re: mount not working as expected? and what are my default bioctl rounds?

2024-03-03 Thread Otto Moerbeek
On Sun, Mar 03, 2024 at 10:47:31AM -, beecdadd...@danwin1210.de wrote: > hi list > I want to know how many rounds my computer defaults to for bioctl -r, so I > can change it and know how stronger it is can you help me? > > after reading mount manual about DUID I realized that it is not

disklabel and df -h don't show same size

2024-03-03 Thread beecdaddict
disklabel -h sd2 shows this # /dev/rsd2c: type: SCSI disk: SCSI disk label: nal USB 3.0 duid: some-number flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 31130 total sectors: 500118192 # total bytes: 238.5G boundstart: 64 boundend: 500118192 16

Re: disklabel and df -h don't show same size

2024-03-03 Thread beecdaddict
On Sun, March 3, 2024 12:07 pm, Otto Moerbeek wrote: > On Sun, Mar 03, 2024 at 12:01:12PM -, beecdadd...@danwin1210.de > wrote: > > >> oh okay reserved for root? I ran those commands as root, or you mean >> something else? I didn't know overhead was that big.. so this is okay, >> then? thanks

Re: disklabel and df -h don't show same size

2024-03-03 Thread Erling Westenvik
On Sun, Mar 03, 2024 at 12:14:14PM -, beecdadd...@danwin1210.de wrote: > On Sun, March 3, 2024 12:07 pm, Otto Moerbeek wrote: > > On Sun, Mar 03, 2024 at 12:01:12PM -, beecdadd...@danwin1210.de > > wrote: > > > > > >> oh okay reserved for root? I ran those commands as root, or you mean >

Re: disklabel and df -h don't show same size

2024-03-03 Thread Otto Moerbeek
On Sun, Mar 03, 2024 at 12:14:14PM -, beecdadd...@danwin1210.de wrote: > On Sun, March 3, 2024 12:07 pm, Otto Moerbeek wrote: > > On Sun, Mar 03, 2024 at 12:01:12PM -, beecdadd...@danwin1210.de > > wrote: > > > > > >> oh okay reserved for root? I ran those commands as root, or you mean >

Re: disklabel and df -h don't show same size

2024-03-03 Thread beecdaddict
yes thanks everyone for answering is 12G not 8 sorry if it's default, I won't touch it then is there no way to know how many rounds a drive needs to be decrypted? if so, then that's good security but want to know how many rounds my computer would do, after the crypto has been created? I find -v

Re: Pre-built images for embeded machines

2024-03-03 Thread Chris Narkiewicz
On Sat, Mar 02, 2024 at 12:51:05PM -0700, Theo de Raadt wrote: > It might be easy, but it is wrong. Besides extra burden on the build infrastructure, are there other issues? Curiosity calling, as I'm not using any arm64 devices personally. I'd assume that such image would be very challenging to

Re: Pre-built images for embeded machines

2024-03-03 Thread Theo de Raadt
Chris Narkiewicz wrote: > On Sat, Mar 02, 2024 at 12:51:05PM -0700, Theo de Raadt wrote: > > It might be easy, but it is wrong. > > Besides extra burden on the build infrastructure, are there other > issues? Curiosity calling, as I'm not using any arm64 devices > personally. > > I'd assume