Re: Documentation of wsconsctl keyboard.map format?

2022-11-22 Thread Jason McIntyre
On Wed, Nov 23, 2022 at 12:21:26AM +0100, Mike Fischer wrote: > Hi! > > I???m trying to use a German Apple Mac keyboard with OpenBSD 7.2 and I???d > like to match the mapping to that of macOS. > > `wsconsctl keyboard.encoding=de` helps, but several mappings are > different/missing. For example

Re: Opensearch can't start if memory is ore than 4g

2022-11-22 Thread Otto Moerbeek
On Tue, Nov 22, 2022 at 09:31:19PM +, Mik J wrote: > i'm not sure I understand because I did write:datasize=8192M:\ > However > ...-Xms3g > -Xmx3g > Works > /etc/opensearch/jvm.options...-Xms4g > -Xmx4g > Doesn't work (mistake in my first message I mean't it doesn't work) > In login.conf I

Re: Keyboard won't work during OpenBSD 7.1 or 7.2 installation.

2022-11-22 Thread Kevin Lo
Hi Clint, As mentioned in a private email, you need to disable acpimadt and mpbios in the kernel to make it work. Why don't you give it a try? Also see: https://marc.info/?l=openbsd-bugs=165170229727676=2 On Wed, Nov 23, 2022 at 09:48:24AM +0800, Clint wrote: > > Hi Fred, > > I tried at

Re: Keyboard won't work during OpenBSD 7.1 or 7.2 installation.

2022-11-22 Thread Clint
Hi Fred, I tried at specific point, but still not working. Same problem remains when I use other keyboard. On the other side, when I install OpenBSD on another Intel PC is working fine. It seems there is compatible issue with DMP’s EBOX-336x mini PC, when I tried OpenBSD direct installation.

Documentation of wsconsctl keyboard.map format?

2022-11-22 Thread Mike Fischer
Hi! I’m trying to use a German Apple Mac keyboard with OpenBSD 7.2 and I’d like to match the mapping to that of macOS. `wsconsctl keyboard.encoding=de` helps, but several mappings are different/missing. For example the pipe character | should be alt-7 but isn’t. Mostly the alt-combinations

Re: Opensearch can't start if memory is ore than 4g

2022-11-22 Thread Mik J
i'm not sure I understand because I did write:datasize=8192M:\ However ...-Xms3g -Xmx3g Works /etc/opensearch/jvm.options...-Xms4g -Xmx4g Doesn't work (mistake in my first message I mean't it doesn't work) In login.conf I have right now opensearch:\#   :memoryuse=8192M:\ #  

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-22 Thread chohag
Theo de Raadt writes: > > > + for _hn in /etc/hostname.??:??:??:??:??:??; do > > > + _mac=`echo $_hn | cut -c 15-31` _mac=${_hn#/etc/hostname.} > > > + _if=`ifconfig | grep -B 1 $_mac | head -n 1 | awk -F ": " > > > '{print $1}'` mac2dev() { # This got long

Re: Manpage of strlcat/strlcpy

2022-11-22 Thread Theo de Raadt
Eric Sanchis wrote: > Dear Maintainer, > > I have two remarks about: > https://man.openbsd.org/OpenBSD-5.9/strlcpy.3 > > (1) In the section “Return Values”, it is written: > n = strlcpy(dst, src, len); > n = snprintf(dst, len, "%s", src); > But len should not be a length but a size.

Manpage of strlcat/strlcpy

2022-11-22 Thread Eric Sanchis
Dear Maintainer, I have two remarks about: https://man.openbsd.org/OpenBSD-5.9/strlcpy.3 (1) In the section “Return Values”, it is written: n = strlcpy(dst, src, len); n = snprintf(dst, len, "%s", src); But len should not be a length but a size. This example can confuse beginners. So I

Re: Keyboard won't work during OpenBSD 7.1 or 7.2 installation.

2022-11-22 Thread Fred Crowson
if you plug in a USB keyboard at that point it will probably be recognised so that you can use it for the install. hth Fred On Tue, 22 Nov 2022 at 06:19, Clint wrote: > > Dear Sirs, > > > > My name is Clint Wu, I had been told the DMP’s EBOX-336x mini PC (product > page

Re: Opensearch can't start if memory is ore than 4g

2022-11-22 Thread Stuart Henderson
On 2022-11-22, Mik J wrote: > Hello Stuart, > Thank you for your answer. > I tried to add    :memoryuse=8192M:\ >     :datasize-max=infinity:\ >     :datasize-cur=8192M:\ >     :datasize=8192M:\ > But none of these help > Do you know which parameter suits to the memory problem ?

Re: Rad conf option

2022-11-22 Thread Masturbating monkey
> I think this could be beneficial in term of conf' simplicity and avoiding > mistakes (especially if the router has to deal with frequent renumbering). about frequent configuration changes(when the prefix is assigned dynamically)- a hook is needed(you will need a client who can do it) or a task

upnp/ssdp

2022-11-22 Thread Masturbating monkey
maybe at some future hackathon, instead of blackjack and whores, get a time for question about that we don't have a sane upnp demon? ;) because the problem of switching to ipv6 will last at least another twenty-five years. i don't think that everything needs to be implemented here, personally,

Re: Opensearch can't start if memory is ore than 4g

2022-11-22 Thread Mik J
Hello Stuart, Thank you for your answer. I tried to add    :memoryuse=8192M:\     :datasize-max=infinity:\     :datasize-cur=8192M:\     :datasize=8192M:\ But none of these help Do you know which parameter suits to the memory problem ? Le mardi 22 novembre 2022 à 09:39:40

Re: Opensearch can't start if memory is ore than 4g

2022-11-22 Thread Stuart Henderson
On 2022-11-22, Mik J wrote: > Hello, > Starting opensearch fails if memory is 4G or more.My VM has 12Gb memory > # sysctl -a... > hw.physmem=17161977856hw.usermem=17161961472 > > # vmstat >  procs    memory   page    disks    traps  cpu >  r   s   avm fre  flt  re 

Re: obfs4proxy-0.0.14 in packages for 7.2 (amd64)?

2022-11-22 Thread Raimo Niskanen
On Tue, Nov 22, 2022 at 08:31:30AM +, Stuart Henderson wrote: > On 2022-11-22, Raimo Niskanen wrote: > > Hello > > > > I note the updated package in snapshots/packages, and wonder > > if the "fixes of important obfusction bugs" that are in > > obfs4proxy 0.0.14 will also appear in

Re: obfs4proxy-0.0.14 in packages for 7.2 (amd64)?

2022-11-22 Thread Stuart Henderson
On 2022-11-22, Raimo Niskanen wrote: > Hello > > I note the updated package in snapshots/packages, and wonder > if the "fixes of important obfusction bugs" that are in > obfs4proxy 0.0.14 will also appear in 7.2/packages? I've just applied it to -stable so it should show up soon. -- Please