Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - senser

#1
devel/pkgconf was needed as well.
#2
Trying to compile something on my OPNsense 26.1.1 box. Running gmake I get "Dependency libpci found: no"

$ gmake
Replacing all version templates with p1.4-33-g1926900-dirty.
Building flashprog version p1.4-33-g1926900-dirty
C compiler found: FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
Target arch: x86
Target OS: FreeBSD
Target endian: little
Dependency libpci found: no
Dependency libusb1 found: no
Dependency libjaylink found: no
Dependency NI-845x found: no
Dependency libftdi1 found: no
Dependency libgpiod found: no
Checking for header "mtd/mtd-user.h": no
Checking for header "linux/spi/spidev.h": no
Checking for header "linux/i2c-dev.h": no
Checking for header "linux/i2c.h": no
Checking for header "sys/utsname.h": yes
Checking for function "clock_gettime": yes
Checking for external "librt": yes
The following features require libftdi1: CONFIG_FT2232_SPI=yes CONFIG_USBBLASTER_SPI=yes
The following features require libjaylink: CONFIG_JLINK_SPI=yes
The following features require libpci: CONFIG_ATAVIA=yes CONFIG_DRKAISER=yes CONFIG_GFXNVIDIA=yes CONFIG_INTERNAL=yes CONFIG_IT8212=yes CONFIG_NIC3COM=yes CONFIG_NICINTEL=yes CONFIG_NICINTEL_EEPROM=yes CONFIG_NICINTEL_SPI=yes CONFIG_NICREALTEK=yes CONFIG_OGP_SPI=yes CONFIG_SATAMV=yes CONFIG_SATASII=yes
You can disable all PCI programmers with CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no.
You can disable individual features with CONFIG_feature=no in your make command.
gmake: *** [Makefile:966: config] Error 1

/usr/ports/devel/libpci $ sudo make install
===>  Installing for libpci-3.14.0
===>  Checking if libpci is already installed
===>   libpci-3.14.0 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of libpci
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/libpci

I am sure I am doing it wrong... help appreciated :)
#3
The topton x2e (n150, 4 intel nics) from aliexpress should be considered as a cheaper alternative to the protectli. It is also supported by coreboot. However, I haven't been able to flash it on my x2e yet.
#4
Hardware and Performance / Re: which coreboot payload
December 29, 2025, 10:46:18 PM
Legacy BIOS (seabios) has fewer coreboot configuration options and is probably the safest option? For UEFI (edk2) there is the choice of mrchromebox fork or original for example.

But using ,,current" (UEFI) solutions seems like a good idea. :) Should I just choose the default selection for UEFI (which is: edk2 - mrchromebox fork)?
#5
Hardware and Performance / Re: which coreboot payload
December 29, 2025, 10:21:45 PM
So we can chose either edk2 OR seabios payload and we should be re-booting fine?
So what should I choose? :)
#6
Hardware and Performance / which coreboot payload
December 29, 2025, 08:33:52 PM
I want to switch from AMI Bios to coreboot on my Topton N150 box, which is currently running opnsense 25.7 (barebone).

So I am configuring coreboot (v25.12) for my mainboard (Topton ADL: TWL (X2E_N150)) on a fedora box and I am currently stuck at figuring out what payload I should choose.
This is what gpart sais about my nvme disk containing opnsense:
$ gpart show
=>       40  488397088  nda0  GPT  (233G)
         40     532480     1  efi  (260M)
     532520       1024     2  freebsd-boot  (512K)
     533544        984        - free -  (492K)
     534528   16777216     3  freebsd-swap  (8.0G)
   17311744  471085056     4  freebsd-zfs  (225G)
  488396800        328        - free -  (164K)


AFAIK, I can not use seabios payload as it requires an MBR partition...or does it? Do I have one? Maybe it is hidden?
Sorry if this is a stupid question - but when I flash this coreboot.rom I'd REALLY like my router to boot up again... :)
#7
25.1, 25.4 Legacy Series / Re: CPU Temperature
March 20, 2025, 10:00:03 AM
Also the temp values jump around quite a bit (for me on a n150 at least). Just check the sysctl a view times and you may get +/-5°C each time. :)

vvd@mrqu:~ $ cpuinfo
dev.cpu.0.freq: 955
dev.cpu.0.temperature: 48.0C
dev.cpu.1.freq: 1171
dev.cpu.1.temperature: 48.0C
dev.cpu.2.freq: 1389
dev.cpu.2.temperature: 47.0C
dev.cpu.3.freq: 1511
dev.cpu.3.temperature: 47.0C
vvd@mrqu:~ $ cpuinfo
dev.cpu.0.freq: 1876
dev.cpu.0.temperature: 54.0C
dev.cpu.1.freq: 1664
dev.cpu.1.temperature: 53.0C
dev.cpu.2.freq: 1612
dev.cpu.2.temperature: 51.0C
dev.cpu.3.freq: 1612
dev.cpu.3.temperature: 51.0C
vvd@mrqu:~ $
#8
Quote from: jim1985 on March 04, 2025, 03:40:54 PMAh ha. Yes that makes sense.


Will there be a way that you can stop it looking for IPv6, maybe after a short timeout, if it's not available?

Probably not. Then it would stop trying for legitimate ipv6 setups that have a temporary failure.
#9
The serial console spams the login prompt when I initally connect to it (putty). Once I hit enter it stops and I can login and use it normally.
Should I be worried? Anytging I should check? Thanks!
#10
Maybe @franco or another developer can chime in on this. Seems like we have some air for improvement here. :)
#11
Well, when you select multiple targets for a pass rule then there are multiple rules created in the background, one for each target (or source in your case). When you invert the meaning for the target (or source) you basically get an allow all ruleset. Because the second rule passes traffic that the first one did not allow.

I also think that this is an issue.

To not break current rulesets the only solution that I can see is to reflect the fact that there are multiple rules created in the background in the UI (you can have a look at /tmp/rules.debug). Like showing those rules indented and slightly greyed out below the rule. That way you get a hint why it does not work as you may have intended.

I think it is better to keep using aliases for this usecase, as you end up with only one rule.. which results in better lookup performance.

I am not sure if this is a bug. It is certainly not working as you and I expected. But changing the behavior now (like using an automatically created alias) would potentially break existing rulesets... even though that would probably ,,fix" what this feature intends to do, but currently does not? I don't know.
#12
25.1, 25.4 Legacy Series / Re: Confused by snapshots
February 19, 2025, 08:03:06 PM
Maybe there is a developer reading this :)
Anyway, it is always good to have one good, working Boot Environment other than the default, running one!
It's a good safety net, should you mess up
#13
25.1, 25.4 Legacy Series / Re: Confused by snapshots
February 19, 2025, 06:52:56 PM
Why aren't they called boot environments though? Or bootable snapshots?
#14
25.1, 25.4 Legacy Series / Re: My IPv6 ip is not static
February 18, 2025, 09:32:55 PM
Did you set a ,,DHCP Unique Identifier" and enabled ,,Prevent release" in Interfaces->Settings?
For the unique identifier you can use the ,,insert existing DUID" below the input field.

I don't actually know if it will work, but I had the same issue. But since I set the DUID yesterday, I ll get the same prefix after a reboot. Hope it will stay that way...

This explains the DUID: https://datatracker.ietf.org/doc/html/rfc8415
#15
I just got one of those Topton Intel N150 4 port fanless mini PCs from AliExpress to replace my APU2D4 (160 Euros inkl shipping).
I feel I've made a good choice. I've added 16GB DDR5 and a "low power" nvme SSD (WD Green SN350 250GB 2G0C).
I just renamed all occurences of igb to igc in the config.xml and imported it, resetted tunables and added some for RSS and Intel Speed Step or whatever (PowerD is disabled).
So far no issues and a blazing fast web interfcae :)

It doesn't have a BIOS to limit the CPU voltages. But the box is not running hot:
$ sysctl -a |grep temperature
hw.acpi.thermal.tz0.temperature: 27.9C
dev.cpu.3.temperature: 50.0C
dev.cpu.2.temperature: 49.0C
dev.cpu.1.temperature: 47.0C
dev.cpu.0.temperature: 48.0C

You cannot view this attachment.