Re: boot openbsd from emmc on RockPro64

2024-04-28 Thread OBI
On Sat, 27 Apr 2024 17:11:56 +0200 "Cristian Danila" wrote: > Dear Misc, > > I would really appreciate if someone can give > me a hint on how can make emmc card bootable > on a RockPro64 board. > This is what I did: > 1) prepared micro sd card: > dd if=install75.img of=/dev/sdg bs=1024M > dd if=

hyperv(4) on arm64?

2024-04-28 Thread Peter J. Philipp
Has anyone tried this? I read that Microsoft has Hyper-V for ARM. I've been running OpenBSD on amd64 hardware in Hyper-V for a while. I suspect there wouldn't be endian issues since arm64 and amd64 are both LE, is there any other concerns? I'm inquiring because mainly I know I have my sights on

VPN with iked(8)

2024-04-28 Thread Odd Martin Baanrud
Hello, I’m planning to set up a VPN on my router with iked(8). The first goal is to have my Macbook and iPhone connected, both to route the traffic thrugh my router at home, and to get access to the services running on a machine behind the router. I’ve read the VPN section in the FAQ, and I und

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Mihai Popescu
> Any ideas if it's remediable or where to start digging? Linux has drivers for devices shutdown when not used and idle power states, pretty much like Windows has. Android, who is Linux derived, took this concept to a much higher level. Think of a wireless card and you can see on man ath(4): " The

Re: NAT on CARP interface

2024-04-28 Thread Radek
> Nevertheless, writing egress or $ext_If, what difference does it really > make? You're just repeating a different word. Lol It doesn't make any difference for me. Being curious I added em0 do egress group and restarted all intefaces. However, em0 seems not to be in ergess group and the rule wi

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Nathaniel Griswold
> So you are running on battery, not AC. Yes, i am testing the power usage on battery > > hw.sensors.acpibat0.raw1=4 (discharge cycles) > > Probably not related, but your battery has dropped full charge > from 3.57 Ah to 3.01 in four cycles? > > > > hw.sensors.acpitz0.temp0=42.80 degC (zone t

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Nathaniel Griswold
I trimmed the dmesg.boot to be just the last boot On Sun, Apr 28, 2024 at 08:01:58PM +0200, Jan Stary wrote: > > > hw.sensors.acpibat0.volt0=15.40 VDC (voltage) > > > hw.sensors.acpibat0.volt1=14.29 VDC (current voltage) > > > hw.sensors.acpibat0.current0=0.69 A (rate) > > I think he got it from

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Peter J. Philipp
On Sun, Apr 28, 2024 at 08:01:58PM +0200, Jan Stary wrote: > > hw.sensors.acpibat0.volt0=15.40 VDC (voltage) > > hw.sensors.acpibat0.volt1=14.29 VDC (current voltage) > > hw.sensors.acpibat0.current0=0.69 A (rate) I think he got it from here (from dc): 14.29 0.69 * p 9.86 This is explained

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Jan Stary
Where do you get the > 10W number? Not in the sysctl output, and you are running on battery. On Apr 28 11:53:09, n...@fastmail.com wrote: > I am seeing a lot of power drawn even when nothing is going on on the system > (top shows everything at zero, load average is 0.01). This is even if the > b

Re: NAT on CARP interface

2024-04-28 Thread Mike
Oh now I remember, you might need to add it to the egress interface group. Does that rule you posted error out or are you just seeing blocks with it? On Sun, Apr 28, 2024, 12:49 PM Mike wrote: > If I remember right, you can run 'ifconfig' and see if that interface is > marked as an egress inte

Re: NAT on CARP interface

2024-04-28 Thread Brian Conway
On Sun, Apr 28, 2024, at 11:49 AM, Mike wrote: > If I remember right, you can run 'ifconfig' and see if that interface > is marked as an egress interface or not. I can't remember how OBSD > determines what interfaces are egress or not but your em0 seems to be https://www.openbsd.org/faq/pf/filt

Re: >10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Nathaniel Griswold
I forgot to mention that I have apmd running in automatic mode. I've also tried obsdfreqd but it does not seem to have much of an effect on or off. Here is my `sysctl hw.sensors' output (with obsdfreqd on) ```sysctl hw.sensors hw.sensors.cpu0.temp0=47.00 degC hw.sensors.cpu0.frequency0=6

>10W idle power usage on framework laptop 12th gen 13inch

2024-04-28 Thread Nathaniel Griswold
I am seeing a lot of power drawn even when nothing is going on on the system (top shows everything at zero, load average is 0.01). This is even if the backlight is dim. On an Ubuntu Linxu system, i was getting about 3.5-4W when nothing much was going on. Any ideas if it's remediable or where t

Re: NAT on CARP interface

2024-04-28 Thread Mike
If I remember right, you can run 'ifconfig' and see if that interface is marked as an egress interface or not. I can't remember how OBSD determines what interfaces are egress or not but your em0 seems to be in a private network so it might not be classifying itself as egress. Nevertheless, writing

Re: NAT on CARP interface

2024-04-28 Thread Radek
> change $lan_if to $int_if, change (egress:0) to $ext_carpif, and it will work > as the rule you say works. I made minor changes and tested the egress version. ext_if = "em0" ext_carpif = "carp0" int_if = "carp2" This rule works for me: match out log on $ext_if from $int_if:network to any nat-to

Re: Is there access to dm...@openbsd.org? / arm64 laptops

2024-04-28 Thread Peter J. Philipp
I found a dmesg! Thank you! https://marc.info/?l=openbsd-bugs&m=171430467412856&w=2 No other needed! -pjp

Re: Usb tethering

2024-04-28 Thread fr5dh
Tethering worked with openbsd 7.4 bios/mbr. Doesn't work anymore since installing 7.5 uefi/gpt. I have to reinstall with a legacy bios boot just to see. Original message > From: Zé Loff > To: Pascal > Subject: Re: Usb tethering > Date: 27/04/2024 10:56:37 Europe/Paris > Cc: misc@ope