CWWK/Topton/... Nxxx quad NIC router

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

audit13

Member
Jun 26, 2024
84
24
8
also notice even though i got logging to ram turned on it still writes around 1gb a day to the ssd.
that would be then 365gb a year so even a drive with 10tbw rating will last a decade
I was looking at stats for my opnsense 26.1.2 router and writes are bout 3 GB per 24-hour period. Seems high since I am running a stock opnsense install, DDNS plug-in, Adguard Home plug-n, and oscasionally connect remotely via Wireguard or OpenVPN.

It's been 100% stables with the Optane m10 but the writes seem high. I looked around and 3 GB/day doesn't seem uncommon.
 

Ipse

New Member
Aug 21, 2022
19
8
3
the problems are the chips, i226 have notorious problems with aspm expecially 2.17, also i225 is a pretty shitty chip that intel knows about.

my first take on this was to update the i225 i have on a asus b650 board that has problems with wol not always working but i failed to update (probably because of the subsystem id of asus, i tried to force it unsuccessfully) then i stumbled upon the i226 workaround procedure and tried the update and those worked (updated 7 nics, some 1mb some 2mb variants).

i know aspm is broken on the n100 n305 and n150 (at least the cwwk and aoostar i have) but since the nics are always in use that is not a real issue, but on the last one (a remote dev machine) it actually fixed my wol so thats nice.. all had 2.17 (2 had 2.22), now all are updated to 2.32.

no performance gains, and did not measure consumption differences.
Hey @pigr8 you mentioned that you upgraded an i225 - what config file did you use? I am tempted to upgrade my NICs on the older N5105 with 1.57 on them.
The config requires the device name (I assume it has to match 100%), the device ID (also matching) and of course the bin file name and EEPID.
To be clear, the config is only used to verify that you are using the right firmware...right? It doesn't program any of the other info in NVRAM.
Correct?


PS I think I found the answer


PPS. Holy cr@p, learned the hard way : i225 folder doesn't contain a FreeBSD binary and I don't have Windoze on that machine. I tried to use another FreeBSD updater (despite advice to the contrary from Gemini) and it generated an error on one port, I got scared and read some more.
Gemini recommended UEFI shell (I'm not at all familiar with it) and that was a fiasco even following instructions.
Ended up putting necessary files on a HirenBootCD and used the Windoze executable which ALSO exited with an error but apparently did the job.
"dmesg | grep igc" reports now 1.89 but I'm still cautiously optimistic about success.

Moral of the story....stop scratching that itch, it will bleed in the end.
Also for those entrusting their lives to AI : so many mistakes under the appearance of a documented answer. If I didn't experiment before I would have bricked the NICS.
Caveat emptor.

PPPS. I forgot to mention that surprisingly enough (for a novice like me) there are security updates against attacks in the firmware releases (both i225v and i226v) that are definitely of interest for someone running a firewall connected to the Internet.

Find some details for each version here:
 
Last edited:
  • Like
Reactions: audit13

pigr8

Active Member
Jul 13, 2017
124
141
43
Hey @pigr8 you mentioned that you upgraded an i225 - what config file did you use? I am tempted to upgrade my NICs on the older N5105 with 1.57 on them.
nah i failed to update that i225, it's on an asus strix board and after some attempts i gave up.. i just managed to do the i226 boxes

yeah updating is easy but is probably not necessary unless one has specific issues and want to try this to fix, i'm the first one that wants to update everything without any real gains ahah
 
  • Like
Reactions: Mike9474593

slybunda

Active Member
Jan 30, 2023
210
118
43
I was looking at stats for my opnsense 26.1.2 router and writes are bout 3 GB per 24-hour period. Seems high since I am running a stock opnsense install, DDNS plug-in, Adguard Home plug-n, and oscasionally connect remotely via Wireguard or OpenVPN.

It's been 100% stables with the Optane m10 but the writes seem high. I looked around and 3 GB/day doesn't seem uncommon.
my opnsense sits around 1gb a day on writes. so even at 500gb per year a drive with 60tbw can get what 30 years out of it?
 
  • Like
Reactions: audit13

audit13

Member
Jun 26, 2024
84
24
8
my opnsense sits around 1gb a day on writes. so even at 500gb per year a drive with 60tbw can get what 30 years out of it?
Given the low price of the drive, I'm not too worried about wearing it out although I still haven't been able to figure out what's causing 3 GB of writes per 24 hours.
 

slybunda

Active Member
Jan 30, 2023
210
118
43
i believe for me its caused by crowdsec and zfs itself. hostwatch was causing some writes too but i turned it off. iv got logging set to ram drive but i guess it still puts some stuff to flash.
 

Ipse

New Member
Aug 21, 2022
19
8
3
i believe for me its caused by crowdsec and zfs itself. hostwatch was causing some writes too but i turned it off. iv got logging set to ram drive but i guess it still puts some stuff to flash.
Do share if you find a way to determine what processes are still logging to disk. I'm not too concerned about my system, but like you I'm using a pretty large Ramdisk with writes to NVMe every 24 hrs, so I'm curious what adds up besides that.
My system log is pretty clean, besides some MAC motions (I can't seem to find a way to disable that, despite trying a few tunables) I have maybe 20 entries per day from pfblockerng updates and dyndns.
It should be <20MB but it's over and ONLY after I reinstalled on the Optane M10.

I started poking around using info /commands from this thread. It's an academic exercise in my case

 
Last edited:

TrevorH

Active Member
Oct 25, 2024
148
58
28
My opnsense has written 45GB in the last 18h - I'd blame suricata - which is probably 21TB a year. It's on an Intel S3700 200GB SSD with 10 DWPD, ~3500TB so that'll be used up in about 170 years.
 

slybunda

Active Member
Jan 30, 2023
210
118
43
Do share if you find a way to determine what processes are still logging to disk. I'm not too concerned about my system, but like you I'm using a pretty large Ramdisk with writes to NVMe every 24 hrs, so I'm curious what adds up besides that.
My system log is pretty clean, besides some MAC motions (I can't seem to find a way to disable that, despite trying a few tunables) I have maybe 20 entries per day from pfblockerng updates and dyndns.
It should be <20MB but it's over and ONLY after I reinstalled on the Optane M10.

I started poking around using info /commands from this thread. It's an academic exercise in my case

Check opnsense forums. Iv posted in there and they have the commands to run to bring up the live monitor that shows what's writing to disk
 
  • Like
Reactions: KevinR and Ipse

Ipse

New Member
Aug 21, 2022
19
8
3
This would be a good start to stop ZFS to grind away your disk on pfSense :

vfs.zfs.txg.timeout=120 (or more...it's how often ZFS writes the cached info. Default is 5 seconds). This can be set as a Tunables to be persistent.

zfs set sync=disabled pfSense/tmp
zfs set sync=disabled pfSense/var


Apparently these 2 commands survive a reboot.

There's also another tunable recommended by Gemini ( :p ) that seems to be agreed upon by ZFS crowd.

vfs.zfs.atime=0

This is getting exciting :cool:
 
Last edited:

Ipse

New Member
Aug 21, 2022
19
8
3
nah i failed to update that i225, it's on an asus strix board and after some attempts i gave up.. i just managed to do the i226 boxes

yeah updating is easy but is probably not necessary unless one has specific issues and want to try this to fix, i'm the first one that wants to update everything without any real gains ahah
See my additions to the post above your reply....actually Intel quietly fixes vulnerability attacks in these updates - and they don't advertise it much because of the messy update process.
Hmmm... Naughty Intel at it again. :mad:
 
  • Like
Reactions: audit13

slybunda

Active Member
Jan 30, 2023
210
118
43
This would be a good start to stop ZFS to grind away your disk on pfSense :

vfs.zfs.txg.timeout=120 (or more...it's how often ZFS writes the cached info. Default is 5 seconds). This can be set as a Tunables to be persistent.

zfs set sync=disabled pfSense/tmp
zfs set sync=disabled pfSense/var


Apparently these 2 commands survive a reboot.

There's also another tunable recommended by Gemini ( :p ) that seems to be agreed upon by ZFS crowd.

vfs.zfs.atime=0

This is getting exciting :cool:
found this setting in tunables section in gui of opnsense
1772485834527.png
its already set to 90
 
Last edited:

audit13

Member
Jun 26, 2024
84
24
8
has been since last year
I've never seen a SMART option and I've been running OPNsense since version 21. I always used SSH to see it and definitely didn't see it before 26.1.3.

Edit: my bad. I see it was available as a plug-in
 
Last edited:

drwtsn32

New Member
Mar 9, 2026
1
0
1
I flashed the BIOS on my N100 mini PC with the custom file found in this thread, but I still don't see the "Power & Performance" option. I flashed again to double check that there weren't any errors. I confirmed that my mini PC matched the requirements in this post:

Project Version BK-1264NP Ver 1.5
Build Date 09/28/2023 17:23:35
Version 2.22.1287


Any ideas?
 

slybunda

Active Member
Jan 30, 2023
210
118
43
I've never seen a SMART option and I've been running OPNsense since version 21. I always used SSH to see it and definitely didn't see it before 26.1.3.

Edit: my bad. I see it was available as a plug-in
yes got to install the plugin
 

slybunda

Active Member
Jan 30, 2023
210
118
43
Hey @pigr8 you mentioned that you upgraded an i225 - what config file did you use? I am tempted to upgrade my NICs on the older N5105 with 1.57 on them.
The config requires the device name (I assume it has to match 100%), the device ID (also matching) and of course the bin file name and EEPID.
To be clear, the config is only used to verify that you are using the right firmware...right? It doesn't program any of the other info in NVRAM.
Correct?


PS I think I found the answer


PPS. Holy cr@p, learned the hard way : i225 folder doesn't contain a FreeBSD binary and I don't have Windoze on that machine. I tried to use another FreeBSD updater (despite advice to the contrary from Gemini) and it generated an error on one port, I got scared and read some more.
Gemini recommended UEFI shell (I'm not at all familiar with it) and that was a fiasco even following instructions.
Ended up putting necessary files on a HirenBootCD and used the Windoze executable which ALSO exited with an error but apparently did the job.
"dmesg | grep igc" reports now 1.89 but I'm still cautiously optimistic about success.

Moral of the story....stop scratching that itch, it will bleed in the end.
Also for those entrusting their lives to AI : so many mistakes under the appearance of a documented answer. If I didn't experiment before I would have bricked the NICS.
Caveat emptor.

PPPS. I forgot to mention that surprisingly enough (for a novice like me) there are security updates against attacks in the firmware releases (both i225v and i226v) that are definitely of interest for someone running a firewall connected to the Internet.

Find some details for each version here:
Iv got some time off work next week so will take a look at updating the i226v firmware on my cwwk box. Is it best done through windows?
 

audit13

Member
Jun 26, 2024
84
24
8
Finally had some time to read through this @Ipse post and was able to update my Aliexpress i225 PCIe card in Windows 10. If the cfg file had information for the 1 MB and 2 MB variants, the update would fail. Once I removed information related to the 1 MB variant, the cfg file worked.

Before:

Vendor : 8086
Device : 15F3
Subvendor : 8086
Subdevice : 0000
Revision : 3
LAN MAC : FFFFFFFFFFFF
Alt MAC : FFFFFFFFFFFF
SAN MAC : 000000000000
ETrackId : 8000023F
SerialNumber : 88C9B3FB50308
NVM Version : 1.121(1.79)
PBA : G23456-000
VPD status : Not set
VPD size : 0
NVM update : No config file entry
checksum : Valid
OROM update : No config file entry
CIVD : 0.0.0
PXE : 0.4.9, checksum Valid
EFI : 0.9.3, checksum None

After:

Vendor : 8086
Device : 15F3
Subvendor : 8086
Subdevice : 0001
Revision : 1
LAN MAC : 000000000000
Alt MAC : 000000000000
SAN MAC : 000000000000
ETrackId : 800003BB
SerialNumber : 88C9B3B50308
NVM Version : 1.148(1.94)
PBA : G23456-000
VPD status : Not set
VPD size : 0
NVM update : No config file entry
checksum : Valid
OROM update : No config file entry
CIVD : 0.0.0
PXE : 0.4.9, checksum Valid
EFI : 0.1.5, checksum None